Skip to content
Open
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
11 changes: 11 additions & 0 deletions src/components/actions.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const attributes = Astro.props;
<Install />
<div class="links">
<a class="text-link" href="https://docs.bounda.dev/getting-started/">Read the docs</a>
<a class="text-link" href="https://demo.bounda.dev">Live demo</a>
<a class="text-link dim" href="https://github.com/bounda-dev/bounda">GitHub</a>
</div>
</div>
Expand All @@ -35,7 +36,17 @@ const attributes = Astro.props;
}

.links {
gap: 16px;
justify-content: center;
}

.links a {
white-space: nowrap;
}

/* Three links fit a phone's width only without the ochre rule after each. */
.links a::after {
display: none;
}
}
</style>
1 change: 1 addition & 0 deletions src/components/footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const year = new Date().getFullYear();
<a class="brand" href="/" aria-label="Bounda home"><Lockup /></a>
<ul>
<li><a class="link" href="https://docs.bounda.dev/getting-started/">Documentation</a></li>
<li><a class="link" href="https://demo.bounda.dev">Live demo</a></li>
<li><a class="link" href="https://github.com/bounda-dev/bounda">GitHub</a></li>
<li><a class="link" href="https://www.npmjs.com/org/bounda-dev">npm</a></li>
<li><a class="link" href="https://github.com/bounda-dev/bounda/blob/main/LICENSE">Apache 2.0</a></li>
Expand Down
6 changes: 6 additions & 0 deletions src/components/nav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import ThemeToggle from "./theme-toggle.astro";
<a class="brand" href="/" aria-label="Bounda home"><Lockup /></a>
<ul data-enter style="--enter-delay: 0.46s">
<li><a class="link" href="https://docs.bounda.dev/getting-started/">Docs</a></li>
<li class="wide"><a class="link" href="https://demo.bounda.dev">Demo</a></li>
<li><a class="link" href="https://github.com/bounda-dev/bounda">GitHub</a></li>
<li><ThemeToggle /></li>
</ul>
Expand Down Expand Up @@ -83,5 +84,10 @@ import ThemeToggle from "./theme-toggle.astro";
.brand :global(.lockup) {
height: 20px;
}

/* The hero's call to action already offers the demo, and the bar has no room for it. */
.wide {
display: none;
}
}
</style>
Loading