Skip to content

Commit

Permalink
implemented Block component style in Spacer component
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyCat committed Oct 14, 2024
1 parent c8fdb12 commit 6048478
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/Spacer.astro
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
<div class="bg-background-500 p-4 m-4 rounded-2xl text-center font-bold text-2xl"><slot /></div>
---
import Block from "../layouts/Block.astro";
---

<div class="font-bold text-2xl text-center">
<Block>
<slot />
</Block>
</div>

0 comments on commit 6048478

Please sign in to comment.