mirror of
https://github.com/shadoll/sLogos.git
synced 2026-08-28 11:33:29 +00:00
- 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.
12 lines
269 B
JavaScript
12 lines
269 B
JavaScript
// Import pages for routing
|
|
import Home from './pages/Home.svelte';
|
|
import Preview from './pages/Preview.svelte';
|
|
import NotFound from './pages/NotFound.svelte';
|
|
|
|
// Define routes
|
|
export const routes = {
|
|
'/': Home,
|
|
'/preview/:logoName': Preview,
|
|
'*': NotFound
|
|
};
|