move header to layout
4 files changed, +3 -3
+2-0twench_landing_page/app/layout.tsx
| @@ -2,6 +2,7 @@ import type { Metadata } from "next"; | ||
| 2 | 2 | import localFont from "next/font/local"; |
| 3 | 3 | import "./globals.css"; |
| 4 | 4 | import Footer from "@/components/Footer"; |
| 5 | +import Header from "@/components/Header"; | |
| 5 | 6 | |
| 6 | 7 | const pixellari = localFont({ |
| 7 | 8 | src: "./fonts/Pixellari.ttf", |
| @@ -22,6 +23,7 @@ export default function RootLayout({ | ||
| 22 | 23 | return ( |
| 23 | 24 | <html lang="en"> |
| 24 | 25 | <body className={`${pixellari.className} antialiased`}> |
| 26 | + <Header /> | |
| 25 | 27 | {children} |
| 26 | 28 | <Footer /> |
| 27 | 29 | </body> |
+0-1twench_landing_page/app/page.tsx
| @@ -12,7 +12,6 @@ import VideoSection from "@/components/VideoSection"; | ||
| 12 | 12 | export default function Home() { |
| 13 | 13 | return ( |
| 14 | 14 | <div> |
| 15 | - <Header /> | |
| 16 | 15 | <LandingSection /> |
| 17 | 16 | <Banner /> |
| 18 | 17 | <MotivationSection /> |
+1-1twench_landing_page/app/privacy/page.tsx
| @@ -3,7 +3,7 @@ import "./style.css"; | ||
| 3 | 3 | |
| 4 | 4 | const PrivacyPolicy: React.FC = () => { |
| 5 | 5 | return ( |
| 6 | - <div className="privacy-policy"> | |
| 6 | + <div className="privacy-policy mt-28 mx-auto"> | |
| 7 | 7 | <h1>TwenchRun Privacy Policy</h1> |
| 8 | 8 | <p>Effective Date: 10/27/24</p> |
| 9 | 9 |
+0-1twench_landing_page/app/privacy/style.css
| @@ -9,7 +9,6 @@ body { | ||
| 9 | 9 | |
| 10 | 10 | .privacy-policy { |
| 11 | 11 | max-width: 800px; |
| 12 | - margin: 0 auto; | |
| 13 | 12 | padding: 20px; |
| 14 | 13 | background-color: #fff; |
| 15 | 14 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |