sync
This commit is contained in:
@ -21,7 +21,7 @@ import "../style/index.css";
|
||||
document.addEventListener('astro:after-swap', () => {document.documentElement.setAttribute("data-theme", localStorage.getItem("data-theme") || document.documentElement.getAttribute("data-theme"));});
|
||||
</script>
|
||||
<Navbar transition:persist/>
|
||||
<div class="bg-bkg h-dvh w-full overflow-y-scroll snap-mandatory snap-y scroll-smooth" transition:animate="slide">
|
||||
<div class="bg-bkg h-dvh overflow-y-scroll snap-mandatory snap-y scroll-smooth " transition:animate="slide" style="scrollbar-width: thin;">
|
||||
<slot />
|
||||
</div>
|
||||
</body>
|
||||
|
7
src/layouts/MarkDownPostLayout.astro
Normal file
7
src/layouts/MarkDownPostLayout.astro
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
const { frontmatter } = Astro.props;
|
||||
---
|
||||
|
||||
<h1>{frontmatter.title}</h1>
|
||||
<p>{frontmatter.autor}</p>
|
||||
<slot />
|
@ -1,4 +1,4 @@
|
||||
<div class="snap-start w-screen h-screen overflow-clip pt-14">
|
||||
<div class="snap-start h-screen overflow-clip pt-14">
|
||||
<div class="bg-bkg h-full w-full sm:grid sm:grid-cols-6 lg:grid-cols-12">
|
||||
<div
|
||||
class="sm:col-start-2 sm:col-end-6 lg:col-start-3 lg:col-end-11 2xl:col-start-4 2xl:col-end-10 h-full p-2 sm:p-6"
|
||||
|
Reference in New Issue
Block a user