Base tailwind setup
This commit is contained in:
22
src/layouts/BaseLayout.astro
Normal file
22
src/layouts/BaseLayout.astro
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
import "../styles/global.css";
|
||||
|
||||
const { title } = Astro.props;
|
||||
---
|
||||
|
||||
<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" />
|
||||
|
||||
<title>{ title }</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<slot />
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user