File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11import { DocsBody , DocsPage , DocsTitle } from "fumadocs-ui/page" ;
2+ import type { Metadata } from "next" ;
23import { notFound } from "next/navigation" ;
34import { DocsFooter } from "@/components/docs-footer" ;
45import { Feedback } from "@/components/feedback" ;
@@ -50,7 +51,7 @@ export function generateStaticParams() {
5051
5152export async function generateMetadata ( props : {
5253 params : Promise < { slug ?: string [ ] } > ;
53- } ) {
54+ } ) : Promise < Metadata > {
5455 const params = await props . params ;
5556 const page = source . getPage ( params . slug ) ;
5657 if ( ! page ) {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default function NotFound() {
1313 return (
1414 < div className = "flex min-h-screen flex-col bg-neutral-950" >
1515 < Navbar />
16- < div className = "relative flex h-full w-full flex- grow flex-col items-center justify-center overflow-hidden p-4" >
16+ < div className = "relative flex h-full w-full grow flex-col items-center justify-center overflow-hidden p-4" >
1717 { /* Liquid Chrome Background */ }
1818 < div className = "absolute inset-0 opacity-40" >
1919 < LiquidChrome
@@ -26,8 +26,8 @@ export default function NotFound() {
2626 </ div >
2727
2828 { /* Gradient overlays for edge fading */ }
29- < div className = "absolute inset-0 bg-gradient -to-t from-neutral-950 via-transparent" />
30- < div className = "absolute inset-0 bg-gradient -to-b from-neutral-950/50 via-transparent" />
29+ < div className = "absolute inset-0 bg-linear -to-t from-neutral-950 via-transparent" />
30+ < div className = "absolute inset-0 bg-linear -to-b from-neutral-950/50 via-transparent" />
3131
3232 { /* Main Content */ }
3333 < div className = "relative z-10 flex flex-col items-center text-center" >
You can’t perform that action at this time.
0 commit comments