feat: Enhance Guest Frontend with new features and UI improvements
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user