One-click backups for AT Protocol

fix: build issues

Turtlepaw 6cfec02d a66da2a2

Changed files
+49 -6
docs
+14
docs/app/_meta.tsx
··· 1 + export default { 2 + index: { 3 + type: "page", 4 + display: "hidden", 5 + }, 6 + auth: { 7 + type: "page", 8 + display: "hidden", 9 + }, 10 + docs: { 11 + type: "page", 12 + title: "Documentation", 13 + }, 14 + };
+29 -3
docs/app/layout.tsx
··· 5 5 import "./app.css"; 6 6 import Image from "next/image"; 7 7 import Link from "next/link"; 8 + import { Metadata } from "next"; 8 9 9 - export const metadata = { 10 - // Define your metadata here 11 - // For more information on metadata API, see: https://nextjs.org/docs/app/building-your-application/optimizing/metadata 10 + export const metadata: Metadata = { 11 + description: "One-click backup for Bluesky", 12 + metadataBase: new URL("https://atbackup.pages.dev"), 13 + keywords: ["Bluesky", "AT Backup", "Backup"], 14 + generator: "Next.js", 15 + applicationName: "AT Backup", 16 + appleWebApp: { 17 + title: "AT Backup", 18 + }, 19 + title: { 20 + default: "AT Backup – One-click backup for Bluesky", 21 + template: "%s | AT Backup", 22 + }, 23 + openGraph: { 24 + // https://github.com/vercel/next.js/discussions/50189#discussioncomment-10826632 25 + url: "./", 26 + siteName: "AT Backup", 27 + locale: "en_US", 28 + type: "website", 29 + }, 30 + other: { 31 + "msapplication-TileColor": "#fff", 32 + }, 33 + alternates: { 34 + // https://github.com/vercel/next.js/discussions/50189#discussioncomment-10826632 35 + canonical: "./", 36 + }, 12 37 }; 13 38 14 39 const banner = <Banner storageKey="some-key">Nextra 4.0 is released 🎉</Banner>; ··· 20 45 <span>AT Backup</span> 21 46 </div> 22 47 } 48 + projectLink="https://github.com/turtlepaw/atproto-backup" 23 49 // ... Your additional navbar options 24 50 /> 25 51 );
+4 -2
docs/app/page.tsx
··· 128 128 }; 129 129 }, []); 130 130 131 + const Component = playing ? Pause : Play; 132 + 131 133 return ( 132 134 <div 133 135 className={`relative flex flex-col items-center ${className}`} ··· 142 144 /> 143 145 <button 144 146 onClick={togglePlay} 145 - className="absolute bottom-3 right-3 p-3 bg-black/15 border-[1px] border-white/10 backdrop-blur-sm rounded-[100rem] hover:bg-black/5 transition cursor-pointer" 147 + className="absolute bottom-3 right-3 p-2 bg-black/80 border-[1px] border-white/10 backdrop-blur-sm rounded-[100rem] hover:bg-black/50 transition cursor-pointer" 146 148 aria-label={playing ? "Pause video" : "Play video"} 147 149 style={{ pointerEvents: "auto" }} 148 150 > 149 - {playing ? <Pause /> : <Play />} 151 + <Component className="text-white" width={20} height={20} /> 150 152 </button> 151 153 </div> 152 154 );
+1
docs/content/index.mdx
··· 1 + # Welcome to the docs
+1 -1
docs/next.config.mjs
··· 2 2 3 3 // Set up Nextra with its configuration 4 4 const withNextra = nextra({ 5 - // ... Add Nextra-specific options here 5 + contentDirBasePath: "/docs", 6 6 }); 7 7 8 8 // Export the final Next.js config with Nextra included