diff --git a/apps/demo/src/components/Layout.astro b/apps/demo/src/components/Layout.astro new file mode 100644 index 0000000..3a01966 --- /dev/null +++ b/apps/demo/src/components/Layout.astro @@ -0,0 +1,30 @@ +--- +import Nav from "./Nav.astro"; + +export interface Props { + title: string; + theme?: "dark" | "light"; +} +const { theme = "light", title } = Astro.props; +--- + + + + + + + + {title} | Astro Reactive Demo + + +