Refactor footer into reusable component
- Create Footer component with consistent styling and angrymichigander.com link - Replace inline footers in all pages (home, long-story, gallery) with Footer component - Ensure consistent footer content across the entire site - Add proper link styling with hover effects and security attributes
This commit is contained in:
parent
563aa2efab
commit
b7bcc6e69b
4 changed files with 42 additions and 78 deletions
|
@ -3,6 +3,7 @@ import type { Metadata } from 'next';
|
|||
import { Button } from '@/components/ui/button';
|
||||
import Link from 'next/link';
|
||||
import { ExternalLink } from 'lucide-react';
|
||||
import { Footer } from '@/components/Footer';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Video Gallery - Community Coverage of Chelsea Smallwood",
|
||||
|
@ -130,29 +131,7 @@ export default async function GalleryPage() {
|
|||
</div>
|
||||
</main>
|
||||
|
||||
<footer className="text-center py-6 text-sm text-muted-foreground">
|
||||
<div className="container mx-auto">
|
||||
<p>
|
||||
This website, cheatingchelsea.com, is dedicated to raising
|
||||
awareness and supporting the victims.
|
||||
</p>
|
||||
<p>
|
||||
For questions, comments, or concerns, please email:{' '}
|
||||
<a
|
||||
href="mailto:notacheater@cheatingchelsea.com"
|
||||
className="text-primary hover:underline"
|
||||
>
|
||||
notacheater@cheatingchelsea.com
|
||||
</a>
|
||||
</p>
|
||||
<p className="mt-4 italic">
|
||||
Disclaimer: This website is independently operated by a snarky
|
||||
Michigander and is not affiliated with or endorsed by Kristen
|
||||
Jacobs.
|
||||
</p>
|
||||
<p className="mt-2">© 2025 Cheating Chelsea Exposed. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -4,10 +4,11 @@ import { Button } from '@/components/ui/button';
|
|||
import {
|
||||
Card,
|
||||
CardContent,
|
||||
CardHeader
|
||||
CardDescription,
|
||||
CardHeader,
|
||||
} from '@/components/ui/card';
|
||||
import Link from 'next/link';
|
||||
|
||||
import { Footer } from '@/components/Footer';
|
||||
export const metadata: Metadata = {
|
||||
title: "The Full Story: Chelsea Smallwood's Controversial Empire",
|
||||
description: "A deep dive into how Chelsea Smallwood built a business on monetizing infidelity, the controversy surrounding 'The Other Woman and the Wife,' and the serious allegations of cyberbullying and harassment in the Kristen Jacobs lawsuit.",
|
||||
|
@ -202,29 +203,7 @@ export default function LongStoryPage() {
|
|||
</div>
|
||||
</main>
|
||||
|
||||
<footer className="text-center py-6 text-sm text-muted-foreground">
|
||||
<div className="container mx-auto">
|
||||
<p>
|
||||
This website, cheatingchelsea.com, is dedicated to raising
|
||||
awareness and supporting the victims.
|
||||
</p>
|
||||
<p>
|
||||
For questions, comments, or concerns, please email:{' '}
|
||||
<a
|
||||
href="mailto:notacheater@cheatingchelsea.com"
|
||||
className="text-primary hover:underline"
|
||||
>
|
||||
notacheater@cheatingchelsea.com
|
||||
</a>
|
||||
</p>
|
||||
<p className="mt-4 italic">
|
||||
Disclaimer: This website is independently operated by a snarky
|
||||
Michigander and is not affiliated with or endorsed by Kristen
|
||||
Jacobs.
|
||||
</p>
|
||||
<p className="mt-2">© 2025 Cheating Chelsea Exposed. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ import {
|
|||
CardHeader,
|
||||
} from '@/components/ui/card';
|
||||
import Link from 'next/link';
|
||||
import { Footer } from '@/components/Footer';
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
|
@ -176,36 +177,7 @@ export default function Home() {
|
|||
</div>
|
||||
</main>
|
||||
|
||||
<footer className="text-center py-6 text-sm text-muted-foreground">
|
||||
<div className="container mx-auto">
|
||||
<p>
|
||||
This website, cheatingchelsea.com, is dedicated to raising
|
||||
awareness and supporting the victims.
|
||||
</p>
|
||||
<p>
|
||||
For questions, comments, or concerns, please email:{' '}
|
||||
<a
|
||||
href="mailto:notacheater@cheatingchelsea.com"
|
||||
className="text-primary hover:underline"
|
||||
>
|
||||
notacheater@cheatingchelsea.com
|
||||
</a>
|
||||
</p>
|
||||
<p className="mt-4 italic">
|
||||
Disclaimer: This website is independently operated by a{' '}
|
||||
<a
|
||||
href="https://angrymichigander.com"
|
||||
className="text-primary hover:underline"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
snarky Michigander
|
||||
</a>{' '}
|
||||
and is not affiliated with or endorsed by Kristen Jacobs.
|
||||
</p>
|
||||
<p className="mt-2">© 2025 Cheating Chelsea Exposed. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
34
src/components/Footer.tsx
Normal file
34
src/components/Footer.tsx
Normal file
|
@ -0,0 +1,34 @@
|
|||
export function Footer() {
|
||||
return (
|
||||
<footer className="text-center py-6 text-sm text-muted-foreground">
|
||||
<div className="container mx-auto">
|
||||
<p>
|
||||
This website, cheatingchelsea.com, is dedicated to raising
|
||||
awareness and supporting the victims.
|
||||
</p>
|
||||
<p>
|
||||
For questions, comments, or concerns, please email:{' '}
|
||||
<a
|
||||
href="mailto:notacheater@cheatingchelsea.com"
|
||||
className="text-primary hover:underline"
|
||||
>
|
||||
notacheater@cheatingchelsea.com
|
||||
</a>
|
||||
</p>
|
||||
<p className="mt-4 italic">
|
||||
Disclaimer: This website is independently operated by a{' '}
|
||||
<a
|
||||
href="https://angrymichigander.com"
|
||||
className="text-primary hover:underline"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
snarky Michigander
|
||||
</a>{' '}
|
||||
and is not affiliated with or endorsed by Kristen Jacobs.
|
||||
</p>
|
||||
<p className="mt-2">© 2025 Cheating Chelsea Exposed. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue