Commit 833448d
Pre-bake hero background blur/saturation, drop CSS filter
Per Copilot's performance suggestion, replace the runtime CSS
`filter: blur(1px) saturate(1.3)` on the full-viewport .hero::before
layer with a pre-processed JPEG (blurred/saturated at build time via
Pillow), avoiding the GPU compositing cost of filtering a large layer
on every paint. Visual result is unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent cd04fd8 commit 833448d
3 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
242 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
246 | | - | |
| 250 | + | |
247 | 251 | | |
248 | 252 | | |
249 | | - | |
250 | 253 | | |
251 | 254 | | |
252 | 255 | | |
| |||
Loading
Binary file not shown.
0 commit comments