The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix docs seo

Luna 2d5e39b7 a4a22622

+12 -12
+7 -10
app/docs/[...pathname]/layout.tsx
··· 19 19 const meta = metadata.pages.find((page) => page.file === `${params.pathname.join("/").toLowerCase()}.md`); 20 20 21 21 const title = meta?.file === "index.md" 22 - ? `Wamellow docs` 22 + ? "Documentation" 23 23 : `${meta?.name} docs`; 24 24 25 25 const url = getCanonicalUrl("docs", ...params.pathname); 26 26 const images = { 27 27 url: meta?.image || `${getBaseUrl()}/waya-v3.jpg?v=2`, 28 28 alt: meta?.description, 29 - heigth: 600, 30 - width: 1200 29 + heigth: 1008, 30 + width: 1935 31 31 } 32 32 33 33 return { ··· 44 44 images 45 45 }, 46 46 twitter: { 47 - card: "summary", 47 + card: "summary_large_image", 48 48 title, 49 49 description: meta?.description, 50 50 images ··· 82 82 <Divider className="mt-2" /> 83 83 84 84 <div className="flex flex-col lg:flex-row gap-6 mt-5 min-h-[63vh]"> 85 - <div className="w-full lg:w-1/4 space-y-2"> 85 + <nav className="w-full lg:w-1/4 space-y-2"> 86 86 87 87 <ul className="space-y-2 mb-4 bg-wamellow p-2 rounded-md border border-wamellow-alpha"> 88 88 {metadata.pages.map((page) => ( ··· 137 137 > 138 138 <BsGithub /> Contribute 139 139 </Link> 140 - </div> 140 + </nav> 141 141 142 142 <Divider className="lg:hidden" /> 143 143 144 - <div className="w-full lg:w-3/4"> 145 - {children} 146 - </div> 147 - 144 + {children} 148 145 </div> 149 146 150 147 <Footer className="mt-24" />
+5 -2
app/docs/[...pathname]/page.tsx
··· 36 36 } 37 37 38 38 return ( 39 - <div> 39 + <article 40 + itemType="http://schema.org/Article" 41 + className="w-full lg:w-3/4" 42 + > 40 43 {meta?.permissions?.bot && 41 44 <Notice 42 45 type={NoticeType.Info} ··· 62 65 <div className="h-16" /> 63 66 64 67 <Faq showTitle /> 65 - </div> 68 + </article> 66 69 ); 67 70 }