Refactor Home and Preview pages for improved data handling and UI components

- Updated Home.svelte to streamline app data initialization and reactivity.
- Removed unnecessary intervals and checks for app data updates.
- Enhanced data binding for logos, view modes, and themes.
- Simplified the structure of the Header and Footer components.
- Introduced CardList and CardSquare components for better logo display.
- Improved routing with a NotFound page for unmatched routes.
- Added a RouteHeader component for search functionality and theme switching.
- Enhanced styling for better user experience across components.
This commit is contained in:
sha
2025-05-16 02:24:04 +03:00
parent 802bdedf53
commit 5d1bae8008
13 changed files with 993 additions and 851 deletions
+5 -2
View File
@@ -1,8 +1,11 @@
// Import pages for routing
import Home from './pages/Home.svelte';
import Preview from './pages/Preview.svelte';
import NotFound from './pages/NotFound.svelte';
// Define all routes for the application
// Define routes
export const routes = {
'/': Home,
'/preview/:id': Preview
'/preview/:logoName': Preview,
'*': NotFound
};