mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-08 01:52:33 +00:00
11 lines
260 B
Text
11 lines
260 B
Text
---
|
|
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>
|
|
}
|