mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-21 06:54:08 -07:00
Add heading component
This commit is contained in:
parent
31d16a1788
commit
cd3b3f13a2
1 changed files with 9 additions and 0 deletions
9
src/components/listing-parts/heading.astro
Normal file
9
src/components/listing-parts/heading.astro
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
const {
|
||||||
|
text
|
||||||
|
} = Astro.props
|
||||||
|
|
||||||
|
---
|
||||||
|
<h2 class="section-heading text-xl md:text-2xl text-center font-bold mb-3">
|
||||||
|
{ text }
|
||||||
|
</h2>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue