Skip to content

Commit

Permalink
Visual adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonRomano committed Jan 7, 2025
1 parent fac8506 commit 42f0d52
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
12 changes: 8 additions & 4 deletions src/pages/download/DownloadPage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@

& .pageTitle {
text-align: center;
margin-bottom: 80px;
margin-bottom: 12px;
font-size: 45px;
@media(max-width: 1100px) {
font-size: 38px;
margin-bottom: 48px;
}
}

& > div {
font-size: 16px;
& .versionInfo {
color: var(--gray-6);
font-size: 16px;
margin-bottom: 80px;
@media(max-width: 1100px) {
margin-bottom: 48px;
}
}
}
Expand Down
18 changes: 13 additions & 5 deletions src/pages/download/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ButtonLink } from "@/components/link";
import { NavTreeNode } from "@/components/nav-tree";
import SectionWrapper from "@/components/section-wrapper";
import { H1 } from "@/components/text";
import { H1, P, Span } from "@/components/text";
import NavFooterLayout from "@/layouts/nav-footer-layout";
import { fetchLatestGhosttyVersion } from "@/lib/fetch-latest-ghostty-version";
import { loadDocsNavTreeData } from "@/lib/fetch-nav";
Expand Down Expand Up @@ -43,10 +43,18 @@ export default function DownloadPage({
<SectionWrapper>
<div className={s.header}>
<Image src={SVGIMG} alt={""} />
<div className={s.pageTitle}>
<H1>Download Ghostty</H1>
<div><b>{ latestVersion }</b> (<a href={ "/docs/install/release-notes/" + latestVersion.replace(/\./g, "-") }>Release Notes</a>)</div>
</div>
<H1 className={s.pageTitle}>Download Ghostty</H1>
<P weight="regular" className={s.versionInfo}>
Version {latestVersion} -{" "}
<a
href={
"/docs/install/release-notes/" +
latestVersion.replace(/\./g, "-")
}
>
Release Notes
</a>
</P>
</div>
<div className={s.downloadCards}>
<GenericCard
Expand Down

0 comments on commit 42f0d52

Please sign in to comment.