feat: Enhance Guest Frontend with new features and UI improvements

This commit is contained in:
2025-09-09 21:22:44 +02:00
parent e3423a7da5
commit 81958899a6
5 changed files with 141 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ import { useParams, Link } from 'react-router-dom';
import { usePollStats } from '../polling/usePollStats';
import { Card, CardContent } from '@/components/ui/card';
import { Button } from '@/components/ui/button';
import GalleryPreview from '../components/GalleryPreview';
export default function HomePage() {
const { slug } = useParams();
@@ -27,7 +28,7 @@ export default function HomePage() {
<Link to="upload"><Button>Einfach ein Foto machen</Button></Link>
</div>
<div className="h-4" />
<Link to="gallery" className="underline">Zur Galerie</Link>
<GalleryPreview slug={slug!} />
</Page>
);
}