style content, add arrow indicating more content
This commit is contained in:
parent
aaa15caf69
commit
11120bb0c8
8 changed files with 94 additions and 26 deletions
15
src/layouts/Content.astro
Normal file
15
src/layouts/Content.astro
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
import "../styles/global.css"
|
||||
import Footer from "../components/Footer.astro"
|
||||
import Layout from "./Layout.astro"
|
||||
|
||||
const {frontmatter} = Astro.props
|
||||
---
|
||||
|
||||
<Layout title={frontmatter.title}>
|
||||
<main class="prose max-w-3xl mx-auto p-4 mt-10 mb-40">
|
||||
<h1>{frontmatter.title}</h1>
|
||||
<slot/>
|
||||
</main>
|
||||
<Footer />
|
||||
</Layout>
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
import "../styles/global.css";
|
||||
|
||||
const props = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
|
|
@ -10,7 +12,7 @@ import "../styles/global.css";
|
|||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>DIDAYS 2026</title>
|
||||
<title>DIDAYS 2026{props.title ? ` | ${props.title}` : ''}</title>
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
|
|
|
|||
Loading…
Reference in a new issue