commit9
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-30 20:02:30 +02:00
parent 6d14b4e6f0
commit c6373365bf
225 changed files with 15365 additions and 285 deletions
+3 -3
View File
@@ -1,12 +1,11 @@
import { createInertiaApp } from '@inertiajs/react';
import type { ReactNode } from 'react';
import { Toaster } from '@/components/ui/sonner';
import { SgcShell } from '@/components/sgc-shell';
import { TooltipProvider } from '@/components/ui/tooltip';
import { initializeTheme } from '@/hooks/use-appearance';
import AppLayout from '@/layouts/app-layout';
import AuthLayout from '@/layouts/auth-layout';
import SettingsLayout from '@/layouts/settings/layout';
import PreviewLayout from '@/layouts/preview-layout';
const appName = 'SGC';
@@ -16,9 +15,10 @@ void createInertiaApp({
switch (true) {
case name === 'welcome':
case name === 'home':
case name.startsWith('candidate/'):
return null;
case name.startsWith('preview/'):
return (page: ReactNode) => <SgcShell demo>{page}</SgcShell>;
return PreviewLayout;
case name.startsWith('auth/'):
return AuthLayout;
case name.startsWith('settings/'):