Skip to content

Commit 3408f1d

Browse files
committed
Rework hero copy and footer to match QRGenerator
1 parent 9b23226 commit 3408f1d

4 files changed

Lines changed: 49 additions & 24 deletions

File tree

1.61 MB
Loading

src/components/GithubGlyph.astro

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
type Props = {size?: number}
3+
const {size = 15} = Astro.props
4+
---
5+
6+
<svg viewBox="0 0 16 16" width={size} height={size} aria-hidden="true" fill="currentColor">
7+
<path
8+
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.4 7.4 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
9+
></path>
10+
</svg>

src/components/ProjectCard.astro

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import type {Project} from '../data/projects'
3+
import GithubGlyph from './GithubGlyph.astro'
34
45
type Props = {project: Project}
56
@@ -44,11 +45,7 @@ const fallback = `linear-gradient(135deg, hsl(${hue} 42% 22%), hsl(${hue + 14} 3
4445
)
4546
}
4647
<a class="gh" href={project.github} target="_blank" rel="noopener">
47-
<svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true" fill="currentColor">
48-
<path
49-
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.4 7.4 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
50-
></path>
51-
</svg>
48+
<GithubGlyph />
5249
GitHub
5350
</a>
5451
</div>

src/pages/index.astro

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import Base from '../layouts/Base.astro'
3+
import GithubGlyph from '../components/GithubGlyph.astro'
34
import BlogTile from '../components/BlogTile.astro'
45
import Section from '../components/Section.astro'
56
import {projects, sections} from '../data/projects'
@@ -24,11 +25,8 @@ const description =
2425
<span>dev</span>
2526
</a>
2627

27-
<h1>Tools we built<br />because we needed them</h1>
28-
<p class="lede">
29-
Everything here came out of a real itch at itenium: a talk to give, a PDF to split, a
30-
notification worth noticing. All of it is open source.
31-
</p>
28+
<h1>Tools we built</h1>
29+
<p class="lede">Free and open-source tooling by itenium.</p>
3230

3331
<nav class="jump">
3432
{sections.map((section) => <a href={`#${section.id}`}>{section.title}</a>)}
@@ -53,10 +51,19 @@ const description =
5351

5452
<footer>
5553
<div class="wrap foot-inner">
56-
<p>Built at <a href="https://itenium.be" target="_blank" rel="noopener">itenium</a></p>
57-
<p>
58-
<a href="https://github.com/itenium-be" target="_blank" rel="noopener">github.com/itenium-be</a>
59-
</p>
54+
<a class="built" href="https://itenium.be" target="_blank" rel="noopener">
55+
<span>Built at</span>
56+
<img
57+
src="https://itenium.be/wp-content/uploads/2025/11/logo-itenium.svg"
58+
alt="itenium"
59+
width="74"
60+
height="18"
61+
/>
62+
</a>
63+
<a class="source" href="https://github.com/itenium-be" target="_blank" rel="noopener">
64+
<GithubGlyph size={16} />
65+
<span>Source</span>
66+
</a>
6067
</div>
6168
</footer>
6269
</Base>
@@ -163,23 +170,34 @@ const description =
163170

164171
.foot-inner {
165172
display: flex;
166-
justify-content: space-between;
167-
gap: 16px;
173+
align-items: center;
174+
gap: 14px;
168175
flex-wrap: wrap;
169176
color: var(--muted);
170-
font-size: 0.86rem;
177+
font-size: 0.79rem;
171178
}
172179

173-
.foot-inner p {
174-
margin: 0;
180+
.built,
181+
.source {
182+
display: inline-flex;
183+
align-items: center;
184+
gap: 8px;
185+
text-decoration: none;
186+
color: var(--muted);
187+
transition: color 0.18s ease;
175188
}
176189

177-
.foot-inner a {
178-
color: var(--accent);
179-
text-decoration: none;
190+
.built:hover,
191+
.source:hover {
192+
color: var(--text);
193+
}
194+
195+
.built img {
196+
height: 18px;
197+
width: auto;
180198
}
181199

182-
.foot-inner a:hover {
183-
text-decoration: underline;
200+
.source {
201+
margin-left: auto;
184202
}
185203
</style>

0 commit comments

Comments
 (0)