Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export default function MentorInvitesPanel() {
Send a Tito invite to a single mentor by entering their details
below.
</p>
<p className="text-sm text-red-500">
Note: This template includes Mentor Orientation materials.
</p>
<MentorSingleInviteForm rsvpLists={rsvpLists} releases={releases} />
</div>
) : (
Expand All @@ -87,6 +90,9 @@ export default function MentorInvitesPanel() {
</span>{' '}
to send Tito invites to multiple mentors at once.
</p>
<p className="text-sm text-red-500">
Note: This template includes Mentor Orientation materials.
</p>
<MentorBulkInviteForm rsvpLists={rsvpLists} releases={releases} />
</div>
)}
Expand Down
15 changes: 15 additions & 0 deletions app/(pages)/admin/invites/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use client';

import { useState } from 'react';
import Link from 'next/link';
import JudgeSingleInviteForm from '../_components/JudgeInvites/JudgeSingleInviteForm';
import JudgeBulkInviteForm from '../_components/JudgeInvites/JudgeBulkInviteForm';
import MentorInvitesPanel from '../_components/MentorInvites/MentorInvitesPanel';
Expand Down Expand Up @@ -40,6 +41,13 @@ export default function InvitesPage() {
Send a HackDavis Hub invite to a single judge by entering their
details below.
</p>
<p className="text-sm text-red-500">
Note: This template includes Judge Orientation materials. Navigate{' '}
<Link href="/admin/emergency-invites" className="underline">
here
</Link>{' '}
for one-time invites.
</p>
<JudgeSingleInviteForm />
</section>

Expand All @@ -54,6 +62,13 @@ export default function InvitesPage() {
</span>{' '}
to send Hub invites to multiple judges at once.
</p>
<p className="text-sm text-red-500">
Note: This template includes Judge Orientation materials. Navigate{' '}
<Link href="/admin/emergency-invites" className="underline">
here
</Link>{' '}
for one-time invites.
</p>
<JudgeBulkInviteForm />
</section>
</div>
Expand Down
12 changes: 6 additions & 6 deletions app/(pages)/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const action_links = [
},
{
href: '/admin/score',
body: 'Score and Shortlist',
body: 'Shortlisted Teams',
},
{
href: '/admin/panels',
Expand All @@ -27,16 +27,16 @@ const action_links = [
},
{
href: '/admin/emergency-invites',
body: 'Emergency Invites (hackers & judges)',
body: 'One-Time Invites',
},
{
href: '/admin/randomize-projects',
body: 'Randomize Projects',
},
{
href: '/admin/announcements',
body: 'Announcements',
},
// {
// href: '/admin/announcements',
// body: 'Announcements',
// },
];

const data_links = [
Expand Down
Loading