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
28 changes: 0 additions & 28 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -68,15 +66,6 @@ const primaryLinks = [
{link.label}
</a>
))}
<a
href={REPO_URL}
target="_blank"
rel="noopener noreferrer"
class="nav-link nav-github"
>
<span>GitHub</span>
<span class="nav-github-arrow" aria-hidden="true">&#8599;</span>
</a>
</div>
</nav>

Expand All @@ -91,8 +80,6 @@ const primaryLinks = [
Analytics settings
</button>
<a href="/privacy">Privacy</a>
<a href={REPO_URL} target="_blank" rel="noopener noreferrer">GitHub</a>
<a href={`${REPO_URL}/issues`} target="_blank" rel="noopener noreferrer">Issues</a>
</div>
</footer>
</div>
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -626,10 +602,6 @@ const primaryLinks = [
font-size: 1.2rem;
}

.nav-github {
display: none;
}

.nav-links {
gap: 1.1rem;
}
Expand Down
5 changes: 0 additions & 5 deletions src/pages/docs.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import Prose from "../components/Prose.astro";
import Layout from "../layouts/Layout.astro";
import { REPO_URL } from "../lib/releases";
---

<Layout
Expand Down Expand Up @@ -98,10 +97,6 @@ import { REPO_URL } from "../lib/releases";
<div class="content-callout">
<p>When reporting a problem, include your operating system, Scient version, the provider you were using, and the shortest sequence that reproduces the issue.</p>
</div>
<div class="content-actions">
<a class="content-action content-action--primary" href={`${REPO_URL}/issues`} target="_blank" rel="noopener noreferrer">Open a GitHub issue</a>
<a class="content-action" href={`${REPO_URL}/releases`} target="_blank" rel="noopener noreferrer">View releases</a>
</div>
</div>
</section>
</Prose>
Expand Down
8 changes: 0 additions & 8 deletions src/pages/privacy.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import Prose from "../components/Prose.astro";
import Layout from "../layouts/Layout.astro";
import { REPO_URL } from "../lib/releases";
---

<Layout
Expand Down Expand Up @@ -82,13 +81,6 @@ import { REPO_URL } from "../lib/releases";
<p>
If we add Scient accounts, forms, or additional identity links, this notice will be updated before those features are enabled for visitors.
</p>
<p>
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.
</p>
<div class="content-actions">
<a class="content-action content-action--primary" href={`${REPO_URL}/issues`} target="_blank" rel="noopener noreferrer">Open GitHub Issues</a>
<a class="content-action" href={`${REPO_URL}/security/advisories/new`} target="_blank" rel="noopener noreferrer">Report a security concern</a>
</div>
</div>
</section>
</Prose>
Expand Down