Skip to content

Commit c63e250

Browse files
authored
Merge pull request #10 from flexion/hero-monospace-intro
Monospace hero intro and updated headline
2 parents 62fca6f + 26b64c0 commit c63e250

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

content/home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
hero: Public infrastructure, in the open.
2+
hero: What we build in the open.
33
intro: Flexion Labs gathers our open source work in one place — products we steward, tools we share, and the commitment behind them.
44
---

src/design/layout.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
gap: var(--space-4);
5353
}
5454
.home-hero h1 {
55+
font-family: var(--font-mono);
5556
font-size: var(--step-4);
5657
max-inline-size: 22ch;
5758
}

src/pages/home.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Layout } from '../design/common/layout'
22
import { FeaturedCard } from '../design/components/featured-card'
33
import type { Catalog } from '../catalog/types'
4-
import { url } from '../build/config'
54
import type { SiteConfig } from '../build/config'
65

76
export type HeroContent = { hero: string; intro: string }
@@ -45,23 +44,13 @@ export function Home({
4544
</div>
4645
</section>
4746

48-
<section class="home-stats" aria-labelledby="stats-heading">
49-
<h2 id="stats-heading">By the numbers</h2>
47+
<section class="home-stats">
5048
<ul class="home-stats__grid">
5149
<li><strong>{visible.length}</strong> public projects</li>
5250
<li><strong>{active}</strong> actively maintained</li>
5351
<li><strong>{languages}</strong> languages</li>
5452
</ul>
5553
</section>
56-
57-
<section class="home-paths" aria-labelledby="paths-heading">
58-
<h2 id="paths-heading">Where to next</h2>
59-
<ul>
60-
<li><a href={url('/work/', config.basePath)}>Explore our work</a></li>
61-
<li><a href={url('/commitment/', config.basePath)}>Read our open source commitment</a></li>
62-
<li><a href={url('/about/', config.basePath)}>Get in touch</a></li>
63-
</ul>
64-
</section>
6554
</Layout>
6655
)
6756
}

0 commit comments

Comments
 (0)