sync
This commit is contained in:
parent
9a26b3058f
commit
f3da73553c
178 changed files with 765 additions and 3382 deletions
11
packages/web/src/components/Hero.astro
Normal file
11
packages/web/src/components/Hero.astro
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
import Default from '@astrojs/starlight/components/Hero.astro';
|
||||
import Lander from './Lander.astro';
|
||||
|
||||
const { slug } = Astro.locals.starlightRoute.entry;
|
||||
---
|
||||
|
||||
{ slug === ""
|
||||
? <Lander {...Astro.props} />
|
||||
: <Default {...Astro.props}><slot /></Default>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue