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

@@ -13,7 +13,8 @@ function TabLink({ to, children }: { to: string; children: React.ReactNode }) {
export default function BottomNav() {
const { slug } = useParams();
const base = `/e/${encodeURIComponent(slug ?? 'demo')}`;
if (!slug) return null; // Only show bottom nav within event context
const base = `/e/${encodeURIComponent(slug)}`;
return (
<div className="fixed inset-x-0 bottom-0 z-20 border-t bg-white/90 px-3 py-2 backdrop-blur dark:bg-black/40">
<div className="mx-auto flex max-w-md items-center justify-between">