From 06a2951a9077a18609778004c3b803ff8311a871 Mon Sep 17 00:00:00 2001 From: Yaacov Date: Wed, 22 Jul 2026 16:05:42 +0300 Subject: [PATCH] Remove public GitHub links from website --- src/layouts/Layout.astro | 28 ---------------------------- src/pages/docs.astro | 5 ----- src/pages/privacy.astro | 8 -------- 3 files changed, 41 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 15f0208..b1e5b57 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -5,8 +5,6 @@ // Depends on: release repo metadata from ../lib/releases and bundled Scient brand assets. import "@fontsource-variable/dm-sans"; -import { REPO_URL } from "../lib/releases"; - interface Props { title?: string; description?: string; @@ -68,15 +66,6 @@ const primaryLinks = [ {link.label} ))} - - GitHub - - @@ -91,8 +80,6 @@ const primaryLinks = [ Analytics settings Privacy - GitHub - Issues @@ -444,7 +431,6 @@ const primaryLinks = [ .nav-brand:focus-visible, .nav-link:focus-visible, - .nav-github:focus-visible, .footer-links a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 5px; @@ -473,16 +459,6 @@ const primaryLinks = [ border-bottom-color: currentColor; } - .nav-github-arrow { - display: inline-block; - font-size: 0.88em; - transition: transform 220ms var(--ease-out); - } - - .nav-github:hover .nav-github-arrow { - transform: translate(2px, -2px); - } - .main { flex: 1; min-width: 0; @@ -626,10 +602,6 @@ const primaryLinks = [ font-size: 1.2rem; } - .nav-github { - display: none; - } - .nav-links { gap: 1.1rem; } diff --git a/src/pages/docs.astro b/src/pages/docs.astro index 42cf95d..c03f0d5 100644 --- a/src/pages/docs.astro +++ b/src/pages/docs.astro @@ -1,7 +1,6 @@ --- import Prose from "../components/Prose.astro"; import Layout from "../layouts/Layout.astro"; -import { REPO_URL } from "../lib/releases"; ---

When reporting a problem, include your operating system, Scient version, the provider you were using, and the shortest sequence that reproduces the issue.

- diff --git a/src/pages/privacy.astro b/src/pages/privacy.astro index 1e3c403..5eda1a2 100644 --- a/src/pages/privacy.astro +++ b/src/pages/privacy.astro @@ -1,7 +1,6 @@ --- import Prose from "../components/Prose.astro"; import Layout from "../layouts/Layout.astro"; -import { REPO_URL } from "../lib/releases"; --- If we add Scient accounts, forms, or additional identity links, this notice will be updated before those features are enabled for visitors.

-

- For non-sensitive questions, use GitHub Issues. Security concerns should be reported privately through GitHub's security reporting flow rather than in a public issue. -

-