Skip to content

Commit

Permalink
link login
Browse files Browse the repository at this point in the history
  • Loading branch information
mahekagg committed Apr 18, 2024
1 parent 29236aa commit ca1a200
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<Route path="/success" element={<SuccessPage />} />
<Route path="/volunteer" element={<VolunteerPage />} />
<Route path="/volunteer/my-adopted-gi" element={<MyAdoptedGIPage />} />
<Route path="/login" element={<LoginPage />} />
</Routes>
</BrowserRouter>
</QueryClientProvider>
Expand Down
3 changes: 3 additions & 0 deletions apps/frontend/src/pages/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ import c4cLogo from '../images/logos/c4cLogo.png';
import profileLogo from '../images/logos/profileLogo.png';
import cityOfBostonLogo from '../images/logos/cityOfBostonLogo.png';
import SignupPopup from '../components/volunteer/signup/SignupPopup';
import { Link } from 'react-router-dom';

function Navbar() {
const [selected, setSelected] = useState(false);
const [showSignupPopup, setShowSignupPopup] = useState(false);
const [showSidePanel, setShowSidePanel] = useState(false);


const openSignupPopup = () => {
setShowSignupPopup(true);
};
Expand Down Expand Up @@ -73,6 +75,7 @@ function Navbar() {
>
SIGN UP
</button>
<Link to="/login" style={{ textDecoration: 'none' }}></Link>
<button
style={{
font: 'Montserrat',
Expand Down

0 comments on commit ca1a200

Please sign in to comment.