Skip to content

Commit

Permalink
Waiver as doc and text on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
avsomers25 committed Oct 15, 2024
1 parent e96301e commit 236a5f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/dashboard/components/profileHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ export default function ProfileHeader(props: {
<>
{waiverState && (<p className="text-xs italic text-green-500 mt-2">{"Waiver Uploaded"}</p>)}
<div className="flex flex-row items-center justify-center">
<a className="underline" href="waiver.pdf" rel="noopener noreferrer" target="_blank">Click here for the waiver</a>
<p>Click
<a className="hover:underline" href="waiver.pdf" rel="noopener noreferrer" target="_blank"> PDF</a>/
<a className="hover:underline" href="https://docs.google.com/document/d/10lLW1txoODd2ZVVNkj5mPeOYJWQ8_WflHi6cwo5I_b8/copy" rel="noopener noreferrer" target="_blank">DOC </a>
for waiver
</p>
<input
className="ml-auto mr-0"
type="file"
Expand Down
3 changes: 2 additions & 1 deletion app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ export default function Dashboard() {
<div className="flex flex-row items-center justify-center">
<div className='flex flex-col'>
<CardTitle>Profile</CardTitle>
<CardDescription>Update your profile information.</CardDescription>
<CardDescription>Update your profile information. * fields are required</CardDescription>
</div>
<Button type="submit" className="ml-auto">
{savingUserProfile ? "Saving..." : userProfileSubmitText}
Expand Down Expand Up @@ -819,6 +819,7 @@ export default function Dashboard() {
{savingUserProfile ? "Saving..." : userProfileSubmitText}
</Button>
</CardFooter>
{(userData.registration_status == "unregistered") && <p className='p-3'>Make to register at the top after saving your profile!</p>}
</form>
</Card>

Expand Down

0 comments on commit 236a5f3

Please sign in to comment.