Each page now has its own look drawn from print and retro-tech references: magazine-cover home, subway-map work index, technical-poster project pages, 90s-desktop blog, radio-flyer music page, 80s wireframe 3D page, garden about page and postcard contact form. A shared subway-line color system ties sections and project categories together. Replace themed copy with standard wording (Work, Blog, Music, 3D, About, Contact; Selected work, Experience, Get in touch). Rename /log to /blog and /sound to /music with redirects.
This commit is contained in:
61 files changed
+2770
-1108
No files matched your search
+302
-142
@@ -2,90 +2,98 @@
|
||||
import { getCollection } from 'astro:content';
|
||||
import Base from '../layouts/Base.astro';
|
||||
import ProjectCard from '../components/ProjectCard.astro';
|
||||
import SectionHead from '../components/SectionHead.astro';
|
||||
import LineBadge from '../components/LineBadge.astro';
|
||||
import Starburst from '../components/deco/Starburst.astro';
|
||||
import Barcode from '../components/deco/Barcode.astro';
|
||||
import { SITE } from '../lib/site';
|
||||
import { DISCIPLINES } from '../content.config';
|
||||
import { DISCIPLINES, LINES } from '../lib/disciplines';
|
||||
|
||||
const work = (await getCollection('work')).sort((a, b) => +b.data.date - +a.data.date);
|
||||
const featured = work.find((p) => p.data.featured) ?? work[0];
|
||||
const rest = work.filter((p) => p !== featured).slice(0, 3);
|
||||
const posts = (await getCollection('log', ({ data }) => !data.draft))
|
||||
const work = (await getCollection('work')).sort(
|
||||
(a, b) => Number(b.data.featured) - Number(a.data.featured) || +b.data.date - +a.data.date,
|
||||
);
|
||||
const selected = work.slice(0, 6);
|
||||
const posts = (await getCollection('blog', ({ data }) => !data.draft))
|
||||
.sort((a, b) => +b.data.date - +a.data.date)
|
||||
.slice(0, 3);
|
||||
|
||||
const counts = Object.fromEntries(
|
||||
DISCIPLINES.map((d) => [d, work.filter((p) => p.data.disciplines.includes(d)).length]),
|
||||
);
|
||||
const disciplineLabels: Record<string, string> = {
|
||||
software: 'Software & tools',
|
||||
web: 'Web',
|
||||
game: 'Games',
|
||||
hardware: 'Hardware',
|
||||
'3d': '3D modeling',
|
||||
music: 'Music',
|
||||
};
|
||||
|
||||
const fmt = (d: Date) => d.toISOString().slice(0, 10).replaceAll('-', '.');
|
||||
const fmt = (d: Date) => d.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' });
|
||||
const now = new Date();
|
||||
const season = ['Winter', 'Spring', 'Summer', 'Fall'][Math.floor(((now.getMonth() + 1) % 12) / 3)];
|
||||
---
|
||||
|
||||
<Base>
|
||||
<section class="hero wrap">
|
||||
<div class="boot label" aria-hidden="true">
|
||||
<span>SYS://YOYOS.SH</span>
|
||||
<span>BOOT OK</span>
|
||||
<span>{SITE.coords}</span>
|
||||
<!-- ===== Cover ===== -->
|
||||
<section class="cover wrap">
|
||||
<div class="masthead">
|
||||
<span>Portfolio · {season} {now.getFullYear()}</span>
|
||||
<span>{SITE.location}</span>
|
||||
<span class="price">Free</span>
|
||||
</div>
|
||||
|
||||
<h1 class="name">
|
||||
<span>Johan</span>
|
||||
<span class="outline">Sandoval</span>
|
||||
<h1 class="title">
|
||||
<span class="l1">Johan</span>
|
||||
<span class="l2">Sandoval</span>
|
||||
</h1>
|
||||
<p class="kana" aria-hidden="true">ジョハン・サンドバル</p>
|
||||
|
||||
<div class="intro">
|
||||
<Starburst class="burst" color="var(--yellow)" size="clamp(7.5rem, 14vw, 11rem)" rotate={12}>
|
||||
{SITE.availability.open ? 'Open to work!' : 'Say hi!'}
|
||||
</Starburst>
|
||||
|
||||
<div class="deck">
|
||||
<p class="role">Software engineer<br />building internal tools, automation & web apps.</p>
|
||||
<p class="lede">
|
||||
Software engineer who builds the tools other teams run on. <span class="accent"
|
||||
>Dashboards, automation and web apps</span
|
||||
>, plus games, 3D models, hardware and music on the side.
|
||||
I make the software operations teams run on: dashboards, deployment tooling and the APIs
|
||||
behind them. On the side I make games, 3D models, hardware and music.
|
||||
</p>
|
||||
|
||||
<dl class="readout panel" data-tab="Operator">
|
||||
<dt>Role</dt>
|
||||
<dd>{SITE.role}</dd>
|
||||
<dt>Base</dt>
|
||||
<dd>{SITE.location}</dd>
|
||||
<dt>Status</dt>
|
||||
<dd class:list={[SITE.availability.open ? 'accent' : 'signal']}>
|
||||
{SITE.availability.text}<span class="blink">_</span>
|
||||
</dd>
|
||||
<dt>Stack</dt>
|
||||
<dd>TypeScript · Python · PowerShell · React · SQL · Docker</dd>
|
||||
</dl>
|
||||
<div class="cluster">
|
||||
<a class="btn btn--primary" href="/work">See my work</a>
|
||||
<a class="btn" href="/contact">Hire me</a>
|
||||
<a class="btn" href={SITE.resume}>Résumé (PDF)</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cluster cta">
|
||||
<a class="btn btn--primary" href="/work">View work</a>
|
||||
<a class="btn" href="/contact">Hire me</a>
|
||||
<a class="btn" href={SITE.resume}>Résumé (PDF)</a>
|
||||
<ul class="stats" aria-label="Highlights">
|
||||
<li style="--c: var(--lime)"><b>16,000+</b> devices deployed with my tooling</li>
|
||||
<li style="--c: var(--pink)"><b>10 → 25</b> daily builds after shipping USMT Dash</li>
|
||||
<li style="--c: var(--sky)"><b>2 yrs</b> as technical lead on enterprise rollouts</li>
|
||||
</ul>
|
||||
|
||||
<div class="corner">
|
||||
<Barcode value="YOYOS.SH-2026" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ===== Selected work ===== -->
|
||||
<section class="wrap section">
|
||||
<SectionHead code="01" title="Case files" href="/work" linkLabel="All work" />
|
||||
{featured && <ProjectCard project={featured} index={1} large />}
|
||||
<div class="head">
|
||||
<h2><span class="hl" style="--c: var(--lime)">Selected work</span></h2>
|
||||
<a class="more" href="/work">All projects →</a>
|
||||
</div>
|
||||
<div class="grid">
|
||||
{rest.map((p, i) => <ProjectCard project={p} index={i + 2} />)}
|
||||
{selected.map((p, i) => <ProjectCard project={p} index={i + 1} />)}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ===== What I do ===== -->
|
||||
<section class="wrap section">
|
||||
<SectionHead code="02" title="Disciplines" />
|
||||
<ul class="disciplines">
|
||||
<div class="head">
|
||||
<h2><span class="hl" style="--c: var(--sky)">What I work on</span></h2>
|
||||
</div>
|
||||
<ul class="lines">
|
||||
{
|
||||
DISCIPLINES.map((d) => (
|
||||
<li>
|
||||
<a href={d === 'music' ? '/sound' : `/work?d=${d}`}>
|
||||
<span class="label">{String(counts[d]).padStart(2, '0')} files</span>
|
||||
<span class="dname">{disciplineLabels[d]}</span>
|
||||
<li style={`--c:${LINES[d].color}`}>
|
||||
<a href={d === 'music' ? '/music' : d === '3d' ? '/models' : `/work?d=${d}`}>
|
||||
<LineBadge d={d} size="2.4rem" />
|
||||
<span class="lname">{LINES[d].label}</span>
|
||||
<span class="track" aria-hidden="true" />
|
||||
<span class="count">
|
||||
{counts[d]} {counts[d] === 1 ? 'project' : 'projects'}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
))
|
||||
@@ -93,18 +101,20 @@ const fmt = (d: Date) => d.toISOString().slice(0, 10).replaceAll('-', '.');
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<!-- ===== Blog ===== -->
|
||||
<section class="wrap section">
|
||||
<SectionHead code="03" title="Transmissions" href="/log" linkLabel="Full log" />
|
||||
<ol class="log">
|
||||
<div class="head">
|
||||
<h2><span class="hl" style="--c: var(--pink)">From the blog</span></h2>
|
||||
<a class="more" href="/blog">All posts →</a>
|
||||
</div>
|
||||
<ol class="posts">
|
||||
{
|
||||
posts.map((post) => (
|
||||
<li>
|
||||
<a href={`/log/${post.id}`}>
|
||||
<time class="label" datetime={post.data.date.toISOString()}>
|
||||
{fmt(post.data.date)}
|
||||
</time>
|
||||
<a href={`/blog/${post.id}`}>
|
||||
<time datetime={post.data.date.toISOString()}>{fmt(post.data.date)}</time>
|
||||
<span class="ptitle">{post.data.title}</span>
|
||||
<span class="muted">{post.data.summary}</span>
|
||||
<span class="psum">{post.data.summary}</span>
|
||||
</a>
|
||||
</li>
|
||||
))
|
||||
@@ -114,120 +124,270 @@ const fmt = (d: Date) => d.toISOString().slice(0, 10).replaceAll('-', '.');
|
||||
</Base>
|
||||
|
||||
<style>
|
||||
.hero {
|
||||
/* ---------- cover ---------- */
|
||||
.cover {
|
||||
position: relative;
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
padding-block: var(--space-8) var(--space-7);
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
|
||||
grid-template-areas:
|
||||
'mast mast'
|
||||
'title title'
|
||||
'deck stats';
|
||||
gap: var(--space-5) var(--space-7);
|
||||
margin-top: var(--space-6);
|
||||
padding: var(--space-5) var(--space-6) 5.5rem;
|
||||
border: 3px solid var(--ink);
|
||||
background:
|
||||
radial-gradient(circle, color-mix(in oklab, var(--red) 22%, transparent) 1.3px, transparent 1.7px) 0 0 / 11px 11px,
|
||||
var(--paper-2);
|
||||
box-shadow: 10px 10px 0 var(--ink);
|
||||
overflow: hidden;
|
||||
}
|
||||
.boot {
|
||||
.masthead {
|
||||
grid-area: mast;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-5);
|
||||
border-bottom: 1px dashed var(--line);
|
||||
gap: var(--space-2) var(--space-5);
|
||||
align-items: center;
|
||||
padding-bottom: var(--space-3);
|
||||
border-bottom: 3px solid var(--ink);
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 700;
|
||||
font-size: 0.85rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
.boot span:nth-child(2) {
|
||||
color: var(--accent);
|
||||
.price {
|
||||
margin-inline-start: auto;
|
||||
padding: 0.1em 0.6em;
|
||||
background: var(--red);
|
||||
color: #fff;
|
||||
}
|
||||
.name {
|
||||
.title {
|
||||
grid-area: title;
|
||||
display: grid;
|
||||
font-size: var(--step-5);
|
||||
line-height: 0.82;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.01em;
|
||||
font-family: var(--ff-mag);
|
||||
font-size: clamp(3.5rem, 13vw, 11.5rem);
|
||||
line-height: 0.86;
|
||||
letter-spacing: -0.04em;
|
||||
padding-right: 3.5rem;
|
||||
}
|
||||
.outline {
|
||||
color: transparent;
|
||||
-webkit-text-stroke: 2px var(--fg);
|
||||
text-shadow: none;
|
||||
.l1 {
|
||||
color: var(--red);
|
||||
-webkit-text-stroke: 3px var(--ink);
|
||||
paint-order: stroke fill;
|
||||
text-shadow: 6px 6px 0 var(--ink);
|
||||
}
|
||||
.intro {
|
||||
.l2 {
|
||||
color: var(--ink);
|
||||
margin-left: 0.35em;
|
||||
text-shadow: 6px 6px 0 var(--lime);
|
||||
}
|
||||
.kana {
|
||||
position: absolute;
|
||||
top: 4.5rem;
|
||||
right: var(--space-5);
|
||||
writing-mode: vertical-rl;
|
||||
font-family: var(--ff-mag);
|
||||
font-size: clamp(1.1rem, 2.4vw, 1.9rem);
|
||||
color: var(--cobalt);
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
.cover :global(.burst) {
|
||||
position: absolute;
|
||||
top: clamp(5rem, 8vw, 7rem);
|
||||
right: clamp(4rem, 14vw, 13rem);
|
||||
}
|
||||
.deck {
|
||||
grid-area: deck;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
|
||||
gap: var(--space-7);
|
||||
align-items: start;
|
||||
gap: var(--space-4);
|
||||
align-content: start;
|
||||
}
|
||||
.role {
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 800;
|
||||
font-stretch: 105%;
|
||||
font-size: var(--step-2);
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
.lede {
|
||||
font-size: var(--step-2);
|
||||
line-height: 1.25;
|
||||
max-width: 30ch;
|
||||
max-width: 46ch;
|
||||
font-size: var(--step-0);
|
||||
color: var(--ink-2);
|
||||
}
|
||||
.readout.panel {
|
||||
margin-top: var(--space-4);
|
||||
.stats {
|
||||
grid-area: stats;
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
align-content: start;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.stats li {
|
||||
padding: 0.7rem 0.9rem;
|
||||
background: var(--c);
|
||||
border: 2px solid var(--ink);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.stats li:nth-child(1) {
|
||||
rotate: -1.5deg;
|
||||
}
|
||||
.stats li:nth-child(2) {
|
||||
rotate: 1deg;
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
.stats li:nth-child(3) {
|
||||
rotate: -0.5deg;
|
||||
}
|
||||
.stats b {
|
||||
display: block;
|
||||
font-family: var(--ff-mag);
|
||||
font-weight: 400;
|
||||
font-size: var(--step-2);
|
||||
line-height: 1;
|
||||
}
|
||||
.corner {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-top: 2px solid var(--ink);
|
||||
border-left: 2px solid var(--ink);
|
||||
}
|
||||
|
||||
@media (max-width: 52rem) {
|
||||
.cover {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-areas: 'mast' 'title' 'deck' 'stats';
|
||||
padding-inline: var(--space-4);
|
||||
padding-bottom: 6rem;
|
||||
box-shadow: 6px 6px 0 var(--ink);
|
||||
}
|
||||
.kana {
|
||||
display: none;
|
||||
}
|
||||
.title {
|
||||
padding-right: 0;
|
||||
}
|
||||
.cover :global(.burst) {
|
||||
top: 4.5rem;
|
||||
right: var(--space-2);
|
||||
width: 5.75rem;
|
||||
}
|
||||
.stats li:nth-child(2) {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- sections ---------- */
|
||||
.head {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: end;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
.head h2 {
|
||||
font-size: var(--step-4);
|
||||
}
|
||||
.hl {
|
||||
padding: 0 0.15em;
|
||||
background: linear-gradient(transparent 55%, var(--c) 55% 92%, transparent 92%);
|
||||
}
|
||||
.more {
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 700;
|
||||
}
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
|
||||
gap: var(--space-5);
|
||||
margin-top: var(--space-5);
|
||||
}
|
||||
|
||||
.disciplines {
|
||||
.lines {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
|
||||
gap: var(--space-3);
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
border-top: var(--border-w) solid var(--line);
|
||||
border-left: var(--border-w) solid var(--line);
|
||||
}
|
||||
.disciplines a {
|
||||
.lines a {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
min-height: 9rem;
|
||||
align-content: space-between;
|
||||
padding: var(--space-4);
|
||||
border-right: var(--border-w) solid var(--line);
|
||||
border-bottom: var(--border-w) solid var(--line);
|
||||
color: var(--fg);
|
||||
grid-template-columns: auto auto 1fr auto;
|
||||
align-items: center;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-2) 0;
|
||||
text-decoration: none;
|
||||
transition: background 0.15s var(--ease);
|
||||
color: var(--ink);
|
||||
}
|
||||
.disciplines a:hover {
|
||||
background: var(--accent);
|
||||
color: var(--accent-fg);
|
||||
}
|
||||
.disciplines a:hover .label {
|
||||
color: inherit;
|
||||
}
|
||||
.dname {
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--step-2);
|
||||
.lname {
|
||||
font-family: var(--ff-grotesk);
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.log {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
.log a {
|
||||
display: grid;
|
||||
grid-template-columns: 8rem 1fr;
|
||||
gap: var(--space-1) var(--space-5);
|
||||
padding-block: var(--space-4);
|
||||
border-bottom: 1px solid var(--line);
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.log a:hover .ptitle {
|
||||
color: var(--signal);
|
||||
}
|
||||
.log .muted {
|
||||
grid-column: 2;
|
||||
}
|
||||
.ptitle {
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--step-2);
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
line-height: 1;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
.track {
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
background: var(--c);
|
||||
border: 2px solid var(--ink);
|
||||
transition: transform 0.25s var(--ease);
|
||||
transform-origin: left;
|
||||
}
|
||||
.lines a:hover .track {
|
||||
transform: scaleX(1.03);
|
||||
}
|
||||
.count {
|
||||
font-family: var(--ff-mono);
|
||||
font-size: var(--step--1);
|
||||
}
|
||||
@media (max-width: 40rem) {
|
||||
.log a {
|
||||
.lines a {
|
||||
grid-template-columns: auto 1fr auto;
|
||||
}
|
||||
.track {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.posts {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
border-top: 3px solid var(--ink);
|
||||
}
|
||||
.posts a {
|
||||
display: grid;
|
||||
grid-template-columns: 9rem 1fr;
|
||||
gap: 0.2rem var(--space-5);
|
||||
padding-block: var(--space-4);
|
||||
border-bottom: 2px solid var(--ink);
|
||||
text-decoration: none;
|
||||
color: var(--ink);
|
||||
}
|
||||
.posts a:hover {
|
||||
background: var(--lime);
|
||||
}
|
||||
time {
|
||||
font-family: var(--ff-mono);
|
||||
font-size: var(--step--1);
|
||||
padding-top: 0.3em;
|
||||
}
|
||||
.ptitle {
|
||||
font-family: var(--ff-mag);
|
||||
font-size: var(--step-2);
|
||||
line-height: 1.1;
|
||||
}
|
||||
.psum {
|
||||
grid-column: 2;
|
||||
color: var(--ink-2);
|
||||
}
|
||||
@media (max-width: 40rem) {
|
||||
.posts a {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.log .muted {
|
||||
.psum {
|
||||
grid-column: 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user