Fixed default layout
This commit is contained in:
parent
c5b341ab52
commit
17f09eea76
1 changed files with 3 additions and 1 deletions
|
|
@ -3,6 +3,8 @@ const { title } = Astro.props
|
||||||
|
|
||||||
const websiteName = 'Template'
|
const websiteName = 'Template'
|
||||||
const websiteDescription = 'This is just a template.'
|
const websiteDescription = 'This is just a template.'
|
||||||
|
|
||||||
|
import Background from '../builtin-components/Background/Background'
|
||||||
---
|
---
|
||||||
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
@ -16,6 +18,7 @@ const websiteDescription = 'This is just a template.'
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body id="body">
|
<body id="body">
|
||||||
|
<Background color="#0c1b31" />
|
||||||
<slot />
|
<slot />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -26,6 +29,5 @@ const websiteDescription = 'This is just a template.'
|
||||||
|
|
||||||
#body
|
#body
|
||||||
font-family: fonts.$Inter
|
font-family: fonts.$Inter
|
||||||
background-color: vars.$background
|
|
||||||
color: vars.$textColor
|
color: vars.$textColor
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue