Skip to content

Commit 4c1f1ab

Browse files
authored
Add cross-navigation footer (#13)
## Summary - Adds a shared cross-navigation toolbar above the existing footer on vscode.copilotkit.dev - Pill-shaped links to all 5 copilotkit.dev sub-properties (vscode, aimock, oversight, pathfinder, outpost) with colored dots - Current page (vscode) highlighted with accent border/glow, non-clickable - Responsive: pills wrap naturally, shrink below 640px, label hidden below 480px ## Test plan - [ ] Verify toolbar renders correctly at desktop width - [ ] Verify pills wrap properly on mobile - [ ] Verify active pill (vscode) is highlighted and non-clickable - [ ] Verify other pills link to correct URLs - [ ] Verify no visual regression to existing footer
2 parents a101a6f + c04fb9e commit 4c1f1ab

1 file changed

Lines changed: 92 additions & 0 deletions

File tree

docs/index.html

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,63 @@
841841
text-decoration: none;
842842
}
843843

844+
/* --- Cross-Nav Footer -------------------------------------------- */
845+
.cross-nav-footer {
846+
padding: 2rem 0;
847+
border-top: 1px solid var(--border);
848+
}
849+
.cross-nav-toolbar {
850+
max-width: 1120px;
851+
margin: 0 auto;
852+
padding: 0 2rem;
853+
display: flex;
854+
align-items: center;
855+
justify-content: center;
856+
gap: 0.5rem;
857+
flex-wrap: wrap;
858+
}
859+
.cn-label {
860+
font-family: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
861+
font-size: 0.8rem;
862+
color: var(--text-dim);
863+
margin-right: 0.25rem;
864+
white-space: nowrap;
865+
}
866+
.cn-pill {
867+
display: inline-flex;
868+
align-items: center;
869+
gap: 0.4rem;
870+
padding: 0.35rem 0.85rem;
871+
border: 1px solid var(--border);
872+
border-radius: 100px;
873+
font-family: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
874+
font-size: 0.75rem;
875+
font-weight: 500;
876+
color: var(--text-secondary);
877+
text-decoration: none;
878+
transition: border-color 0.2s, background 0.2s, color 0.2s;
879+
white-space: nowrap;
880+
}
881+
.cn-pill:hover {
882+
border-color: #3a3a50;
883+
color: var(--text-primary);
884+
text-decoration: none;
885+
background: rgba(255, 255, 255, 0.03);
886+
}
887+
.cn-pill.active {
888+
border-color: var(--accent);
889+
background: var(--accent-glow);
890+
color: var(--text-primary);
891+
cursor: default;
892+
pointer-events: none;
893+
}
894+
.cn-dot {
895+
width: 6px;
896+
height: 6px;
897+
border-radius: 50%;
898+
flex-shrink: 0;
899+
}
900+
844901
/* --- Mobile ----------------------------------------------------- */
845902
@media (max-width: 768px) {
846903
.nav-links {
@@ -868,13 +925,26 @@
868925
}
869926
}
870927

928+
@media (max-width: 640px) {
929+
.cross-nav-toolbar {
930+
gap: 0.4rem;
931+
}
932+
.cn-pill {
933+
font-size: 0.7rem;
934+
padding: 0.3rem 0.7rem;
935+
}
936+
}
937+
871938
@media (max-width: 480px) {
872939
.hero {
873940
padding: 8rem 0 4rem;
874941
}
875942
.hero h1 {
876943
font-size: 2rem;
877944
}
945+
.cn-label {
946+
display: none;
947+
}
878948
}
879949
</style>
880950
</head>
@@ -1369,6 +1439,28 @@ <h2 class="fade-in">Get started in seconds</h2>
13691439
</div>
13701440
</section>
13711441

1442+
<!-- Cross-navigation toolbar -->
1443+
<div class="cross-nav-footer">
1444+
<div class="cross-nav-toolbar">
1445+
<span class="cn-label">copilotkit.dev /</span>
1446+
<a class="cn-pill active" href="https://vscode.copilotkit.dev">
1447+
<span class="cn-dot" style="background:#aa66ff"></span>vscode
1448+
</a>
1449+
<a class="cn-pill" href="https://aimock.copilotkit.dev">
1450+
<span class="cn-dot" style="background:#00ff88"></span>aimock
1451+
</a>
1452+
<a class="cn-pill" href="https://oversight.copilotkit.dev">
1453+
<span class="cn-dot" style="background:#ff6688"></span>oversight
1454+
</a>
1455+
<a class="cn-pill" href="https://pathfinder.copilotkit.dev">
1456+
<span class="cn-dot" style="background:#00ccff"></span>pathfinder
1457+
</a>
1458+
<a class="cn-pill" href="https://outpost.copilotkit.dev">
1459+
<span class="cn-dot" style="background:#f97316"></span>outpost
1460+
</a>
1461+
</div>
1462+
</div>
1463+
13721464
<!-- --- Footer -------------------------------------------------- -->
13731465
<footer>
13741466
<div class="container">

0 commit comments

Comments
 (0)