Updated
This commit is contained in:
parent
8197905483
commit
efc045bebd
48 changed files with 779 additions and 1140 deletions
22
@dasig/components/Navbar.astro
Normal file
22
@dasig/components/Navbar.astro
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
import Row from './Row.astro'
|
||||
|
||||
interface Props {
|
||||
transparent?: boolean
|
||||
}
|
||||
|
||||
const { transparent } = Astro.props
|
||||
---
|
||||
|
||||
<nav class="dasig-nav" role="navigation" aria-label="main navigation">
|
||||
<Row content="split"><slot /></Row>
|
||||
</nav>
|
||||
|
||||
<style lang="sass">
|
||||
.dasig-nav
|
||||
position: fixed
|
||||
top: 0
|
||||
width: 100%
|
||||
padding: 1rem 0
|
||||
// margin: 5rem
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue