Commit Graph

3713 Commits

Author SHA1 Message Date
Corbin Crutchley
9bb97e4cf2 [UwU] Minor translation header a11y improvement (#777)
Add `aria-current="page"` to the translation header on the currently
selected item
2023-10-03 15:46:57 -07:00
Corbin Crutchley
b1b44acdde fix: mark current translation as aria-current="page" 2023-10-03 15:06:24 -07:00
James Fenn
15fb97538f [UwU] Social preview image redesign (#774)
- Implement the new social image layout
- Replace the banner layout's hardcoded "tag -> svg" mapping with
`tags.json`
* Also adds the "Noto Color Emoji" / "Noto Emoji" font to use tag emojis
- Remove shiki from the social image markdown processing, which
drastically speeds up the build script
- Optimize author images to their desired resolution with `sharp`, which
just about halves the page render time on Vercel
2023-10-03 17:31:36 -04:00
James Fenn
569a13e594 use "Noto Emoji" font for better contrast in banner images 2023-10-03 17:24:34 -04:00
James Fenn
34977c078d add emoji tags to generated banner images 2023-10-03 17:24:34 -04:00
James Fenn
49150bbb62 add emoji font to prevent tofu chars in post titles 2023-10-03 17:24:34 -04:00
James Fenn
53e985693e fix banner image text-shadow styling 2023-10-03 17:24:33 -04:00
James Fenn
777a497725 use tags.json to get banner image tags 2023-10-03 17:24:33 -04:00
James Fenn
a3fd273b70 optimize author images in social preview generation 2023-10-03 17:24:32 -04:00
James Fenn
d50e43de0f begin implementing redesigned social preview layout 2023-10-03 17:20:58 -04:00
James Fenn
0e705d4165 remove syntax highlighting from social image build script for perf 2023-10-03 17:20:52 -04:00
James Fenn
9a5d774b29 [UwU] Additional achievement functionality (#768)
- Implement more achievements ("Bug!", "(year) Contributor", "Hello,
World!", ...)
- Uses `octokit`'s graphql API to fetch repo data for achievements
2023-10-03 17:07:13 -04:00
James Fenn
3a9a5a79d8 [UwU] Fix select border (#773)
- Adds the specified border to the sort dropdown: #767 
- Removes an unused `.selectDropdown` class
2023-10-03 17:06:31 -04:00
James Fenn
64d54a4b66 fix #767 - add select popup border, remove unused "selectDropdown" class 2023-10-03 10:57:03 -04:00
Corbin Crutchley
4e6745b6fc [UwU] Fix about shiki (#772)
[UwU] Fix about shiki
2023-10-03 07:45:40 -07:00
Corbin Crutchley
f6c4bc07f0 [UwU] Make colors more contrasted (#771)
[UwU] Make colors more contrasted
2023-10-03 07:45:29 -07:00
Corbin Crutchley
46c2b3ccfe [UwU] Search live announcement fixes (#769)
[UwU] Search live announcement fixes
2023-10-03 07:45:18 -07:00
James Fenn
f1b1c72c74 add partner achievement, revert roles enum change 2023-10-03 10:44:17 -04:00
James Fenn
768c27cb80 reimplement achievements as a generator function 2023-10-03 10:39:09 -04:00
Corbin Crutchley
b6aa5e76ac fix: shiki should now work for about page embeds 2023-10-02 22:43:20 -07:00
Corbin Crutchley
979166193d fix: make colors more contrasted 2023-10-02 22:32:34 -07:00
Corbin Crutchley
921a1b9884 [UwU] Improve sidebar accessibility reading (#770)
> This PR builds on top of #769, please merge that first

This PR fixes #752
2023-10-02 22:15:35 -07:00
Corbin Crutchley
a0b72c5422 fix: improve sidebar accessibility reading 2023-10-02 21:22:13 -07:00
Corbin Crutchley
a9c72a94ba fix: improve accessibility reading on search page 2023-10-02 20:56:54 -07:00
James Fenn
fde6aca8e5 fix achievement / contributor page styling 2023-10-02 21:16:03 -04:00
James Fenn
5388650fe5 define more achievements, fix some wording 2023-10-02 19:18:07 -04:00
James Fenn
dce8ca173d initial github graphql data + achievements functionality 2023-10-02 18:46:50 -04:00
Corbin Crutchley
17a87ffe9f [UwU] About page redesign (#711)
- Combines about page into a single MDX file per translation
- Adds a license component for sticker attribution

---

- **TODO:** code blocks in the license dialog aren't being processed by
`unified` / `remark-shiki-twoslash` correctly in the deployment build,
resulting in incorrect styling (the "shiki" classes/spans aren't being
added). This works perfectly fine in dev mode. I have no clue what's
going on.
2023-10-02 12:07:14 -07:00
James Fenn
f151f0d398 [UwU] Various accessibility fixes No. 2 (#764) 2023-10-02 14:05:04 -04:00
James Fenn
69671f6714 fix #754 - label buttons + input inside pagination popover 2023-10-02 13:57:50 -04:00
James Fenn
343b116599 fix #761 - implement collection page a11y improvements 2023-10-02 11:03:15 -04:00
James Fenn
c904877760 fix #760 - implement achievement list a11y improvements 2023-10-02 11:02:02 -04:00
James Fenn
662862b81d fix #759 - implement author info a11y improvements 2023-10-02 10:55:14 -04:00
James Fenn
81d7148b13 fix #758 - mark profile section role images as decorational 2023-10-02 10:43:27 -04:00
James Fenn
c62820c6c8 fix #756 - improve relative pagination button labels 2023-10-02 10:41:58 -04:00
James Fenn
ee626e59e2 fix #757 - set aria-hidden on icons in post header 2023-10-02 10:33:42 -04:00
James Fenn
8f4b4e3a15 fix #755 - mark expanded post card image as decorational 2023-10-02 10:32:00 -04:00
James Fenn
beebc37022 fix #751 - hide image in search input box 2023-10-02 10:30:27 -04:00
James Fenn
32f674632f fix #750 - add collection/post author list labels 2023-10-02 10:28:53 -04:00
James Fenn
41e903d2cd fix #749 - set aria-hidden on post card icons 2023-10-02 10:26:43 -04:00
James Fenn
19535547e2 fix translations component mentioned in #711 2023-10-02 10:24:36 -04:00
James Fenn
485a4d8b5d set aria-hidden on decorative icons in all markdown components 2023-10-02 10:20:37 -04:00
James Fenn
b3980d9d32 add about banner-svg alt text 2023-10-02 10:04:47 -04:00
James Fenn
59b360be0d consolidate about mdx components, implement list/label a11y fixes 2023-10-02 09:57:15 -04:00
Corbin Crutchley
2c1099d031 Merge branch 'main' into uwu 2023-10-01 23:48:43 -07:00
Corbin Crutchley
0966a8326b docs: fix typo on JS classes article (#762)
Fixes #729
2023-10-01 23:48:20 -07:00
Corbin Crutchley
9858e098bb docs: fix typo on JS classes article 2023-10-01 23:43:06 -07:00
Corbin Crutchley
7f9d8afe9c [UwU] Fix invalid <Select> popover IDs (#748)
- Removes `id`, `aria-labelledby`, and `aria-describedby` attributes
from the props returned from `react-aria` within its `<Popover>`
component
  #741
2023-10-01 23:29:05 -07:00
James Fenn
6f5f4eb931 fix #741 - remove any useId-based props inside select popover/portal 2023-10-01 21:29:35 -04:00
James Fenn
40cef650ab [UwU] Fix button outline styling to match spec (#747)
Button focus states were previously implemented with `box-shadow`, which
did not match the specs. Implementing with `outline-offset` separates
the outline from the button background to maintain contrast.

- Fixes #736 
- Doubles the negative sidebar margin/padding on the search page to
accommodate the increased outline size
2023-10-01 21:20:19 -04:00