fix(web): make header navigation text visible on dark background
- Add explicit text-foreground color to all ghost button nav items - Add text color to header title links - Fixes invisible navigation text on black header background 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
157cd750e4
commit
8e122aa468
2 changed files with 40 additions and 8 deletions
|
|
@ -14,26 +14,50 @@ export default function HomePage(): React.ReactElement {
|
||||||
<div className="min-h-screen flex flex-col">
|
<div className="min-h-screen flex flex-col">
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
<Header
|
<Header
|
||||||
title={<Link href="/">TPMJS</Link>}
|
title={
|
||||||
|
<Link href="/" className="text-foreground hover:text-foreground">
|
||||||
|
TPMJS
|
||||||
|
</Link>
|
||||||
|
}
|
||||||
size="md"
|
size="md"
|
||||||
sticky={true}
|
sticky={true}
|
||||||
actions={
|
actions={
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<Link href="/playground">
|
<Link href="/playground">
|
||||||
<Button variant="ghost" size="sm">
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
size="sm"
|
||||||
|
className="text-foreground hover:text-foreground"
|
||||||
|
>
|
||||||
Playground
|
Playground
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
<Button variant="ghost" size="sm">
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
size="sm"
|
||||||
|
className="text-foreground hover:text-foreground"
|
||||||
|
>
|
||||||
Pro
|
Pro
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="ghost" size="sm">
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
size="sm"
|
||||||
|
className="text-foreground hover:text-foreground"
|
||||||
|
>
|
||||||
Teams
|
Teams
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="ghost" size="sm">
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
size="sm"
|
||||||
|
className="text-foreground hover:text-foreground"
|
||||||
|
>
|
||||||
Pricing
|
Pricing
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="ghost" size="sm">
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
size="sm"
|
||||||
|
className="text-foreground hover:text-foreground"
|
||||||
|
>
|
||||||
Documentation
|
Documentation
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="secondary" size="sm">
|
<Button variant="secondary" size="sm">
|
||||||
|
|
|
||||||
|
|
@ -30,13 +30,21 @@ export default function PlaygroundPage() {
|
||||||
<div className="min-h-screen flex flex-col">
|
<div className="min-h-screen flex flex-col">
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
<Header
|
<Header
|
||||||
title={<Link href="/">TPMJS Playground</Link>}
|
title={
|
||||||
|
<Link href="/" className="text-foreground hover:text-foreground">
|
||||||
|
TPMJS Playground
|
||||||
|
</Link>
|
||||||
|
}
|
||||||
size="md"
|
size="md"
|
||||||
sticky={true}
|
sticky={true}
|
||||||
actions={
|
actions={
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<Link href="/">
|
<Link href="/">
|
||||||
<Button variant="ghost" size="sm">
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
size="sm"
|
||||||
|
className="text-foreground hover:text-foreground"
|
||||||
|
>
|
||||||
Home
|
Home
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue