Galerie aller shadcn/ui-Komponenten auf der Startseite
- Alle 63 Komponenten aus dem shadcn-Register installiert (Stil base-luma) - Galerie unter components/galerie mit 7 Kategorien und Sprungnavigation - Inhaltsbreite auf max-w-6xl erweitert - shadcn-Hauptfarbe auf E&P-Tiefblau, größter Radius eckig - App-Titel "UI-Galerie" Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
57d65f0f08
commit
78c8b702f0
79 files changed
+11234
-14
No files matched your search
@@ -1,17 +1,21 @@
|
||||
import { Galerie } from "@/components/galerie/galerie";
|
||||
import { Card, CardContent, CardHeader } from "@/components/ui/card";
|
||||
import { APP_BESCHREIBUNG, APP_TITEL } from "@/lib/app";
|
||||
|
||||
// Startseite im E&P-Layout. Kopf und Fuß kommen aus app/layout.tsx,
|
||||
// Farben und Bausteine (ep-karte, ep-ueberschrift, …) aus @ep/ui/theme.css.
|
||||
// Startseite im E&P-Layout mit der Galerie aller shadcn/ui-Komponenten.
|
||||
// Kopf und Fuß kommen aus app/layout.tsx, Farben und Bausteine (ep-karte, ep-ueberschrift, …) aus @ep/ui/theme.css.
|
||||
export default function Home() {
|
||||
return (
|
||||
<Card className="ep-karte rounded-none shadow-none ring-0">
|
||||
<CardHeader className="px-0">
|
||||
<h1 className="ep-ueberschrift text-3xl">{APP_TITEL}</h1>
|
||||
</CardHeader>
|
||||
<CardContent className="px-0">
|
||||
<p className="text-ink-muted">{APP_BESCHREIBUNG}</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<>
|
||||
<Card className="ep-karte mb-10 rounded-none shadow-none ring-0">
|
||||
<CardHeader className="px-0">
|
||||
<h1 className="ep-ueberschrift text-3xl">{APP_TITEL}</h1>
|
||||
</CardHeader>
|
||||
<CardContent className="px-0">
|
||||
<p className="text-ink-muted">{APP_BESCHREIBUNG}</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Galerie />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user