mirror of
https://github.com/joelhooks/joelclaw.git
synced 2026-09-19 01:24:04 +08:00
39518c6c34
Error boundaries: - app/error.tsx: route-level error recovery with reset button - app/global-error.tsx: root layout failure handler with html/body Loading skeletons: - vault, memory, syslog, system, system/events, dashboard, voice - Pulse shimmer matching each page's actual layout structure - font-pixel labels for consistent dashboard aesthetic Import aliases: - Converted all relative imports (../../lib/, ../../../lib/) to @/* - 40+ files across app/, components/site-header, components/mobile-nav - tsconfig @/* alias was already configured, now actually used
18 lines
331 B
TypeScript
18 lines
331 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { SITE_URL } from "@/lib/constants";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: [
|
|
{
|
|
userAgent: "*",
|
|
allow: "/",
|
|
},
|
|
],
|
|
sitemap: [
|
|
`${SITE_URL}/sitemap.xml`,
|
|
`${SITE_URL}/sitemap.md`,
|
|
],
|
|
};
|
|
}
|