feat: implement event card component and event detail page with mock data rendering

This commit is contained in:
Kevin Satria D
2026-05-20 14:15:03 +07:00
parent a3ae3bfcfe
commit 1914b41941
3 changed files with 225 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ import Navbar from './components/Navbar';
import Footer from './components/Footer';
import Home from './pages/Home';
import AllEvents from './pages/AllEvents';
import EventDetail from './pages/EventDetail';
function ScrollToTop() {
const { pathname } = useLocation();
@@ -26,6 +27,7 @@ function App() {
<Routes>
<Route path="/" element={<Home />} />
<Route path="/events" element={<AllEvents />} />
<Route path="/event/:id" element={<EventDetail />} />
</Routes>
</main>