RLS policies implementeren, Demo auth flow

This commit is contained in:
colinislit
2025-11-15 23:59:38 +01:00
parent b1cfb339a2
commit 99804656d7
49 changed files with 5841 additions and 123 deletions

38
app/sitemap.ts Normal file
View File

@@ -0,0 +1,38 @@
/**
* Sitemap Generator
*
* Generates sitemap.xml for SEO.
* Next.js will automatically serve this at /sitemap.xml
*/
import type { MetadataRoute } from 'next'
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://aispeedrun.vercel.app'
// Get current date for lastModified
const currentDate = new Date()
return [
{
url: baseUrl,
lastModified: currentDate,
changeFrequency: 'weekly',
priority: 1.0,
},
// Future routes can be added here:
// {
// url: `${baseUrl}/build-log`,
// lastModified: currentDate,
// changeFrequency: 'weekly',
// priority: 0.8,
// },
// {
// url: `${baseUrl}/demo`,
// lastModified: currentDate,
// changeFrequency: 'monthly',
// priority: 0.7,
// },
]
}