Skip to content

Commit 7840dcd

Browse files
committed
feat: add promo pic and bio
1 parent 708eb0b commit 7840dcd

8 files changed

Lines changed: 75 additions & 33 deletions
1.67 MB
Loading
1000 KB
Loading
463 KB
Loading
6.4 MB
Loading
124 KB
Loading

src/App.css

Lines changed: 50 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#root {
22
max-width: 1280px;
33
margin: 0 auto;
4-
padding: 2rem;
54
text-align: center;
65
}
76

@@ -16,6 +15,56 @@
1615
filter: drop-shadow(0 0 2em #ffffff);
1716
}
1817

18+
.hero {
19+
width: 100vw;
20+
position: relative;
21+
left: calc((100% - 100vw) / 2);
22+
box-sizing: border-box;
23+
padding: 2rem 1rem;
24+
background-color: #1a1a1a;
25+
margin-bottom: 1rem;
26+
}
27+
28+
.hero-inner {
29+
display: flex;
30+
flex-direction: column-reverse;
31+
align-items: center;
32+
justify-content: center;
33+
gap: 1.5rem;
34+
}
35+
36+
.hero-bio {
37+
margin: 0;
38+
font-size: 1rem;
39+
line-height: 1.7;
40+
text-align: center;
41+
max-width: 90%;
42+
}
43+
44+
.promo-pic {
45+
max-height: 50vh;
46+
width: auto;
47+
display: block;
48+
cursor: pointer;
49+
}
50+
51+
@media (min-width: 900px) {
52+
.hero {
53+
padding: 0;
54+
}
55+
56+
.hero-inner {
57+
flex-direction: row;
58+
}
59+
60+
.hero-bio {
61+
width: calc(50vh * 857 / 1200);
62+
max-width: none;
63+
font-size: 1.7rem;
64+
text-align: left;
65+
}
66+
}
67+
1968
.audio-player {
2069
margin-top: 2rem;
2170
padding: 0 1.5rem 1.5rem 1.5rem;
@@ -89,25 +138,6 @@
89138
max-height: 600px;
90139
}
91140

92-
@media (prefers-color-scheme: light) {
93-
.logo:hover {
94-
filter: drop-shadow(0 0 2em #6b7280);
95-
}
96-
97-
.audio-player {
98-
background: rgba(0, 0, 0, 0.1);
99-
border: 1px solid rgba(0, 0, 0, 0.2);
100-
}
101-
102-
.audio-player h2 {
103-
color: #213547;
104-
}
105-
106-
.audio-player p {
107-
color: #4a5568;
108-
}
109-
}
110-
111141
@media (max-width: 600px) {
112142
#root {
113143
padding: 0;

src/App.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,30 @@ function App() {
1616
</div>
1717
<h1>zapperment.rocks</h1>
1818

19+
<div className="hero">
20+
<div className="hero-inner">
21+
<p className="hero-bio">
22+
Patrick Hund a.k.a. <strong>zapperment.rocks</strong> — beat maker, keyboardist and
23+
DJ from Wittstock, north-eastern Germany. His sound sits at the
24+
intersection of techno, house, rock and EDM. Genre lines exist to be
25+
ignored.
26+
</p>
27+
<a
28+
href="/zapperment-rocks_promo-pic_fete26_xl.png"
29+
target="_blank"
30+
rel="noopener noreferrer"
31+
>
32+
<img
33+
className="promo-pic"
34+
src="/zapperment-rocks_promo-pic_fete26_s.png"
35+
srcSet="/zapperment-rocks_promo-pic_fete26_xs.png 215w, /zapperment-rocks_promo-pic_fete26_s.png 429w, /zapperment-rocks_promo-pic_fete26_m.png 643w, /zapperment-rocks_promo-pic_fete26_l.png 857w"
36+
sizes="(max-width: 768px) 300px, 385px"
37+
alt="Zapperment.rocks promo photo from Fête 2026"
38+
/>
39+
</a>
40+
</div>
41+
</div>
42+
1943
<div className="audio-player">
2044
<h2>Party Girl</h2>
2145
<p>Live session 3, 18 Mar 2026</p>

src/index.css

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ body {
2828
place-items: center;
2929
min-width: 320px;
3030
min-height: 100vh;
31+
overflow-x: hidden;
3132
}
3233

3334
h1 {
@@ -53,16 +54,3 @@ button:focus,
5354
button:focus-visible {
5455
outline: 4px auto -webkit-focus-ring-color;
5556
}
56-
57-
@media (prefers-color-scheme: light) {
58-
:root {
59-
color: #213547;
60-
background-color: #ffffff;
61-
}
62-
a:hover {
63-
color: #747bff;
64-
}
65-
button {
66-
background-color: #f9f9f9;
67-
}
68-
}

0 commit comments

Comments
 (0)