Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ npm create bounda@latest my-app
```

[bounda.dev](https://bounda.dev) ·
[Live demo](https://demo.bounda.dev) ·
**[Documentation](https://docs.bounda.dev)** ·
[Getting started](https://docs.bounda.dev/getting-started/) ·
[Core concepts](https://docs.bounda.dev/getting-started/core-concepts/) ·
Expand Down
22 changes: 21 additions & 1 deletion docs/src/components/SocialIcons.astro
Original file line number Diff line number Diff line change
@@ -1,22 +1,42 @@
---
import { Icon } from "@astrojs/starlight/components";
import { REPOSITORY } from "../site.ts";
import { DEMO, HOME, REPOSITORY } from "../site.ts";
---

<a class="text" href={HOME}>bounda.dev</a>
<a class="text" href={DEMO}>Demo</a>
<a href={REPOSITORY} aria-label="GitHub">
<Icon name="github" size="1.25rem" />
</a>

<style>
a {
display: flex;
align-items: center;
padding: 0.5em;
margin: -0.5em;
color: var(--sl-color-gray-3);
text-decoration: none;
}

/* Set like bounda.dev's nav links. */
.text {
font-family: var(--bounda-display);
font-weight: 600;
font-stretch: 125%;
font-size: 0.6875rem;
letter-spacing: 0.14em;
text-transform: uppercase;
}

a:hover,
a:focus-visible {
color: var(--sl-color-white);
}

@media (max-width: 50rem) {
.text {
display: none;
}
}
</style>
4 changes: 4 additions & 0 deletions docs/src/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ export const SITE = "https://docs.bounda.dev";

export const REPOSITORY = "https://github.com/bounda-dev/bounda";

export const HOME = "https://bounda.dev";

export const DEMO = "https://demo.bounda.dev";

// Cloudflare Web Analytics, without cookies; the site is bounda.dev's, which counts this subdomain too.
export const analytics: HeadTag = {
tag: "script",
Expand Down
Loading