refactor(header): extract nav link component, add search widget stub, recolor header #4
Loading…
Reference in a new issue
No description provided.
Delete branch "jakehamilton/floral.systems:refactor/header"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've reworked the header a little bit and in doing so extracted the link element to be its own component for reuse (while still letting certain instances override styles).
Before
After
In moving things I've gone ahead and created
src/lib/components
to drop arbitrary component files in. It seemed odd for me to put these in routes since they weren't really routes. If there is a better place for them, please let me know! TheNav
component has also been migrated tosrc/lib/components
.The new header design has a couple of interactions, here they are from left-to-right:
Hovering "floral.systems"
Hovering "Search..."
Focusing "Search..."
Hovering "Docs"
Hovering "Try FleurixOS"
a4f5f5fdea
to86eecefea4
I've darkened some of the search colors