feat: add updates route and sitemap entry

This commit is contained in:
2026-05-01 09:36:44 +08:00
parent 42cf4652dd
commit 695c3fbedf
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
{ url: `${BASE_URL}/contact`, lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.3 }, { url: `${BASE_URL}/contact`, lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.3 },
{ url: `${BASE_URL}/login`, lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.3 }, { url: `${BASE_URL}/login`, lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.3 },
{ url: `${BASE_URL}/signup`, lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.3 }, { url: `${BASE_URL}/signup`, lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.3 },
{ url: `${BASE_URL}/updates`, lastModified: new Date(), changeFrequency: "weekly" as const, priority: 0.5 },
] ]
try { try {
+4
View File
@@ -19,6 +19,10 @@ export const routes = [
title: "Devices", title: "Devices",
href: "/devices", href: "/devices",
}, },
{
title: "Updates",
href: "/updates",
},
{ {
title: "Contact", title: "Contact",
href: "/contact", href: "/contact",