🚀 Ready for cloudflare pages
This commit is contained in:
parent
7d70841a2d
commit
4b05046a17
@ -15,12 +15,14 @@ import "./globals.css";
|
|||||||
|
|
||||||
import AppShell from "@/components/AppShell";
|
import AppShell from "@/components/AppShell";
|
||||||
|
|
||||||
|
export const runtime = "edge";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: {
|
title: {
|
||||||
default: SITE_NAME,
|
default: SITE_NAME,
|
||||||
template: `${SITE_NAME} | %s`
|
template: `${SITE_NAME} | %s`
|
||||||
},
|
},
|
||||||
description: SITE_DESCRIPTION,
|
description: SITE_DESCRIPTION
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({ children }: Readonly<{
|
export default function RootLayout({ children }: Readonly<{
|
||||||
|
@ -62,7 +62,7 @@ export function AppNavigation({ showClose, onClose }: {
|
|||||||
<Divider />
|
<Divider />
|
||||||
<List>
|
<List>
|
||||||
{NAVIGATION_ITEMS.map((item, idx) => {
|
{NAVIGATION_ITEMS.map((item, idx) => {
|
||||||
return item.divider ? <Divider /> : (
|
return item.divider ? <Divider key={idx} /> : (
|
||||||
<Link key={idx} href={item.link ?? "/"} passHref>
|
<Link key={idx} href={item.link ?? "/"} passHref>
|
||||||
<ListItemButton>
|
<ListItemButton>
|
||||||
<ListItemIcon>{item.icon}</ListItemIcon>
|
<ListItemIcon>{item.icon}</ListItemIcon>
|
||||||
|
Loading…
Reference in New Issue
Block a user