Improve and update the demo
This commit is contained in:
parent
7bea355fd9
commit
72b292f860
9 changed files with 303 additions and 250 deletions
44
test/src/layouts/Default.astro
Normal file
44
test/src/layouts/Default.astro
Normal file
|
@ -0,0 +1,44 @@
|
|||
---
|
||||
// Properites
|
||||
const {
|
||||
Title,
|
||||
Description,
|
||||
Page
|
||||
} = Astro.props
|
||||
|
||||
// Components
|
||||
import Header from '@components/Header.astro'
|
||||
import {Zorn} from '@minpluto/zorn'
|
||||
import Info from '@components/Info.astro'
|
||||
---
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Zorn Demo</title>
|
||||
</head>
|
||||
<body>
|
||||
<Header/>
|
||||
<slot/>
|
||||
<Info Title={Title} Description={Description}>
|
||||
<slot name="info"></slot>
|
||||
</Info>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style is:global is:inline>
|
||||
body {
|
||||
background: #010101;
|
||||
color: white;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
margin: auto;
|
||||
max-width: 1200px;
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.video-container {
|
||||
position: relative;
|
||||
margin: auto;
|
||||
max-width: 1200px;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue