WIP: Base Astro Components
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
---
|
||||
import Base from "../layouts/Base.astro";
|
||||
import Topbar from "../components/Topbar.astro";
|
||||
import Sidebar from "../components/Sidebar.astro";
|
||||
---
|
||||
|
||||
---
|
||||
<Base title="home">
|
||||
<Topbar slot="topbar" />
|
||||
<Sidebar slot="sidebar" />
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>Astro</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Astro</h1>
|
||||
</body>
|
||||
</html>
|
||||
<h1>hello world</h1>
|
||||
</Base>
|
||||
|
||||
Reference in New Issue
Block a user