Skip to content
Open
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
17 changes: 17 additions & 0 deletions services/hackbot-ui/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,23 @@ header.topbar .tag {
color: var(--muted);
}

header.topbar .github-link {
display: inline-flex;
align-items: center;
gap: 5px;
margin-left: 12px;
font-size: 13px;
color: var(--muted);
text-decoration: none;
opacity: 0.7;
transition: opacity 0.15s;
}

header.topbar .github-link:hover {
opacity: 1;
color: var(--fg);
}
Comment on lines +85 to +88

.panel {
background: var(--panel);
border: 1px solid var(--border);
Expand Down
11 changes: 10 additions & 1 deletion services/hackbot-ui/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ export default function RootLayout({
<header className="topbar">
<div className="inner">
<h1>🚀 Hackbot Launchpad</h1>
<span className="tag">demo</span>
<a
className="github-link"
href="https://github.com/mozilla/bugbug/tree/master/services/hackbot-ui"
target="_blank"
rel="noopener noreferrer"
aria-label="View source on GitHub"
>
Comment on lines +22 to +28
<img src="/github.svg" alt="" width={20} height={20} />
GitHub
</a>
<div style={{ marginLeft: "auto" }}>
<UserMenu />
</div>
Expand Down
3 changes: 3 additions & 0 deletions services/hackbot-ui/public/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.