@@ -51,8 +51,8 @@ const labActive = (href: string) =>
5151 <nav class =" site-nav" >
5252 <div class =" shell nav-inner" >
5353 <a href =" /" class =" brand mono" >
54- <img src =" /icons/foilsuite-128.png" alt =" " width =" 24" height =" 24" />
55- foil<span class =" slash" >/</span >suite
54+ <img src ={ isLab ? " /icons/foillab-128.png " : " /icons/ foilsuite-128.png" } alt =" " width =" 24" height =" 24" />
55+ foil<span class =" slash" >/</span >{ isLab ? " lab " : " suite" }
5656 </a >
5757 <div class =" nav-links mono" >
5858 <a href =" /#modules" >modules</a >
@@ -66,6 +66,11 @@ const labActive = (href: string) =>
6666 { isLab && (
6767 <nav class = " lab-subnav" >
6868 <div class = " shell lab-subnav-inner mono" >
69+ <a href = " /lab" class :list = { [' lab-sub-brand' , { ' lab-sub-active' : labActive (' /lab' ) }]} >
70+ <img src = " /icons/foillab-128.png" width = " 16" height = " 16" alt = " " />
71+ foil/lab
72+ </a >
73+ <span class = " lab-sub-sep" >·</span >
6974 <a href = " /lab/challenges" class :list = { [' lab-sub-link' , { ' lab-sub-active' : labActive (' /lab/challenges' ) }]} >challenges</a >
7075 <a href = " /lab/scoreboard" class :list = { [' lab-sub-link' , { ' lab-sub-active' : labActive (' /lab/scoreboard' ) }]} >scoreboard</a >
7176 <a href = " /lab/certificate" class :list = { [' lab-sub-link' , { ' lab-sub-active' : labActive (' /lab/certificate' ) }]} >certificate</a >
@@ -282,6 +287,24 @@ const labActive = (href: string) =>
282287 padding-bottom: 10px;
283288 overflow-x: auto;
284289 }
290+ .lab-sub-brand {
291+ display: inline-flex;
292+ align-items: center;
293+ gap: 7px;
294+ font-size: 13px;
295+ font-weight: 600;
296+ color: var(--muted);
297+ text-decoration: none;
298+ transition: color 0.15s;
299+ flex-shrink: 0;
300+ }
301+ .lab-sub-brand img { border-radius: 4px; }
302+ .lab-sub-brand:hover { color: var(--text); }
303+ .lab-sub-sep {
304+ color: var(--hair);
305+ font-size: 12px;
306+ flex-shrink: 0;
307+ }
285308 .lab-sub-link {
286309 font-size: 12px;
287310 color: var(--dim);
0 commit comments