Skip to content

Commit

Permalink
remaining interview route group and layout
Browse files Browse the repository at this point in the history
  • Loading branch information
buckhalt committed Jun 6, 2024
1 parent c6fb90d commit e1bbe36
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
8 changes: 8 additions & 0 deletions app/(interview)/interview/finished/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default function InterviewCompleted() {
return (
<div>
<h1>Thank you for participating</h1>
<p>Your interview has been successfully completed.</p>
</div>
);
}
5 changes: 5 additions & 0 deletions app/(interview)/interview/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function InterviewLayout({ children }: { children: React.ReactNode }) {
return <main>{children}</main>;
}

export default InterviewLayout;
11 changes: 11 additions & 0 deletions app/(interview)/onboard/no-anonymous-recruitment/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default function NoAnonymousRecruitmentPage() {
return (
<div>
<h1>Anonymous Recruitment Disabled</h1>
<p>
Anonymous recruitment is disabled for this study. Researchers may
optionally enable anonymous recruitment from the dashboard
</p>
</div>
);
}
4 changes: 2 additions & 2 deletions app/[org]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ type OrganizationLayoutProps = {
const OrganizationLayout = ({ children, params }: OrganizationLayoutProps) => {
const { org: orgSlug } = params;
return (
<>
<main>
<div className="flex flex-row space-x-4 px-4 pt-4 text-lg">
<Link href={`/`}>Studio</Link>
<Link href={`/${orgSlug}`}>Org Dashboard</Link>
<Link href={`/${orgSlug}/settings`}>Org Settings</Link>
</div>
{children}
</>
</main>
);
};

Expand Down

0 comments on commit e1bbe36

Please sign in to comment.