1
0

feat: Integrate
All checks were successful
Remote Deploy / deploy (push) Successful in 36s

This commit is contained in:
2026-02-12 18:08:15 +01:00
parent cea8cdf4ee
commit e9ea35a064
13 changed files with 209 additions and 68 deletions

View File

@@ -3,10 +3,8 @@ import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "@/components/theme-provider";
import { Toaster } from "@/components/ui/sonner";
import { AlertTriangle, InfoIcon, Menu } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { SiteHeader } from "@/components/site-header";
import { InfoIcon } from 'lucide-react';
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
const geistSans = Geist({
@@ -40,32 +38,17 @@ export default function RootLayout({
disableTransitionOnChange
>
<div className="flex flex-col min-h-screen">
<header className="sticky top-0 z-20 flex items-center justify-between px-4 py-3 border-b bg-background">
<div className="flex items-center gap-3">
<Button variant="ghost" size="icon" className="md:hidden">
<Menu className="h-5 w-5" />
</Button>
<h1 className="text-lg font-semibold">
Mimořádný rozvrh
</h1>
</div>
<div className="flex items-center gap-2">
<Button variant="ghost" size="icon" title="Nahlásit chybu">
<AlertTriangle className="h-5 w-5 text-amber-500" />
<span className="sr-only">Nahlásit chybu</span>
</Button>
</div>
</header>
<div className="w-full flex justify-center pt-8">
<Alert className="max-w-100">
<InfoIcon />
<AlertTitle>Pozor!</AlertTitle>
<AlertDescription>
Tento web není oficiální a není jakkoliv spojen se SPŠE Ječná.
</AlertDescription>
</Alert>
</div>
<SiteHeader />
{children}
<div className="w-full flex justify-center pt-4 pb-8">
<Alert className="max-w-100 mx-auto">
<InfoIcon />
<AlertTitle>Pozor!</AlertTitle>
<AlertDescription>
Tento web není oficiální a není jakkoliv spojen se SPŠE Ječná.
</AlertDescription>
</Alert>
</div>
<footer className="text-center text-xs text-white/70 pb-4">
&copy; 2026{" "}
<a href="https://jzitnik.dev" target="_blank" className="underline hover:text-white/90">Jakub Žitník</a>{" "}