Initial Paprika Next.js implementation
This commit is contained in:
44
app/layout.tsx
Normal file
44
app/layout.tsx
Normal file
@@ -0,0 +1,44 @@
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import { SiteHeader } from "@/components/SiteHeader";
|
||||
import "./globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || "https://paprikalaw.com"),
|
||||
title: {
|
||||
default: "Paprika",
|
||||
template: "Paprika - %s"
|
||||
},
|
||||
description:
|
||||
"Attorney-curated evidence building for O-1 talent through press, judging opportunities, scholarly articles, and documented profile strategy.",
|
||||
openGraph: {
|
||||
title: "Paprika",
|
||||
description:
|
||||
"Attorney-curated evidence building for O-1 talent through press, judging opportunities, scholarly articles, and documented profile strategy.",
|
||||
url: "/",
|
||||
siteName: "Paprika",
|
||||
type: "website"
|
||||
}
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<SiteHeader />
|
||||
<main>{children}</main>
|
||||
<footer>
|
||||
<div className="footer-links">
|
||||
<Link href="/why">About</Link>
|
||||
<Link href="/faq">FAQ</Link>
|
||||
<Link href="/terms">Terms</Link>
|
||||
<Link href="/privacy">Privacy</Link>
|
||||
<Link href="/disclaimer">Disclaimer</Link>
|
||||
</div>
|
||||
<div>Paprika is not a law firm and does not provide legal advice or immigration representation.</div>
|
||||
<div>Use of our services does not create an attorney-client relationship.</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user