mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 02:07:24 +00:00
docs: test
This commit is contained in:
parent
9ea0d71e8d
commit
9a573dedc6
2 changed files with 14 additions and 3 deletions
|
@ -9,6 +9,8 @@ import SiteTitle from '@astrojs/starlight/components/SiteTitle.astro';
|
|||
const path = Astro.url.pathname;
|
||||
|
||||
const links = config.social || [];
|
||||
const { headerLinks } = globalThis.toolbeamDocsThemeConfig ?? {};
|
||||
|
||||
---
|
||||
|
||||
{ path.startsWith("/s")
|
||||
|
@ -17,7 +19,11 @@ const links = config.social || [];
|
|||
<SiteTitle {...Astro.props} />
|
||||
</div>
|
||||
<div class="middle-group sl-flex">
|
||||
<HeaderLinks {...Astro.props} />
|
||||
{
|
||||
headerLinks?.map(({ name, url }) => (
|
||||
<a class="links" href={url}>{name}</a>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
<div class="sl-hidden md:sl-flex right-group">
|
||||
{
|
||||
|
@ -80,6 +86,12 @@ const links = config.social || [];
|
|||
color: var(--sl-color-text-dimmed);
|
||||
}
|
||||
}
|
||||
a.links {
|
||||
text-transform: uppercase;
|
||||
font-size: var(--sl-text-sm);
|
||||
color: var(--sl-color-text-secondary);
|
||||
line-height: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 50rem) {
|
||||
|
@ -113,4 +125,3 @@ const links = config.social || [];
|
|||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@
|
|||
line-height: 18px;
|
||||
font-size: 0.875rem;
|
||||
color: var(--sl-color-text-secondary);
|
||||
max-wdith: var(--sm-tool-width);
|
||||
max-width: var(--sm-tool-width);
|
||||
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue