Skip to content

Commit

Permalink
Update Layout.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Nov 5, 2023
1 parent 83616d3 commit 9610425
Showing 1 changed file with 12 additions and 41 deletions.
53 changes: 12 additions & 41 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,51 +1,22 @@
---
interface Props {
title: string;
title: string
}
const { title } = Astro.props;
const { title } = Astro.props
---

<!doctype html>
<html lang="en">
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<slot />
</body>
<body>
<slot />
</body>
</html>
<style is:global>
:root {
--accent: 136, 58, 234;
--accent-light: 224, 204, 250;
--accent-dark: 49, 10, 101;
--accent-gradient: linear-gradient(
45deg,
rgb(var(--accent)),
rgb(var(--accent-light)) 30%,
white 60%
);
}
html {
font-family: system-ui, sans-serif;
background: #13151a;
background-size: 224px;
}
code {
font-family:
Menlo,
Monaco,
Lucida Console,
Liberation Mono,
DejaVu Sans Mono,
Bitstream Vera Sans Mono,
Courier New,
monospace;
}
</style>

0 comments on commit 9610425

Please sign in to comment.