File tree Expand file tree Collapse file tree 4 files changed +31
-18
lines changed
Expand file tree Collapse file tree 4 files changed +31
-18
lines changed Original file line number Diff line number Diff line change 1+ import Link from 'next/link' ;
2+
13export const Footer = ( ) => {
24 return (
3- < div className = "py-4" >
5+ < div className = "py-4 w-full text-center" >
6+ < div >
7+ < Link className = "text-xs hover:underline" href = "/privacy-policy" >
8+ Privacy Policy
9+ </ Link >
10+ </ div >
411 < p className = "text-xs" > © { new Date ( ) . getFullYear ( ) } Chad Syntax LLC</ p >
512 </ div >
613 ) ;
Original file line number Diff line number Diff line change 1+ import Link from 'next/link' ;
2+ import { ThemeSwitcher } from './theme-switcher' ;
3+
4+ type HeroHeaderProps = {
5+ title ?: string ;
6+ } ;
7+
8+ export const HeroHeader = ( { title = 'Agentsmith' } : HeroHeaderProps ) => {
9+ return (
10+ < div className = "flex justify-between items-center mb-4 md:mb-12" >
11+ < Link href = "/" >
12+ < h2 className = "text-2xl md:text-5xl font-bold" > { title } </ h2 >
13+ </ Link >
14+ < ThemeSwitcher />
15+ </ div >
16+ ) ;
17+ } ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { ThemeSwitcher } from '../theme-switcher';
1010import { useRef , useState } from 'react' ;
1111import { usePostHog } from 'posthog-js/react' ;
1212import Link from 'next/link' ;
13+ import { HeroHeader } from '../HeroHeader' ;
1314
1415type LandingHeroProps = {
1516 withAlphaClub ?: boolean ;
@@ -41,12 +42,7 @@ export const LandingHero = (props: LandingHeroProps) => {
4142
4243 return (
4344 < div className = "mb-16" >
44- < div className = "flex justify-between items-center mb-4 md:mb-12" >
45- < Link href = "/" >
46- < h2 className = "text-2xl md:text-5xl font-bold" > Agentsmith</ h2 >
47- </ Link >
48- < ThemeSwitcher />
49- </ div >
45+ < HeroHeader />
5046 < div className = "flex justify-start items-center md:items-start flex-col lg:flex-row" >
5147 < div className = "flex flex-col" >
5248 < h1 className = "max-w-[400px] md:max-w-none text-5xl md:text-8xl font-bold leading-tight mb-10 leading-[1] md:leading-[90px]" >
Original file line number Diff line number Diff line change 1- import { ThemeSwitcher } from '@/components/theme-switcher ' ;
1+ import { HeroHeader } from '@/components/HeroHeader ' ;
22
33export const PrivacyPolicyPage = ( ) => {
44 return (
55 < main >
6- < article className = "mx-auto px-4 max-w-[1400px] py-16" >
7- < nav
8- className = "flex justify-between items-center"
9- aria-label = "Top navigation"
10- >
11- < h1 className = "text-4xl font-bold mb-6" > Privacy Policy</ h1 >
12- < ThemeSwitcher />
13- </ nav >
14-
6+ < article className = "mx-auto px-4 max-w-[1400px] py-4 md:py-12" >
7+ < HeroHeader />
8+ < h1 className = "text-2xl md:text-4xl font-bold mb-4" > Privacy Policy</ h1 >
159 < div className = "space-y-4" >
1610 < p >
1711 < strong > Last updated:</ strong > 2-7-2025
1812 </ p >
19-
2013 < section aria-label = "Introduction" >
2114 < p className = "pt-6" >
2215 This Privacy Policy describes how Chad Syntax LLC (the
You can’t perform that action at this time.
0 commit comments