mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Implement header component
This commit is contained in:
parent
1928366081
commit
d2431c41c6
28 changed files with 951 additions and 11268 deletions
14
src/components/header/NavButton.astro
Normal file
14
src/components/header/NavButton.astro
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
import Button from '../Button.astro'
|
||||
|
||||
const { class: className } = Astro.props
|
||||
---
|
||||
|
||||
<Button
|
||||
class:list={[
|
||||
'w-full md:w-fit md:h-full bg-dark hover:bg-dark-hover py-3.5 md:py-1 px-2 rounded-none text-left md:text-center',
|
||||
className
|
||||
]}
|
||||
>
|
||||
<slot />
|
||||
</Button>
|
||||
Loading…
Add table
Add a link
Reference in a new issue