irongit

move header to layout

huncholanehuncholaneauthored
parent 307286bcommit f63b6fc8ada18ef52059433736ee7aa5bcc5d9afBrowse files

4 files changed, +3 -3

+2-0twench_landing_page/app/layout.tsx
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
22 import localFont from "next/font/local";
33 import "./globals.css";
44 import Footer from "@/components/Footer";
5+import Header from "@/components/Header";
56
67 const pixellari = localFont({
78 src: "./fonts/Pixellari.ttf",
@@ -22,6 +23,7 @@ export default function RootLayout({
2223 return (
2324 <html lang="en">
2425 <body className={`${pixellari.className} antialiased`}>
26+ <Header />
2527 {children}
2628 <Footer />
2729 </body>
+0-1twench_landing_page/app/page.tsx
@@ -12,7 +12,6 @@ import VideoSection from "@/components/VideoSection";
1212 export default function Home() {
1313 return (
1414 <div>
15- <Header />
1615 <LandingSection />
1716 <Banner />
1817 <MotivationSection />
+1-1twench_landing_page/app/privacy/page.tsx
@@ -3,7 +3,7 @@ import "./style.css";
33
44 const PrivacyPolicy: React.FC = () => {
55 return (
6- <div className="privacy-policy">
6+ <div className="privacy-policy mt-28 mx-auto">
77 <h1>TwenchRun Privacy Policy</h1>
88 <p>Effective Date: 10/27/24</p>
99
+0-1twench_landing_page/app/privacy/style.css
@@ -9,7 +9,6 @@ body {
99
1010 .privacy-policy {
1111 max-width: 800px;
12- margin: 0 auto;
1312 padding: 20px;
1413 background-color: #fff;
1514 box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);