Commit graph

27 commits

Author SHA1 Message Date
Paul Wackerow
b527950e6d
Merge branch 'master' into algolia 2022-12-13 12:31:44 -08:00
Corwin Smith
42248dcedf
[bug] right side navigation menu is not being rendered ok in some cases (#146)
* dont render DocumentNav if there are no headings on a page

* Fix layout of elements in [...slug].tsx

* fix header

* fix span overflow

* prettier

* fix: missing white-space on pre tags

* fix: parsedHeadings bug

Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-12-13 10:23:26 -03:00
Paul Wackerow
266b4a3ec4
Accessibility (a11y) clean up (#138)
* Add hidden skip to content for keyboard a11y

* update green.900 value

used for button background; increases contrast ratio

* adjusts light primary to green.700 for contrast

Improves contrast ratio when paired with yellow.50 and removes browser a11y warnings

* add aria-labels

* add lang to html element

* fix improperly ordered headers

We should not be using headers (h4/h5) for these aside navigations. Updated to remove browser warnings.

* add remaining aria-label

* add aria-label for mobile menu
2022-12-12 20:34:10 -03:00
Nicolás Quiroz
d8996d1c95 fix: adds missing legacyBehavior prop 2022-12-07 17:09:43 -03:00
Paul Wackerow
0836329a08
linting 2022-12-02 10:59:41 -08:00
Paul Wackerow
50eb37ae2f
Merge branch 'master' into algolia 2022-12-02 10:58:48 -08:00
Paul Wackerow
123b299345
prevent Header title from wrapping [Fixes #79] (#111) 2022-12-02 11:32:30 -03:00
Paul Wackerow
8ad35ea5b4
linting 2022-11-30 12:05:47 -08:00
Paul Wackerow
0e295c32b7
add missing border to nav search 2022-11-29 17:11:22 -08:00
Paul Wackerow
9d9735a252
Merge branch 'master' into algolia 2022-11-29 16:06:25 -08:00
Nicolás Quiroz
91dd04faa2
feat: All releases downloads (#46)
* chore: update constants

* feat: add releases data utils

* chore: add fast-xml-parser

* chore: update types

* feat: fetch & parse all releases data

* chore: update utils

* wip: use real data on DataTable

* chore: update yarn.lock

* fix: getReleaseCommitHash

* feat: filter data per downloads tab

* chore: update DownloadsTable

* chore: update DownloadsTable Props

* fix: getReleaseArch.ts

* feat: add fetchXMLData util

* feat: add fetchLatestReleaseCommit util

* feat: add getSortedReleases util

* chore: comment wip primary release feature

* fix: fetchXMLData

* chore: add netlify.toml

* fix: total number of releases count

* fix: center showing latest releases text and use smaller font

* chore: prettier

* chore: update textStyles

* fix: merge conflicts
2022-11-29 15:29:52 -03:00
Paul Wackerow
5646bc1c2b
initialize Search component
using DocSearch component via @docsearch/react library
2022-11-28 14:07:40 -08:00
Paul Wackerow
bd80434b83
Mobile menu (#39)
* add MobileMenu component

* implement MobileMenu via Header

* close menu with links

* move all menu logic to MobileMenu component

* refactor MobileMenu to use Modals

* remove unneeded motion params

* remove animation on fixed modal

* abstract out a HeaderButtons component

* abstract out Search component

* move BORDER_WIDTH to constants

* hover fixes

* change requests

* fix: Link should wrap header buttons

Co-authored-by: Corwin Smith <cssmittys@gmail.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-11-23 16:57:49 -03:00
Paul Wackerow
ecb4f6a9ce
matched button hover styling for dark toggle 2022-11-16 21:49:31 -08:00
Paul Wackerow
4e25c6bf94
linting 2022-11-16 15:06:56 -08:00
Paul Wackerow
384ecd0248
add sun icon when in dark mode 2022-11-15 20:55:48 -08:00
Paul Wackerow
fe4014c03c
enable light/dark mode toggle button 2022-11-15 18:00:50 -08:00
Paul Wackerow
c71e2e2e23
refactor colors to use semantic tokens 2022-11-15 18:00:31 -08:00
Paul Wackerow
d43682359f
update icon svg colors to use currentColor
enabled color-mode responsiveness with "color" prop
2022-11-15 17:52:53 -08:00
Paul Wackerow
e77c1507f5
fix hamburger spelling
switch fill color to "currentColor" to allow using dark mode responsive "color" prop
2022-11-15 17:50:02 -08:00
Corwin Smith
953ddbf55e add home link to go-ethereum header 2022-11-07 11:41:46 -07:00
Corwin Smith
813f1134b2
Update Header.tsx 2022-10-26 12:57:40 -06:00
Corwin Smith
e663ca4132 change color back, address later 2022-10-26 12:53:53 -06:00
Corwin Smith
5e48829712 cleanup 2022-10-26 12:23:25 -06:00
Corwin Smith
e70b660c0c button hover in header 2022-10-26 12:14:03 -06:00
Corwin Smith
7e23558b95 Wrap up header and home hero 2022-10-25 20:56:07 -06:00
Nicolás Quiroz
8477cc30c4 feat: homepage desktop layout & header component 2022-10-25 19:10:19 -05:00