Skip to content

Commit

Permalink
set up redirect on register
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNotRog committed Dec 18, 2023
1 parent 0483360 commit 0478c54
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/app/register/page.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
import type { Metadata } from 'next';

import { redirect } from 'next/navigation';

export const metadata: Metadata = {
title: 'Register | GunnHacks 9.0'
}

export default function Register() {
return (
<div className="flex justify-center">
<iframe
src="https://docs.google.com/forms/d/e/1FAIpQLSdF_KFH0pH_ryAx3uYglID2ITeXvoTaHfTh2i9YMgnlwLC91A/viewform?usp=sf_link&embedded=true"
className="absolute border-none w-full h-full inset-0 mx-auto"
>
Loading…
</iframe>
</div>
)
redirect("https://docs.google.com/forms/d/e/1FAIpQLSdF_KFH0pH_ryAx3uYglID2ITeXvoTaHfTh2i9YMgnlwLC91A/viewform");
// return (
// <div className="flex justify-center">
// <iframe
// src="https://docs.google.com/forms/d/e/1FAIpQLSdF_KFH0pH_ryAx3uYglID2ITeXvoTaHfTh2i9YMgnlwLC91A/viewform?usp=sf_link&embedded=true"
// className="absolute border-none w-full h-full inset-0 mx-auto"
// >
// Loading…
// </iframe>
// </div>
// )
}

1 comment on commit 0478c54

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for gunnhacks10 ready!

✅ Preview
https://gunnhacks10-5t4z15thu-imnotrog.vercel.app

Built with commit 0478c54.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.