feat: add landing homepage with hero section and feature showcase

Create new HomePage component with:
- Hero section with CTAs for registration and login
- Features showcase highlighting WebRTC, matching, chat, security
- How it works section with 3-step process
- CTA section and footer with links
- Responsive design with gradient backgrounds

Update routing to show HomePage at / instead of redirecting to /events
This commit is contained in:
Radosław Gierwiało
2025-11-15 16:36:55 +01:00
parent 45a648b564
commit 6086589f89
2 changed files with 310 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
import { AuthProvider, useAuth } from './contexts/AuthContext';
import HomePage from './pages/HomePage';
import LoginPage from './pages/LoginPage';
import RegisterPage from './pages/RegisterPage';
import VerifyEmailPage from './pages/VerifyEmailPage';
@@ -160,7 +161,7 @@ function App() {
}
/>
{/* Public Profile - must be before default redirect */}
{/* Public Profile - must be before home route */}
<Route
path="/:username"
element={
@@ -170,8 +171,8 @@ function App() {
}
/>
{/* Default redirect */}
<Route path="/" element={<Navigate to="/events" replace />} />
{/* Home Page */}
<Route path="/" element={<HomePage />} />
</Routes>
</AuthProvider>
</BrowserRouter>