Initial Paprika Next.js implementation
This commit is contained in:
29
app/thanks/page.tsx
Normal file
29
app/thanks/page.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import Link from "next/link";
|
||||
|
||||
export const metadata = {
|
||||
title: "Thank You"
|
||||
};
|
||||
|
||||
export default function ThanksPage({
|
||||
searchParams
|
||||
}: {
|
||||
searchParams: { submission_id?: string };
|
||||
}) {
|
||||
return (
|
||||
<section className="notice">
|
||||
<h2>Thank you. We received your background.</h2>
|
||||
<p>
|
||||
The Paprika team will review your profile and follow up with next steps. If your timeline is
|
||||
urgent, mention that in your reply.
|
||||
</p>
|
||||
{searchParams.submission_id ? (
|
||||
<p className="form-success">Submission ID: {searchParams.submission_id}</p>
|
||||
) : null}
|
||||
<div className="actions">
|
||||
<Link className="button secondary" href="/">
|
||||
Back to Homepage
|
||||
</Link>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user