Skip to content

Commit 871e2bf

Browse files
Gregg CochranCopilot
andcommitted
🐝 Add GitHub repo link button in hero section
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8659058 commit 871e2bf

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

β€Žsite/src/app/globals.cssβ€Ž

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,27 @@ a { color: inherit; text-decoration: none; }
353353
color: var(--amber);
354354
font-weight: 700;
355355
}
356+
.hero-github-link {
357+
display: inline-flex;
358+
align-items: center;
359+
gap: .5rem;
360+
padding: .65rem 1.5rem;
361+
border: 1px solid rgba(245,158,11,.3);
362+
border-radius: 999px;
363+
background: rgba(245,158,11,.08);
364+
color: var(--amber-300);
365+
font-size: .95rem;
366+
font-weight: 600;
367+
text-decoration: none;
368+
transition: all .3s;
369+
margin-bottom: 2rem;
370+
}
371+
.hero-github-link:hover {
372+
background: rgba(245,158,11,.15);
373+
border-color: var(--amber);
374+
box-shadow: 0 0 30px rgba(245,158,11,.12);
375+
transform: translateY(-2px);
376+
}
356377

357378
/* ─── Terminal ─── */
358379
.terminal {

β€Žsite/src/app/page.tsxβ€Ž

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,15 @@ export default function Home() {
185185
<span className="prop">Shadow-scored</span>
186186
</div>
187187

188+
<a
189+
href="https://github.com/DUBSOpenHub/swarm-command"
190+
target="_blank"
191+
rel="noopener noreferrer"
192+
className="hero-github-link"
193+
>
194+
⭐ View on GitHub β†’
195+
</a>
196+
188197
<div className="terminal">
189198
<div className="terminal-bar">
190199
<span className="dot dot-r" />

0 commit comments

Comments
Β (0)