Replace Openverse images, fix blank space and spacing on mobile
Mirror to Gitea / mirror (push) Skipped
Mirror to Gitea / mirror (push) Skipped
- Swap every photo for Unsplash photos and Pixabay stickers/clipart, credited in IMAGE_CREDITS.md and /credits; regenerate effect images - Reveal animations never hide on-screen content and have a failsafe, so sections can no longer stay blank on phones - Tighter section and footer spacing on mobile; drop the unlabeled status dot on mobile and the blog's fake loading bar - Cover moves from the all-green poster to the board's mixed palette - New boombox, spray can and headphones stickers
This commit is contained in:
96 files changed
+293
-277
No files matched your search
+48
-28
@@ -19,16 +19,18 @@ import StickerPeel from '../components/bits/StickerPeel';
|
||||
import { SITE } from '../lib/site';
|
||||
import { DISCIPLINES, LINES } from '../lib/disciplines';
|
||||
|
||||
import motoJsr from '../assets/fx/motorcycle-jsr.webp';
|
||||
import motoToon from '../assets/fx/motorcycle-toon.webp';
|
||||
import guitarPop from '../assets/fx/guitar-strat-popart.webp';
|
||||
import cassettePhoto from '../assets/photos/cassette.jpg';
|
||||
import cassettePhoto from '../assets/photos/cassette.webp';
|
||||
import motoPixel from '../assets/fx/motorcycle-pixel.webp';
|
||||
import cassette from '../assets/fx/cassette-vintage.webp';
|
||||
import tv from '../assets/fx/tv-vintage.webp';
|
||||
import pile from '../assets/fx/computers-pile-pixel.webp';
|
||||
import guitar from '../assets/fx/guitar-strat-riso.webp';
|
||||
import gba from '../assets/photos/gba-sticker.png';
|
||||
import floppies from '../assets/photos/floppies-sticker.png';
|
||||
import gba from '../assets/photos/handheld-sticker.png';
|
||||
import floppies from '../assets/photos/floppy-sticker.png';
|
||||
import boombox from '../assets/photos/boombox-sticker.png';
|
||||
import spraycan from '../assets/photos/spraycan-sticker.png';
|
||||
|
||||
const gbaSticker = await getImage({ src: gba, width: 360, format: 'webp' });
|
||||
const floppySticker = await getImage({ src: floppies, width: 320, format: 'webp' });
|
||||
@@ -56,16 +58,16 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
<div class="speedlines" aria-hidden="true"></div>
|
||||
<div class="wrap cover-in">
|
||||
<div class="poster">
|
||||
<PosterBand word="YOYOS" captions={['TOOLS', 'WEB', 'GAMES', '3D', 'MUSIC']} />
|
||||
<PosterBand word="YOYOS" captions={['TOOLS', 'WEB', 'GAMES', '3D', 'MUSIC']} ink="var(--cta-red)" paper="#fffdf7" />
|
||||
|
||||
<div class="panels">
|
||||
<p class="plabel top">Software engineer ✦ Vol.{issue} {season} {now.getFullYear()}</p>
|
||||
|
||||
<figure class="p p1 hover-glitch">
|
||||
<Image src={motoJsr} alt="Cafe racer motorcycle printed as a two-tone street poster" widths={[400, 700, 960]} sizes="(min-width: 60rem) 40vw, 72vw" loading="eager" />
|
||||
<Image src={motoToon} alt="Cafe racer motorcycle, cel-shaded" widths={[400, 700, 960]} sizes="(min-width: 60rem) 40vw, 72vw" loading="eager" />
|
||||
</figure>
|
||||
<figure class="p p2">
|
||||
<AsciiCanvas client:visible src={asciiSrc.src} cols={34} fg="#e2e996" bg="#16261a" />
|
||||
<AsciiCanvas client:visible src={asciiSrc.src} cols={34} fg="#f9e300" bg="#141412" />
|
||||
<span class="plabel in">ASCII.EXE</span>
|
||||
</figure>
|
||||
<figure class="p p3 hover-glitch">
|
||||
@@ -73,8 +75,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
</figure>
|
||||
|
||||
<h1 class="tags">
|
||||
<Tag text="Johan" size="clamp(2.8rem, 14.5vw, 7.5rem)" color="var(--jsr-paper)" shadow="var(--cta-red)" rotate={-8} />
|
||||
<Tag text="Sandoval" font="drip" size="clamp(1.9rem, 9.6vw, 4.8rem)" color="var(--cta-yellow)" shadow="var(--jsr-ink)" rotate={-3} />
|
||||
<Tag text="Johan" size="clamp(2.8rem, 14.5vw, 7.5rem)" color="#fffdf7" shadow="var(--cta-blue)" rotate={-8} />
|
||||
<Tag text="Sandoval" font="drip" size="clamp(1.9rem, 9.6vw, 4.8rem)" color="var(--cta-yellow)" shadow="var(--cta-red)" rotate={-3} />
|
||||
</h1>
|
||||
|
||||
<p class="bubble say" aria-hidden="true">I build the tools teams run on!</p>
|
||||
@@ -86,7 +88,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
</div>
|
||||
|
||||
<div class="sticker sticker-gba" aria-hidden="true">
|
||||
<StickerPeel client:visible imageSrc={gbaSticker.src} width={120} rotate={-10} peelDirection={20} shadowIntensity={0.45} lightingIntensity={0.08} />
|
||||
<StickerPeel client:visible imageSrc={gbaSticker.src} width={84} rotate={-10} peelDirection={20} shadowIntensity={0.45} lightingIntensity={0.08} />
|
||||
</div>
|
||||
<span class="sparkle s1" style="--s:1.5rem;--c:#fff;--d:1.8s" aria-hidden="true"></span>
|
||||
<span class="sparkle s2" style="--s:1.1rem;--c:var(--cta-pink);--d:2.6s" aria-hidden="true"></span>
|
||||
@@ -163,6 +165,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
<StickerPeel client:visible imageSrc={floppySticker.src} width={130} rotate={12} peelDirection={-30} shadowIntensity={0.4} lightingIntensity={0.06} />
|
||||
</div>
|
||||
<p class="bubble pow">Pow!</p>
|
||||
<Image class="boombox sticker-pop" src={boombox} alt="" widths={[200, 320]} sizes="9rem" />
|
||||
</div>
|
||||
|
||||
<div class="stats" data-reveal data-reveal-stagger>
|
||||
@@ -199,6 +202,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
<section class="wrap section">
|
||||
<div class="head" data-reveal>
|
||||
<h2><span class="hl" style="--c: var(--cta-yellow)">What I work on</span></h2>
|
||||
<Image class="spraycan sticker-pop" src={spraycan} alt="" widths={[120, 200]} sizes="4.5rem" />
|
||||
</div>
|
||||
<div class="what">
|
||||
<ul class="lines" data-reveal data-reveal-stagger>
|
||||
@@ -253,12 +257,12 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
padding-block: var(--space-4) var(--space-7);
|
||||
color: var(--ink);
|
||||
background:
|
||||
radial-gradient(circle, color-mix(in oklab, var(--jsr-ink) 25%, transparent) 1.2px, transparent 1.6px) 0 0 / 9px 9px,
|
||||
radial-gradient(circle, color-mix(in oklab, var(--cta-red) 22%, transparent) 1.2px, transparent 1.6px) 0 0 / 9px 9px,
|
||||
var(--paper);
|
||||
border-bottom: 3px solid var(--ink);
|
||||
}
|
||||
.cover > .speedlines {
|
||||
color: var(--jsr-ink);
|
||||
color: var(--ink);
|
||||
}
|
||||
.cover-in {
|
||||
position: relative;
|
||||
@@ -272,8 +276,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
border: 3px solid var(--ink);
|
||||
background: var(--jsr-paper);
|
||||
box-shadow: 7px 7px 0 var(--ink);
|
||||
background: #fffdf7;
|
||||
box-shadow: 7px 7px 0 var(--cta-blue);
|
||||
/* fold creases across the whole poster */
|
||||
background-image:
|
||||
linear-gradient(90deg, transparent calc(50% - 1px), rgb(255 255 255 / 0.35) calc(50% - 1px) 50%, rgb(0 0 0 / 0.12) 50% calc(50% + 2px), transparent calc(50% + 2px)),
|
||||
@@ -304,7 +308,7 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
font-size: clamp(0.55rem, 2.4vw, 0.85rem);
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: var(--jsr-ink);
|
||||
color: var(--ink);
|
||||
}
|
||||
.plabel.top {
|
||||
grid-area: top;
|
||||
@@ -317,8 +321,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
position: relative;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
border: 3px solid var(--jsr-ink);
|
||||
background: var(--jsr-ink);
|
||||
border: 3px solid var(--ink);
|
||||
background: var(--ink);
|
||||
}
|
||||
.p :global(img) {
|
||||
width: 100%;
|
||||
@@ -345,8 +349,8 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
left: 4px;
|
||||
bottom: 3px;
|
||||
padding: 0 4px;
|
||||
background: var(--jsr-ink);
|
||||
color: var(--jsr-paper);
|
||||
background: var(--cta-yellow);
|
||||
color: var(--ink);
|
||||
font-size: 0.55rem;
|
||||
}
|
||||
.tags {
|
||||
@@ -422,10 +426,10 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
z-index: 4;
|
||||
}
|
||||
.sticker-gba {
|
||||
left: 34%;
|
||||
top: 46%;
|
||||
width: 120px;
|
||||
height: 90px;
|
||||
right: -0.8rem;
|
||||
top: 40%;
|
||||
width: 84px;
|
||||
height: 110px;
|
||||
}
|
||||
.panels > .sparkle {
|
||||
position: absolute;
|
||||
@@ -512,18 +516,18 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
rotate: -1.2deg;
|
||||
}
|
||||
.cl-2 {
|
||||
background: var(--jsr-paper);
|
||||
background: #fffdf7;
|
||||
rotate: 0.8deg;
|
||||
}
|
||||
.cl-3 {
|
||||
background: var(--jsr-ink);
|
||||
color: var(--jsr-paper);
|
||||
background: var(--cta-blue);
|
||||
color: #fff;
|
||||
rotate: -0.6deg;
|
||||
}
|
||||
.strip {
|
||||
border: 2px solid var(--ink);
|
||||
--a: var(--jsr-ink);
|
||||
--b: var(--jsr-paper);
|
||||
--a: var(--ink);
|
||||
--b: var(--cta-yellow);
|
||||
}
|
||||
.cover :global(.burst) {
|
||||
position: absolute;
|
||||
@@ -685,6 +689,22 @@ const issue = String(now.getMonth() + 1).padStart(2, '0');
|
||||
.pow::after {
|
||||
background: var(--cta-yellow);
|
||||
}
|
||||
.collage :global(.boombox) {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
left: -0.5rem;
|
||||
bottom: 3.5rem;
|
||||
width: 7.5rem;
|
||||
height: auto;
|
||||
rotate: -9deg;
|
||||
}
|
||||
.spraycan,
|
||||
.head :global(.spraycan) {
|
||||
width: 3.6rem;
|
||||
height: auto;
|
||||
rotate: 18deg;
|
||||
margin-left: auto;
|
||||
}
|
||||
.stats {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
|
||||
Reference in new issue
Block a user