Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/renderer/src/hub/SiteNav.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ─── Shared site navigation ──────────────────────────────────────────────────
//
// The same bar as radical.tools / docs (website/landing.css `.site-nav`):
// Home · Hub · Docs | Open Studio | GitHub · theme. Keep markup and class
// Home · Docs | Hub · Studio | GitHub · theme. Keep markup and class
// names in sync with website/index.html and website/manual.html.

import React from 'react'
Expand All @@ -25,10 +25,10 @@ export function SiteNav({ studioUrl, theme, onToggleTheme, onHub }: SiteNavProps
<a className="site-nav-logo" href="https://radical.tools" aria-label="Radical.Tools"><span className="site-nav-mark">R</span></a>
<nav className="site-nav-links">
<a className="site-nav-btn" href="https://radical.tools">Home</a>
<button type="button" className="site-nav-btn active" onClick={onHub}>Hub</button>
<a className="site-nav-btn" href="https://radical.tools/manual.html">Docs</a>
<span className="site-nav-sep" aria-hidden="true" />
<a className="site-nav-btn primary" href={studioUrl} target="_blank" rel="noopener">Open Studio</a>
<button type="button" className="site-nav-btn active" onClick={onHub}>Hub</button>
<a className="site-nav-btn primary" href={studioUrl} target="_blank" rel="noopener">Studio</a>
<span className="site-nav-sep" aria-hidden="true" />
<a className="site-nav-icon" href="https://github.com/radicaltools/radical.tools" target="_blank" rel="noopener" aria-label="GitHub"><IconGitHub /></a>
<button type="button" className="site-nav-icon" onClick={onToggleTheme} title={themeLabel} aria-label={themeLabel}>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/hub/hub.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
}
.site-nav-links { display: flex; align-items: center; gap: 6px; flex: 1; margin-left: 14px; }
.site-nav-sep { width: 1px; height: 22px; background: var(--border-color); margin: 0 8px; opacity: 0.8; }
/* First separator pushes Studio / GitHub / theme to the right edge. */
/* First separator pushes Hub / Studio / GitHub / theme to the right edge. */
.site-nav-links .site-nav-sep:first-of-type { margin-left: auto; }
.site-nav-btn {
display: inline-flex; align-items: center;
Expand Down
6 changes: 3 additions & 3 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
</head>
<body>

<!-- Shared site navigation — Home · Hub · Docs | Open Studio | GitHub · theme. Same on radical.tools, docs and the Hub (SiteNav.tsx). -->
<!-- Shared site navigation — Home · Docs | Hub · Studio | GitHub · theme. Same on radical.tools, docs and the Hub (SiteNav.tsx). -->
<header class="site-nav" id="top">
<a class="site-nav-logo" href="https://radical.tools" aria-label="Radical.Tools"><span class="site-nav-mark">R</span></a>
<nav class="site-nav-links">
<a class="site-nav-btn active" href="https://radical.tools">Home</a>
<a class="site-nav-btn" href="https://hub.radical.tools" target="_blank" rel="noopener">Hub</a>
<a class="site-nav-btn" href="https://radical.tools/manual.html">Docs</a>
<span class="site-nav-sep" aria-hidden="true"></span>
<a class="site-nav-btn primary" href="https://studio.radical.tools" target="_blank" rel="noopener">Open Studio</a>
<a class="site-nav-btn" href="https://hub.radical.tools" target="_blank" rel="noopener">Hub</a>
<a class="site-nav-btn primary" href="https://studio.radical.tools" target="_blank" rel="noopener">Studio</a>
<span class="site-nav-sep" aria-hidden="true"></span>
<a class="site-nav-icon" href="https://github.com/radicaltools/radical.tools" target="_blank" rel="noopener" aria-label="GitHub"><svg viewBox="0 0 24 24" fill="currentColor" width="18" height="18" aria-hidden="true"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.418 2.865 8.166 6.839 9.489.5.092.682-.217.682-.482 0-.237-.009-.868-.013-1.703-2.782.604-3.369-1.341-3.369-1.341-.454-1.155-1.11-1.463-1.11-1.463-.908-.62.069-.608.069-.608 1.003.07 1.532 1.031 1.532 1.031.891 1.528 2.341 1.087 2.91.831.091-.645.349-1.087.635-1.337-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.253-.447-1.27.098-2.646 0 0 .84-.269 2.75 1.025A9.564 9.564 0 0 1 12 6.844a9.59 9.59 0 0 1 2.504.337c1.909-1.294 2.747-1.025 2.747-1.025.547 1.376.203 2.393.1 2.646.641.698 1.029 1.591 1.029 2.682 0 3.841-2.337 4.687-4.565 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.744 0 .267.18.579.688.481C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/></svg></a>
<button type="button" class="site-nav-icon" data-theme-toggle aria-label="Toggle theme"></button>
Expand Down
2 changes: 1 addition & 1 deletion website/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
}
.site-nav-links { display: flex; align-items: center; gap: 6px; flex: 1; margin-left: 14px; }
.site-nav-sep { width: 1px; height: 22px; background: var(--border); margin: 0 8px; opacity: 0.8; }
/* First separator pushes Studio / GitHub / theme to the right edge. */
/* First separator pushes Hub / Studio / GitHub / theme to the right edge. */
.site-nav-links .site-nav-sep:first-of-type { margin-left: auto; }
.site-nav-btn {
display: inline-flex; align-items: center;
Expand Down
6 changes: 3 additions & 3 deletions website/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
</head>
<body class="doc-page">

<!-- Shared site navigation — Home · Hub · Docs | Open Studio | GitHub · theme. Same on radical.tools, docs and the Hub (SiteNav.tsx). -->
<!-- Shared site navigation — Home · Docs | Hub · Studio | GitHub · theme. Same on radical.tools, docs and the Hub (SiteNav.tsx). -->
<header class="site-nav" id="top">
<a class="site-nav-logo" href="https://radical.tools" aria-label="Radical.Tools"><span class="site-nav-mark">R</span></a>
<nav class="site-nav-links">
<a class="site-nav-btn" href="https://radical.tools">Home</a>
<a class="site-nav-btn" href="https://hub.radical.tools" target="_blank" rel="noopener">Hub</a>
<a class="site-nav-btn active" href="https://radical.tools/manual.html">Docs</a>
<span class="site-nav-sep" aria-hidden="true"></span>
<a class="site-nav-btn primary" href="https://studio.radical.tools" target="_blank" rel="noopener">Open Studio</a>
<a class="site-nav-btn" href="https://hub.radical.tools" target="_blank" rel="noopener">Hub</a>
<a class="site-nav-btn primary" href="https://studio.radical.tools" target="_blank" rel="noopener">Studio</a>
<span class="site-nav-sep" aria-hidden="true"></span>
<a class="site-nav-icon" href="https://github.com/radicaltools/radical.tools" target="_blank" rel="noopener" aria-label="GitHub"><svg viewBox="0 0 24 24" fill="currentColor" width="18" height="18" aria-hidden="true"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.418 2.865 8.166 6.839 9.489.5.092.682-.217.682-.482 0-.237-.009-.868-.013-1.703-2.782.604-3.369-1.341-3.369-1.341-.454-1.155-1.11-1.463-1.11-1.463-.908-.62.069-.608.069-.608 1.003.07 1.532 1.031 1.532 1.031.891 1.528 2.341 1.087 2.91.831.091-.645.349-1.087.635-1.337-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.253-.447-1.27.098-2.646 0 0 .84-.269 2.75 1.025A9.564 9.564 0 0 1 12 6.844a9.59 9.59 0 0 1 2.504.337c1.909-1.294 2.747-1.025 2.747-1.025.547 1.376.203 2.393.1 2.646.641.698 1.029 1.591 1.029 2.682 0 3.841-2.337 4.687-4.565 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.744 0 .267.18.579.688.481C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/></svg></a>
<button type="button" class="site-nav-icon" data-theme-toggle aria-label="Toggle theme"></button>
Expand Down
Loading