Implement logo preloading on page load and enhance branding image display with fade-in effect

This commit is contained in:
PEDZEO
2026-01-19 23:36:05 +03:00
parent 19842d39e6
commit 0039a8a9b3
4 changed files with 82 additions and 57 deletions

View File

@@ -5,9 +5,13 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import App from './App'
import { ThemeColorsProvider } from './providers/ThemeColorsProvider'
import { ToastProvider } from './components/Toast'
import { initLogoPreload } from './api/branding'
import './i18n'
import './styles/globals.css'
// Preload logo from cache immediately on page load
initLogoPreload()
const queryClient = new QueryClient({
defaultOptions: {
queries: {