Skip to content

Commit

Permalink
Merge pull request #41 from HackAtUCI/feature-add-apply-link
Browse files Browse the repository at this point in the history
Feature add apply link
  • Loading branch information
samderanova authored Oct 4, 2023
2 parents 157b329 + 80b1ec1 commit 9e95759
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions apps/site/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ const nextConfig = {
sassOptions: {
includePaths: [path.join(__dirname, "src", "lib", "styles")],
},
async redirects() {
return [
{
source: "/apply",
destination: "https://forms.gle/nxRU44y9Gd5mrmXUA",
permanent: true,
},
{
source: "/mentor",
destination: "https://forms.gle/fwWJtsQ3GXQFGjS47",
permanent: true,
},
];
},
};

module.exports = nextConfig;
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ export default function ApplyButton() {
return (
<Button
className={styles.applyButton}
href="https://hack.ics.uci.edu/" // TODO: Change to application site link
href="/apply"
variant=""
target="_blank"
>
<div>Apply</div>
</Button>
Expand Down

0 comments on commit 9e95759

Please sign in to comment.