Publish docs, update links (#431)

* Publish docs, update links

* Fix sitemap gen

* Migrate to Astro v6

* Fix server lint
This commit is contained in:
DecDuck
2026-06-21 16:39:34 +10:00
committed by GitHub
parent 9185089c99
commit cbecd1161d
26 changed files with 658 additions and 481 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ function Header() {
<div className="flex flex-col gap-y-2 border-b border-dotted border-zinc-800 pb-4">
<dt className="text-sm/6 text-zinc-400">Lines of code</dt>
<dd className="order-first text-6xl font-medium tracking-tight">
<AnimatedNumber start={10} end={40} />k
<AnimatedNumber start={0} end={75} />k
</dd>
</div>
<div className="flex flex-col gap-y-2 border-b border-dotted border-zinc-800 pb-4">
@@ -61,7 +61,7 @@ function Header() {
<div className="flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4">
<dt className="text-sm/6 text-zinc-400">Docker pulls</dt>
<dd className="order-first text-6xl font-medium tracking-tight">
<AnimatedNumber start={0} end={48.8} decimals={1} />k
<AnimatedNumber start={0} end={210} decimals={1} />k
</dd>
</div>
<div className="flex flex-col gap-y-2">
+1 -1
View File
@@ -36,7 +36,7 @@ function Hero() {
Steam and Epic.
</p>
<div className="mt-12 flex flex-col gap-x-6 gap-y-4 sm:flex-row">
<Button href="https://docs.droposs.org/docs/guides/quickstart">
<Button href="/docs/admin/quickstart">
Get started
</Button>
<Button variant="outline" href="/about">
+2 -2
View File
@@ -23,7 +23,7 @@ function CallToAction() {
<div className="mt-6">
<Button
className="w-full sm:w-auto"
href="https://docs.droposs.org/docs/guides/quickstart"
href="/docs/admin/quickstart"
>
Quickstart &rarr;
</Button>
@@ -65,7 +65,7 @@ function Sitemap() {
<div>
<SitemapHeading>Documentation</SitemapHeading>
<SitemapLinks>
<SitemapLink href="https://docs.droposs.org/">
<SitemapLink href="/docs">
Self-hosters
</SitemapLink>
<SitemapLink href="https://developer.droposs.org/">
+4 -4
View File
@@ -80,11 +80,11 @@ export function Gallery() {
)
.map((file) => (
<div key={file.url} className="relative w-full">
<div className="group overflow-hidden rounded-lg bg-gray-100 focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-blue-600">
<div className="group relative block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-blue-600">
<img
alt=""
src={file.url}
className="pointer-events-none aspect-10/7 aspect-auto rounded-lg object-cover outline -outline-offset-1 outline-black/5 group-hover:opacity-75"
className="pointer-events-none block w-full rounded-lg object-cover outline -outline-offset-1 outline-black/5 group-hover:opacity-75"
/>
<button
type="button"
@@ -96,10 +96,10 @@ export function Gallery() {
</span>
</button>
</div>
<p className="pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900">
<p className="pointer-events-none mt-2 block truncate text-sm font-medium text-zinc-100">
{file.name}
</p>
<p className="pointer-events-none block text-xs font-medium text-gray-500">
<p className="pointer-events-none block text-xs font-medium text-zinc-400">
{file.description}
</p>
</div>