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
2 changes: 1 addition & 1 deletion content/home.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
hero: Public infrastructure, in the open.
hero: What we build in the open.
intro: Flexion Labs gathers our open source work in one place — products we steward, tools we share, and the commitment behind them.
---
1 change: 1 addition & 0 deletions src/design/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
gap: var(--space-4);
}
.home-hero h1 {
font-family: var(--font-mono);
font-size: var(--step-4);
max-inline-size: 22ch;
}
Expand Down
13 changes: 1 addition & 12 deletions src/pages/home.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Layout } from '../design/common/layout'
import { FeaturedCard } from '../design/components/featured-card'
import type { Catalog } from '../catalog/types'
import { url } from '../build/config'
import type { SiteConfig } from '../build/config'

export type HeroContent = { hero: string; intro: string }
Expand Down Expand Up @@ -45,23 +44,13 @@ export function Home({
</div>
</section>

<section class="home-stats" aria-labelledby="stats-heading">
<h2 id="stats-heading">By the numbers</h2>
<section class="home-stats">
<ul class="home-stats__grid">
<li><strong>{visible.length}</strong> public projects</li>
<li><strong>{active}</strong> actively maintained</li>
<li><strong>{languages}</strong> languages</li>
</ul>
</section>

<section class="home-paths" aria-labelledby="paths-heading">
<h2 id="paths-heading">Where to next</h2>
<ul>
<li><a href={url('/work/', config.basePath)}>Explore our work</a></li>
<li><a href={url('/commitment/', config.basePath)}>Read our open source commitment</a></li>
<li><a href={url('/about/', config.basePath)}>Get in touch</a></li>
</ul>
</section>
</Layout>
)
}
Loading