content: Portfolio-Bilder fürs Web optimiert (2048px, JPEG q82)

153 Kamera-Originale (bis 6772×4515 px, 4,4 MB einzeln) auf längste
Kante 2048px + Qualität 82 gebracht. public/assets/portfolio von 446 MB
auf 80 MB -> Pages-Artifact liegt deutlich unter jeder Upload-Grenze, der
interne pages:deploy bekommt kein Size-Problem mehr. HTML bleibt unangetastet
(.jpg-Wege bleiben). macOS-.DS_Store aus public/ entfernt.

Löst das seit Pipeline 60 blockierende 413/pages:deploy-Problem an der
Wurzel (Payload statt Server-Limit).

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude committed 2026-06-25 01:40:43 +02:00
1 parent ec2345ca44
commit 8c2d42cf9a
153 files changed
+2002 -300

No files matched your search

+175
View File
@@ -0,0 +1,175 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono&amp;family=Inter:wght@400;500;600;700;800&amp;display=swap" rel="stylesheet">
<style>
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#0a0a0a}
@keyframes aFocus{from{filter:blur(16px);transform:scale(1.07)}to{filter:blur(0);transform:scale(1)}}
@keyframes hudUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes hudIn{from{opacity:0}to{opacity:1}}
@keyframes blink{0%,48%{opacity:1}50%,100%{opacity:.12}}
@keyframes bracketSnap{from{opacity:0;transform:translate(-50%,-50%) scale(1.5)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes scrollHint{0%,100%{transform:translateX(-50%) translateY(0);opacity:.55}50%{transform:translateX(-50%) translateY(7px);opacity:1}}
</style>
</helmet>
<div ref="{{ track }}" style="position:relative;height:500vh;background:#0a0a0a">
<div style="position:sticky;top:0;height:100vh;width:100%;overflow:hidden;background:#0a0a0a">
<div ref="{{ heroWrap }}" style="position:absolute;inset:0;will-change:transform">
<img ref="{{ heroImg }}" src="assets/p01.jpg" alt="" style="position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(16px)">
</div>
<div style="position:absolute;inset:0;pointer-events:none;background:radial-gradient(125% 125% at 50% 42%, transparent 50%, rgba(0,0,0,.55) 100%)"></div>
<div ref="{{ hud }}" style="position:absolute;inset:0;pointer-events:none;color:#fff">
<div style="position:absolute;top:50%;left:50%;width:clamp(130px,28vmin,420px);height:clamp(130px,28vmin,420px);animation:bracketSnap 1.4s .35s cubic-bezier(.16,1,.3,1) both">
<div style="position:absolute;top:0;left:0;width:18%;height:18%;border-top:2px solid rgba(255,255,255,.95);border-left:2px solid rgba(255,255,255,.95)"></div>
<div style="position:absolute;top:0;right:0;width:18%;height:18%;border-top:2px solid rgba(255,255,255,.95);border-right:2px solid rgba(255,255,255,.95)"></div>
<div style="position:absolute;bottom:0;left:0;width:18%;height:18%;border-bottom:2px solid rgba(255,255,255,.95);border-left:2px solid rgba(255,255,255,.95)"></div>
<div style="position:absolute;bottom:0;right:0;width:18%;height:18%;border-bottom:2px solid rgba(255,255,255,.95);border-right:2px solid rgba(255,255,255,.95)"></div>
</div>
<div style="position:absolute;top:clamp(22px,5vmin,52px);left:clamp(22px,5vmin,56px);animation:hudUp .9s 1s both">
<div style="font-weight: 700; font-size: clamp(20px,4.6vmin,54px); line-height: 1; letter-spacing: .004em; font-family: Montserrat">LEON TONHÄUSER</div>
<div style="margin-top:1.6vmin;font-family:'Fragment Mono',monospace;font-size:clamp(8px,1.5vmin,13px);letter-spacing:.26em;color:rgba(255,255,255,.82)">SPORT- &amp; EVENTFOTOGRAFIE — HAMBURG</div>
</div>
<div style="position:absolute;left:clamp(22px,5vmin,56px);bottom:clamp(26px,6vmin,56px);animation:hudUp .9s 1.15s both">
<div ref="{{ expo }}" style="font-family:'Fragment Mono',monospace;font-size:clamp(9px,1.8vmin,15px);letter-spacing:.12em">1/2000s · f/2.8 · ISO800 · 400mm</div>
<div ref="{{ cap }}" style="margin-top:1.4vmin;font-family:'Fragment Mono',monospace;font-size:clamp(8px,1.45vmin,12px);line-height:1.4;letter-spacing:.07em;color:rgba(255,255,255,.66);max-width:62vw">RANSFORD KÖNIGSDÖRFFER · HSV · 1. BUNDESLIGA</div>
</div>
<div style="position:absolute;right:clamp(22px,5vmin,56px);bottom:clamp(26px,6vmin,56px);display:flex;align-items:center;gap:1.5vmin;animation:hudIn 1s 1.35s both">
<span style="width:1.4vmin;height:1.4vmin;min-width:7px;min-height:7px;border-radius:50%;background:#fff;box-shadow:0 0 9px rgba(255,255,255,.9);animation:blink 1.7s infinite"></span>
<span style="font-family:'Fragment Mono',monospace;font-size:clamp(8px,1.5vmin,13px);letter-spacing:.18em">FOCUS LOCKED</span>
</div>
<div ref="{{ hint }}" style="position:absolute;left:50%;bottom:clamp(18px,3.5vmin,40px);display:flex;flex-direction:column;align-items:center;gap:.9vmin;color:rgba(255,255,255,.85);animation:scrollHint 1.9s infinite">
<span style="font-family:'Fragment Mono',monospace;font-size:clamp(7px,1.3vmin,11px);letter-spacing:.34em">SCROLLEN</span>
<span style="font-size:clamp(12px,2.2vmin,18px);line-height:1">↓</span>
</div>
</div>
<div style="position:absolute;left:0;bottom:0;width:100%;height:2px;background:rgba(255,255,255,.16)">
<div ref="{{ bar }}" style="height:100%;width:0%;background:#fff"></div>
</div>
</div>
</div>
<section style="position:relative;min-height:100vh;background:#fcfcfc;color:#121212;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:10vmin 6vw;gap:0">
<div style="font-family:'Fragment Mono',monospace;font-size:clamp(10px,1.4vw,14px);letter-spacing:.3em;color:#98a2b3">SPORT- &amp; EVENTFOTOGRAFIE — HAMBURG</div>
<h1 style="margin:4vmin 0 0;font-weight:800;font-size:clamp(40px,8.5vw,140px);line-height:.92;letter-spacing:-.02em;text-wrap:balance">Momente,<br>die bleiben.</h1>
<div style="margin-top:5vmin;width:46px;height:2px;background:#121212"></div>
<div style="margin-top:5vmin;display:flex;gap:14px;flex-wrap:wrap;justify-content:center">
<a href="#" style="text-decoration:none;font-family:'Fragment Mono',monospace;font-size:13px;letter-spacing:.08em;color:#fff;background:#121212;padding:14px 26px;border-radius:100px">Portfolio ansehen →</a>
<a href="#" style="text-decoration:none;font-family:'Fragment Mono',monospace;font-size:13px;letter-spacing:.08em;color:#121212;background:transparent;padding:14px 26px;border-radius:100px;border:1px solid #d0d5dd">Kontakt</a>
</div>
</section>
</x-dc>
<script type="text/x-dc" data-dc-script data-props="{&quot;$preview&quot;:{&quot;width&quot;:&quot;100%&quot;,&quot;height&quot;:&quot;100%&quot;},&quot;focusBlur&quot;:{&quot;editor&quot;:&quot;int&quot;,&quot;default&quot;:16,&quot;min&quot;:4,&quot;max&quot;:28,&quot;tsType&quot;:&quot;number&quot;}}">
const META = {
p01:{cap:'RANSFORD KÖNIGSDÖRFFER · HSV · 1. BUNDESLIGA', ex:'1/2000s · f/2.8 · ISO800 · 400mm'},
p13:{cap:'SLAM DUNK · WORLD UNIVERSITY GAMES', ex:'1/1600s · f/2.8 · ISO1600 · 200mm'},
p15:{cap:'CHOREO · VOLKSPARKSTADION · HAMBURGER SV', ex:'1/500s · f/4.0 · ISO3200 · 24mm'},
p04:{cap:'TORJUBEL · FRAUEN-BUNDESLIGA', ex:'1/1250s · f/2.8 · ISO2000 · 135mm'},
p05:{cap:'FANKURVE · AUSWÄRTSSUPPORT', ex:'1/640s · f/2.8 · ISO2500 · 35mm'}
};
const HERO = ['p01','p13','p15','p04','p05'];
class Component extends DCLogic {
track = React.createRef(); heroWrap = React.createRef(); heroImg = React.createRef();
hud = React.createRef(); expo = React.createRef(); cap = React.createRef();
hint = React.createRef(); bar = React.createRef();
_idx = 0; _ticking = false;
componentDidMount(){
this._reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
this._blur = Math.max(4, Math.min(28, this.props.focusBlur ?? 16));
this._onScroll = this._onScroll.bind(this);
window.addEventListener('scroll', this._onScroll, { passive:true });
window.addEventListener('resize', this._onScroll);
this._onScroll();
setTimeout(()=>{
if(window.scrollY < 40){
if(this._reduce){ const img=this.heroImg.current; if(img) img.style.filter='none'; }
else { this._idx = 0; this._focusTo(0); }
}
}, 160);
}
componentWillUnmount(){
window.removeEventListener('scroll', this._onScroll);
window.removeEventListener('resize', this._onScroll);
}
_onScroll(){
if(this._ticking) return;
this._ticking = true;
requestAnimationFrame(()=>{ this._draw(); this._ticking = false; });
}
_draw(){
const tr = this.track.current; if(!tr) return;
const range = tr.offsetHeight - window.innerHeight;
const p = range > 0 ? Math.min(Math.max(-tr.getBoundingClientRect().top / range, 0), 1) : 0;
if(this.bar.current) this.bar.current.style.width = (p*100).toFixed(2) + '%';
if(this.hint.current) this.hint.current.style.opacity = p > 0.03 ? '0' : '';
if(this.hud.current) this.hud.current.style.opacity = p < 0.9 ? '1' : String(Math.max(0, 1 - (p-0.9)/0.1));
const pImg = Math.min(p / 0.85, 1);
const seg = 1 / HERO.length;
const idx = Math.min(Math.floor(pImg / seg), HERO.length - 1);
const segProg = (pImg - idx*seg) / seg;
if(this.heroWrap.current){
this.heroWrap.current.style.transform = 'scale(' + (1 + segProg*0.05).toFixed(4) + ') translateY(' + (segProg*-2).toFixed(2) + '%)';
}
if(idx !== this._idx){ this._idx = idx; this._focusTo(idx); }
}
_focusTo(i){
const key = HERO[i], m = META[key], img = this.heroImg.current;
if(img){
if(this._reduce){
img.src = 'assets/'+key+'.jpg'; img.style.filter='none'; img.style.transform='none'; img.style.opacity='1';
} else {
img.style.transition = 'none';
img.style.filter = 'blur(' + this._blur + 'px)';
img.style.transform = 'scale(1.06)';
img.style.opacity = '.45';
void img.offsetWidth;
img.src = 'assets/'+key+'.jpg';
img.style.transition = 'filter 1.3s cubic-bezier(.16,1,.3,1), transform 1.3s cubic-bezier(.16,1,.3,1), opacity .65s ease-out';
img.style.filter = 'blur(0px)';
img.style.transform = 'scale(1)';
img.style.opacity = '1';
}
}
if(this.expo.current) this.expo.current.textContent = m.ex;
if(this.cap.current) this.cap.current.textContent = m.cap;
}
renderVals(){
return {
track:this.track, heroWrap:this.heroWrap, heroImg:this.heroImg,
hud:this.hud, expo:this.expo, cap:this.cap, hint:this.hint, bar:this.bar
};
}
}
</script>
</body>
</html>
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 153 files, more files were not shown because too many files have changed in this diff. Show more