Commit 723dfd2
Fix header logo gradient visibility (#102)
## Summary
- Fixes the header logo gradient that wasn't visible
- Wraps the header logo `<img>` in a container div to properly display
the gradient effect
- Applies the gradient to the container using `::before` pseudo-element,
matching the floating-card implementation
## Problem
The gradient effect wasn't showing because `::before` pseudo-elements
don't work properly on `<img>` elements. The previous implementation
tried to apply the gradient directly to the image element, which doesn't
render as expected.
## Solution
This PR wraps the header logo in a `.logo-container` div and applies the
gradient effect to this container, following the same pattern used
successfully for the `.floating-card` in the hero section.
## Test Plan
1. Run the docs site locally: `cd docs && python -m http.server 8000`
2. Navigate to http://localhost:8000
3. Verify the header logo now has a subtle blue-to-mauve gradient glow
behind it
4. Confirm the gradient matches the visual style of the hero section
logo
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent f23a379 commit 723dfd2
2 files changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 125 | | |
129 | 126 | | |
130 | 127 | | |
131 | | - | |
| 128 | + | |
132 | 129 | | |
133 | 130 | | |
134 | 131 | | |
| |||
139 | 136 | | |
140 | 137 | | |
141 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments