From 7ee16675a5571b99172dd9a841a3ce5fa620a3f5 Mon Sep 17 00:00:00 2001 From: Ku6epXBOCTuK Date: Thu, 11 Jun 2026 14:41:41 +0500 Subject: [PATCH] fix: update links base, fix some styles --- .github/workflows/deploy.yml | 2 +- src/components/SiteHeader.astro | 2 +- src/layouts/base.astro | 4 ++-- src/layouts/doc.astro | 2 +- src/lib/paths.ts | 3 +-- src/pages/index.astro | 14 ++++++-------- src/styles/globals.css | 9 +++++++++ 7 files changed, 21 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 626ffd1..2fc42f0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: - name: Install, build, and upload your site uses: withastro/action@v6 env: - BASE_PATH: /lopata + BASE_PATH: /lopata/ deploy: needs: build diff --git a/src/components/SiteHeader.astro b/src/components/SiteHeader.astro index 3f77685..abd0d51 100644 --- a/src/components/SiteHeader.astro +++ b/src/components/SiteHeader.astro @@ -8,7 +8,7 @@ import { base } from "../lib/paths";
Эмблема Трибунала - - + + {title} diff --git a/src/layouts/doc.astro b/src/layouts/doc.astro index 40891c9..6eca56a 100644 --- a/src/layouts/doc.astro +++ b/src/layouts/doc.astro @@ -45,7 +45,7 @@ const code = content.code;
e.status === "open").map((e, i) => ( @@ -140,16 +140,14 @@ const tilts = ["-0.6deg", "0.5deg", "-0.4deg"]; { REGISTRY.map((entry, i) => { const isOpen = entry.status === "open"; - const href = isOpen ? `${base}/docs/${entry.slug}` : undefined; - const Tag = isOpen ? "a" : "div"; return ( - @@ -180,7 +178,7 @@ const tilts = ["-0.6deg", "0.5deg", "-0.4deg"]; > {statusLabel[entry.status]} - + ); }) } diff --git a/src/styles/globals.css b/src/styles/globals.css index 98229fa..170b06d 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -227,4 +227,13 @@ margin-top: 2rem; margin-bottom: 1rem; } + + & thead, + & tr { + border-top: 1px solid var(--color-border); + } + & th, + & td { + padding: 1rem 0; + } }