New design for governing documents - #1211
Conversation
d950c33 to
796eeb5
Compare
I blame @Isak-Kallini and his git sorcery over on main 😅. I've fixed it now1. Footnotes
|
796eeb5 to
8a88a4b
Compare
davidagardh
left a comment
There was a problem hiding this comment.
/documents/governing/new and documents/governing/edit still NYI. Should create new issue so we don't forget.
| {selectedYearStr} | ||
| </Select.Trigger> | ||
| <Select.Content class="max-h-[300px]"> | ||
| <Select.ScrollUpButton /> |
There was a problem hiding this comment.
<Select.ScrollUpButton /> and <Select.ScrollDownButton /> aren't needed because of Select.Content. Same behavior without.
| <a | ||
| href="/stadgar" | ||
| target="_blank" | ||
| class="group border-l-primary bg-primary/5 hover:bg-primary/10 flex flex-col justify-center gap-4 rounded-md border-[1px] border-l-4 p-6 shadow-sm transition-all hover:-translate-y-1 hover:shadow-md" |
There was a problem hiding this comment.
The design looks good, but I'm a bit uncertain about the rounded left-aligned border used here. While it does look good, we don't use it on any other page as far as I know so I'm worried it will be a bit out of place compared to the rest of the site.
🧩 Summary
This update introduces a redesign of the governing documents section. It also changes the YearSelector component that's currently used on the /document page and the newly implemented /documents/governing page.
🔗 Related issues (if any)
Closes #1084, #1182
📸 Screenshots / recordings (if applicable)
New design of /documents/governing page.
Administrative edit controls.
New year selector that avoids ugly overflow.
Old year selector.
💬 Other information
95% vibe coded with Antigravity CLI.