Please do add links TO the homepage and gallery FROM the dadvocate page,

This commit is contained in:
Derek Slenk 2025-06-27 01:04:26 +00:00
parent 89c8cc7501
commit f8bfde5d9c
3 changed files with 44 additions and 5 deletions

View file

@ -7,10 +7,6 @@ import { ExternalLink } from 'lucide-react';
export const metadata: Metadata = {
title: "Dadvocate Vids - A curated collection of videos from The Dadvocate",
description: "A curated collection of videos from The Dadvocate.",
robots: {
index: false,
follow: false,
}
};
interface Video {
@ -23,9 +19,9 @@ const videoIds = [
'dbPXoZ_cri8',
'y2SfYffLZQ4',
'CdJLCln1Kjg',
'e6rHHtq5K1k',
'GbWJfWhkOhc',
'pzefTg9jygs',
'e6rHHtq5K1k',
'zp3PRgtBOl0',
'XZA6c5Gg7NA'
];
@ -120,6 +116,14 @@ export default async function DadvocatePage() {
<p className="text-center col-span-full">Could not load videos. Please try again later.</p>
)}
</div>
<div className="flex justify-center items-center gap-4 mt-12">
<Button asChild>
<Link href="/">Back to Home</Link>
</Button>
<Button asChild variant="outline">
<Link href="/gallery">View Video Gallery &raquo;</Link>
</Button>
</div>
</div>
</main>

5
src/app/robots.txt Normal file
View file

@ -0,0 +1,5 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Allow: /
Sitemap: https://cheatingchelsea.com/sitemap.xml

30
src/app/sitemap.ts Normal file
View file

@ -0,0 +1,30 @@
import { MetadataRoute } from 'next'
export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: 'https://cheatingchelsea.com',
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 1,
},
{
url: 'https://cheatingchelsea.com/gallery',
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.8,
},
{
url: 'https://cheatingchelsea.com/dadvocate',
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 0.8,
},
{
url: 'https://cheatingchelsea.com/long-story',
lastModified: new Date(),
changeFrequency: 'monthly',
priority: 0.5,
},
]
}