import {Routes,Route} from 'react-router-dom';import HomePage from './pages/HomePage';import LoginPage from './pages/LoginPage';import SignupPage from './pages/SignupPage';import ActivatePage from './pages/ActivatePage';import PortalLayout from './layouts/PortalLayout';import ProtectedRoute from './components/ProtectedRoute';import DashboardPage from './pages/DashboardPage';import ProfilePage from './pages/ProfilePage';import ForumPage from './pages/ForumPage';import {AttendancePage,DirectoryPage,MediaPage,GivingPage} from './pages/CommunityPages';
export default function App(){return <Routes><Route path="/" element={<HomePage/>}/><Route path="/login" element={<LoginPage/>}/><Route path="/activate" element={<ActivatePage/>}/><Route path="/signup" element={<SignupPage/>}/><Route path="/portal" element={<ProtectedRoute><PortalLayout/></ProtectedRoute>}><Route index element={<DashboardPage/>}/><Route path="forum" element={<ForumPage/>}/><Route path="give" element={<GivingPage/>}/><Route path="attendance" element={<AttendancePage/>}/><Route path="media" element={<MediaPage/>}/><Route path="directory" element={<DirectoryPage/>}/><Route path="profile" element={<ProfilePage/>}/></Route></Routes>}
