Fixed layout

This commit is contained in:
Patrick Alvin Alcala 2025-08-28 13:44:12 +08:00
parent 4d1b3589b6
commit 23e8de15fd

View file

@ -4,21 +4,21 @@ 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 '../templates/Background/Background' import Background from '../templates/components/Background/Background'
--- ---
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/logo.png" /> <link rel="icon" type="image/svg+xml" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<meta name="name" content={websiteName} /> <meta name="name" content={websiteName} />
<meta name="description" content={websiteDescription} /> <meta name="description" content={websiteDescription} />
<title>{title}</title> <title>{title}</title>
</head> </head>
<body id="body"> <body id="body">
<Background color="#0c1b31" /> <Background image />
<slot /> <slot />
</body> </body>
</html> </html>