Implementa revisao de adjudicacoes e navegacao partilhada do SGC

This commit is contained in:
2026-10-28 17:46:59 +02:00
parent 5ff8d78803
commit ff403ea927
28 changed files with 1767 additions and 131 deletions
+4 -1
View File
@@ -1,5 +1,7 @@
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';
@@ -14,8 +16,9 @@ void createInertiaApp({
switch (true) {
case name === 'welcome':
case name === 'home':
case name.startsWith('preview/'):
return null;
case name.startsWith('preview/'):
return (page: ReactNode) => <SgcShell demo>{page}</SgcShell>;
case name.startsWith('auth/'):
return AuthLayout;
case name.startsWith('settings/'):