adds tailwind & images
This commit is contained in:
26
src/layouts/BaseLayout.astro
Normal file
26
src/layouts/BaseLayout.astro
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
interface Props {
|
||||
title?: string;
|
||||
}
|
||||
|
||||
const { title = "KarkarCar" } = Astro.props;
|
||||
|
||||
import { Image } from 'astro:assets';
|
||||
import logo from './src/images/logo-urdina.png';
|
||||
|
||||
|
||||
import './src/styles/global.css'
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>{title}</title>
|
||||
</head>
|
||||
<body>
|
||||
<Image src={logo} alt="KarKarCar" />
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user