refactor(header): extract nav link component, add search widget stub, recolor header #4

Merged
ckie merged 6 commits from jakehamilton/floral.systems:refactor/header into main 2024-10-24 22:31:39 +00:00
Member

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

image

After

image

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! The Nav component has also been migrated to src/lib/components.

The new header design has a couple of interactions, here they are from left-to-right:

Hovering "floral.systems"

image

Hovering "Search..."

image

Focusing "Search..."

image

Hovering "Docs"

image

Hovering "Try FleurixOS"

image

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). <details> <summary>Before</summary> ![image](/attachments/037568b0-b5be-44f2-b9b6-5c41f8a5adb1) </details> <details> <summary>After</summary> ![image](/attachments/221961b2-2bf0-42ab-b988-f80206f3f2ae) </details> 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! The `Nav` component has also been migrated to `src/lib/components`. The new header design has a couple of interactions, here they are from left-to-right: <details> <summary>Hovering "floral.systems"</summary> ![image](/attachments/a2660e1b-f718-48f0-a7e4-eb48ee7d462f) </details> <details> <summary>Hovering "Search..."</summary> ![image](/attachments/1491871d-cf58-4054-a8b3-97e24c814c15) </details> <details> <summary>Focusing "Search..."</summary> ![image](/attachments/6f051f8d-e5b8-4d19-96cc-eb9de4d30eaa) </details> <details> <summary>Hovering "Docs"</summary> ![image](/attachments/872ced7e-27c8-41a5-8745-fb349ebedb6c) </details> <details> <summary>Hovering "Try FleurixOS"</summary> ![image](/attachments/70636a2c-82cd-4275-9f34-49320864c39a) </details>
jakehamilton added 3 commits 2024-10-24 21:36:22 +00:00
jakehamilton added 1 commit 2024-10-24 21:40:26 +00:00
jakehamilton force-pushed refactor/header from a4f5f5fdea to 86eecefea4 2024-10-24 21:42:52 +00:00 Compare
Author
Member

I've darkened some of the search colors
image

I've darkened some of the search colors ![image](/attachments/a63c985e-7ec4-4959-8bb1-d73029e88361)
ckie added 2 commits 2024-10-24 22:07:12 +00:00
ckie added 1 commit 2024-10-24 22:11:50 +00:00
ckie added 2 commits 2024-10-24 22:30:36 +00:00
ckie merged commit d3ba4573c9 into main 2024-10-24 22:31:39 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/floral.systems#4
No description provided.