Skip to content

Commit

Permalink
Update aliases for Project Teams registration form
Browse files Browse the repository at this point in the history
- Use `/project-teams/registration` as primary link
- Maintain redirect for old `/ptsignup` link
- Add another alias for `/pt-registration`
  • Loading branch information
taesungh committed Jan 3, 2024
1 parent f02d11a commit 82350ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 8 additions & 4 deletions src/app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,16 @@ function App() {
{/* Leaving this redirect here since that link is posted on our insta */}
<Route path="impact22" element={<Redirect to="/designathon/22" />} />
<Route
path="ptsignup"
element={<Redirect to={PROJECT_TEAMS_GOOGLE_FORM} />}
path="/ptsignup"
element={<Navigate to="/project-teams/registration" replace={true} />}
/>
<Route
path="/pt-registration"
element={<Navigate to="/project-teams/registration" replace={true} />}
/>
<Route
path="ptsignups"
element={<Navigate to="/ptsignup" replace={true} />}
path="/project-teams/registration"
element={<Redirect to={PROJECT_TEAMS_GOOGLE_FORM} />}
/>
{/* <Route
path='buy'
Expand Down
6 changes: 3 additions & 3 deletions src/app/pages/ProjectTeams/ProjectTeams.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ function ProjectTeams() {
<Text className='color gray'>
To participate, complete the{' '}
<Text className='color blue'>
<a
href={PROJECT_TEAMS_GOOGLE_FORM}
<Link
to="registration"
target='_blank'
rel='noopener noreferrer'
>
project teams registration form
</a>
</Link>
</Text>{" "}
by {REGISTRATION_DEADLINE}.
</Text>
Expand Down

0 comments on commit 82350ba

Please sign in to comment.