fix: rename layout config options (#1619)

This commit is contained in:
Marvin Hagemeister
2023-08-14 15:47:36 +02:00
committed by GitHub
parent ba67d895ce
commit 6436a43dce
13 changed files with 124 additions and 63 deletions
@@ -0,0 +1,13 @@
import { LayoutConfig, LayoutProps } from "$fresh/server.ts";
export const config: LayoutConfig = {
skipAppTemplate: true,
};
export default function OverrideLayout({ Component }: LayoutProps) {
return (
<div class="no-app-layout">
<Component />
</div>
);
}
@@ -0,0 +1,7 @@
export default function OverridePage() {
return (
<div class="page">
/override/layout_no_app page
</div>
);
}