"use client" import { useState } from "react" import { Navigation } from "../components/Navigation" import { HomePage } from "../components/HomePage" import { RegistrationPage } from "../components/RegistrationPage" import { CalendarPage } from "../components/CalendarPage" import { InfoPage } from "../components/InfoPage" import { ChatBotToggle } from "../components/ChatBotToggle" export default function Page() { const [currentPage, setCurrentPage] = useState("home") const renderPage = () => { switch (currentPage) { case "home": return case "registration": return case "calendar": return case "info": return default: return } } return (
{renderPage()}
) }