Skip to content

Commit 794c9e1

Browse files
author
Chad $yntax
committed
Added Privacy Policy Page - removed deprecated <link> tags, rely on nextjs fs.
1 parent d9fafc8 commit 794c9e1

File tree

9 files changed

+566
-21
lines changed

9 files changed

+566
-21
lines changed
File renamed without changes.
File renamed without changes.

app/layout.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { ThemeProvider } from 'next-themes';
44
import { GoogleAnalytics } from '@next/third-parties/google';
55
import { Footer } from '@/components/Footer';
66
import { PostHogProvider } from './providers/posthog';
7-
import Head from 'next/head';
87

98
const defaultUrl =
109
process.env.VERCEL_ENV === 'production'
@@ -34,26 +33,6 @@ export default function RootLayout(props: RootLayoutProps) {
3433

3534
return (
3635
<html lang="en" className={robotoMono.className} suppressHydrationWarning>
37-
<Head>
38-
<link
39-
rel="apple-touch-icon"
40-
sizes="180x180"
41-
href="/apple-touch-icon.png"
42-
/>
43-
<link
44-
rel="icon"
45-
type="image/png"
46-
sizes="32x32"
47-
href="/favicon-32x32.png"
48-
/>
49-
<link
50-
rel="icon"
51-
type="image/png"
52-
sizes="16x16"
53-
href="/favicon-16x16.png"
54-
/>
55-
<link rel="manifest" href="/site.webmanifest" />
56-
</Head>
5736
<PostHogProvider>
5837
<GoogleAnalytics gaId="G-PZG86YG9ZZ" />
5938
<body className="bg-background text-foreground">

app/privacy-policy/page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { PrivacyPolicyPage } from '@/page-components/PrivacyPolicyPage';
2+
3+
export default function PrivacyPolicy() {
4+
return <PrivacyPolicyPage />;
5+
}

page-components/PrivacyPolicyPage.tsx

Lines changed: 560 additions & 0 deletions
Large diffs are not rendered by default.

public/favicon-16x16.png

-394 Bytes
Binary file not shown.

tailwind.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const config = {
55
content: [
66
'./pages/**/*.{ts,tsx}',
77
'./components/**/*.{ts,tsx}',
8+
'./page-components/**/*.{ts,tsx}',
89
'./app/**/*.{ts,tsx}',
910
'./src/**/*.{ts,tsx}',
1011
],

0 commit comments

Comments
 (0)