Skip to content

Commit d4af552

Browse files
author
Yogthos
committed
site: add the dirge logo to the right of the hero title
Wraps the h1 + img/dirge.png in a flex row (logo right-aligned, responsive clamp 104–176px, subtle phosphor-green glow); stacks below the title on narrow screens.
1 parent 02efa2f commit d4af552

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

index.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,22 @@
202202
color:var(--fg-mute);margin-bottom:22px;font-family:var(--mono);
203203
}
204204
.hero-tag b{color:var(--green);font-weight:600}
205+
.hero-title{display:flex;align-items:center;gap:36px;margin-bottom:20px}
206+
.hero-title h1{flex:1;margin-bottom:0}
207+
.hero-logo{
208+
flex-shrink:0;width:clamp(104px,13vw,176px);height:auto;
209+
filter:drop-shadow(0 0 18px rgba(63,185,80,0.28));
210+
}
205211
.hero h1{
206212
font-size:clamp(40px,6vw,76px);
207213
font-weight:700;line-height:0.98;letter-spacing:-0.02em;
208214
color:var(--fg-hi);margin-bottom:20px;text-wrap:balance;
209215
}
210216
.hero h1 em{color:var(--green);font-style:normal}
217+
@media(max-width:640px){
218+
.hero-title{flex-direction:column;align-items:flex-start;gap:20px}
219+
.hero-logo{width:120px}
220+
}
211221
.hero .lede{
212222
font-size:16px;line-height:1.62;color:var(--fg-dim);
213223
max-width:600px;margin-bottom:28px;text-wrap:pretty;
@@ -538,7 +548,11 @@
538548
<!-- ═══ HERO ═══ -->
539549
<section class="hero sec">
540550
<div class="hero-tag">GPL-3.0 · Rust · <b>on crates.io</b></div>
541-
<h1><em>dirge</em> — The Batteries-Included<br>Rust Coding Agent</h1>
551+
<div class="hero-title">
552+
<h1><em>dirge</em> — The Batteries-Included<br>Rust Coding Agent</h1>
553+
<img class="hero-logo" src="img/dirge.png" width="500" height="500"
554+
alt="dirge logo" decoding="async">
555+
</div>
542556
<p class="lede">
543557
Everything on by default — <b>MCP, LSP, ACP</b>, a <b>Janet plugin system</b>,
544558
tree-sitter <b>code intelligence</b>, and <b>self-improving memory</b>. Yet it's

0 commit comments

Comments
 (0)