Enhance routing and layout for site-specific pages. Added support for dynamic site routes, updated component imports, and improved layout styles for fullscreen display. Refactored navigation to utilize site data for dynamic button generation.
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m0s

This commit is contained in:
eewing
2026-02-18 15:33:46 -06:00
parent ec317eb17c
commit 1f14c6d422
19 changed files with 185 additions and 45 deletions
+6 -5
View File
@@ -27,18 +27,19 @@ export {};
declare module "$app/types" {
export interface AppTypes {
RouteId(): "/" | "/api" | "/api/darkmode" | "/login" | "/logout";
RouteId(): "/" | "/api" | "/api/darkmode" | "/login" | "/logout" | "/[site]";
RouteParams(): {
"/[site]": { site: string }
};
LayoutParams(): {
"/": Record<string, never>;
"/": { site?: string };
"/api": Record<string, never>;
"/api/darkmode": Record<string, never>;
"/login": Record<string, never>;
"/logout": Record<string, never>
"/logout": Record<string, never>;
"/[site]": { site: string }
};
Pathname(): "/" | "/api/darkmode" | "/login" | "/logout";
Pathname(): "/" | "/api/darkmode" | "/login" | "/logout" | `/${string}` & {};
ResolvedPathname(): `${"" | `/${string}`}${ReturnType<AppTypes['Pathname']>}`;
Asset(): string & {};
}