Commit Graph

479 Commits

Author SHA1 Message Date
Nicolás Quiroz de9bb9ca63
chore: update line-height for docs text (#174) 2022-12-15 19:15:20 -03:00
Joseph Cook 0051501bc5
docs: move some pages (#169)
Moves a few pages to new locations based on feedback from Geth team.

Co-authored-by: Felix Lange <fjl@twurst.com>
2022-12-15 18:19:38 +01:00
Corwin Smith 77d4a92374
Merge pull request #166 from ethereum/grid-gap
chore: update spacing between sections on home and /downloads pages
2022-12-15 09:57:01 -07:00
Paul Wackerow e5a04b96c3
update relative path of import 2022-12-15 17:39:48 +01:00
Nicolás Quiroz 3dea406d9e chore: update margins on desktop 2022-12-15 13:16:38 -03:00
Nicolás Quiroz fe86513064 Merge branch 'master' of github.com:ethereum/geth-website into grid-gap 2022-12-15 12:56:50 -03:00
Corwin Smith 4aa8f214fb
[sorting] releases should be sorted by date, then by type (Geth, then Geth + tools) (#158)
* create constant for number of releases per os

* sort releases

* Apply suggestions from code review

* change requests

* fix build error

* cleanup

* fix: typo & prettier

* refactor sort function

* cleanup unnecessary changes

* fix: getReleaseArch case

* fix sort

* prettier

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-12-15 12:27:49 -03:00
Nicolás Quiroz 63bbde1747
Merge pull request #59 from ethereum/algolia
Algolia search
2022-12-15 01:32:14 -03:00
Nicolás Quiroz 8063027be8 chore: update MobileMenu imports 2022-12-15 01:29:04 -03:00
Nicolás Quiroz 7a7bb84c72 Merge branch 'master' of github.com:ethereum/geth-website into algolia 2022-12-15 01:11:34 -03:00
Paul Wackerow 6dd607728b
Add sitemap and robots.txt (#163)
* yarn add next-sitemap and config

* add sitemap to .gitignore

* commit generated robots.txt
2022-12-15 01:01:13 -03:00
Nicolás Quiroz a0f0b5fc86 chore: update spacing between sections on home and /downloads pages 2022-12-15 00:57:02 -03:00
Paul Wackerow f509950c72
match any domain and remove
makes all search results local to current domain
2022-12-14 10:47:38 -08:00
Paul Wackerow 65bdc4e4dd
linting 2022-12-14 10:34:44 -08:00
Paul Wackerow 88fc10e89b
extract indexDomain to env var 2022-12-14 10:12:18 -08:00
Paul Wackerow 551a64d2b1
Update src/components/UI/Search.tsx 2022-12-14 18:42:08 +01:00
Paul Wackerow 523dee284d
strip out netlify-preview domain from search results 2022-12-14 07:55:10 -08:00
Paul Wackerow b527950e6d
Merge branch 'master' into algolia 2022-12-13 12:31:44 -08:00
Paul Wackerow 7bca3d3431
update DocSearch do use env vars 2022-12-13 12:29:00 -08:00
Joe 362b58bd8a minor formatting fixes 2022-12-13 13:30:30 +00: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
Corwin Smith 43fe9c9f8d
Merge pull request #153 from ethereum/primary-releases
feat: bold styling for primary releases
2022-12-12 20:56:40 -07:00
Nicolás Quiroz b98ccf0747 Merge branch 'master' of github.com:ethereum/geth-website into primary-releases 2022-12-13 00:07:46 -03:00
Nicolás Quiroz 9e3789e31f chore: import correct font weight 2022-12-13 00:07:38 -03:00
Corwin Smith 1d6285fc38
Merge pull request #145 from ethereum/h1StyleFix
[DESING UPDATE] increase the font size of H1
2022-12-12 19:00:33 -07:00
Corwin Smith 31233f1433 prettier 2022-12-12 18:57:57 -07:00
Corwin Smith 83c67a88a1 Merge branch 'master' into h1StyleFix 2022-12-12 18:39:01 -07:00
Corwin Smith 3d722a3ee5 h2 fontWeight 2022-12-12 18:36:54 -07: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 6f7038fc92 Merge branch 'master' of github.com:ethereum/geth-website into primary-releases 2022-12-12 19:46:17 -03:00
Nicolás Quiroz dfdf95639e feat: check if it's primary release 2022-12-12 19:45:26 -03:00
Nicolás Quiroz 8566e5bb1f chore: update types 2022-12-12 19:44:52 -03:00
Nicolás Quiroz 776616f45d chore: update utils 2022-12-12 19:44:42 -03:00
Corwin Smith 82fdd696a2
Merge pull request #134 from ethereum/documentationDropdownClose
[UX] - Interaction with documentation dropdown is confusing on mobile
2022-12-12 21:50:59 +01:00
Corwin Smith e66168660a linux stables build 2022-12-12 13:46:11 -07:00
Paul Wackerow 1483d10a12
fix onClick vs legacyBehavior
adds missing legacyBehavior attribute to NextLink tags to prevent nesting anchor elements which was causing hydration warnings. Also fixes 'The legacy behavior requires onClick be set on the child of next/link'
2022-12-12 12:01:20 -08:00
Nicolás Quiroz 95e3b7cf1d Merge branch 'master' of github.com:ethereum/geth-website into primary-releases 2022-12-12 16:39:55 -03:00
Paul Wackerow 5f9daa4286
Merge branch 'master' into documentationDropdownClose 2022-12-12 11:31:35 -08:00
Paul Wackerow fbd09362f2
add legacyBehavior prop 2022-12-12 20:26:54 +01:00
Corwin Smith 8241aefcb4
update colors (#154) 2022-12-12 16:16:59 -03:00
Nicolás Quiroz 0d715b680d
Merge pull request #151 from ethereum/redirects
[UX/Tech debt] Implement redirects from old links
2022-12-12 16:13:03 -03:00
Nicolás Quiroz 5a23b89c06 chore: remove MDX dependencies and Provider 2022-12-12 16:10:15 -03:00
Corwin Smith 657083d7f2 change requests 2022-12-12 12:03:22 -07:00
Corwin Smith 62aff31a2e
Update src/components/UI/docs/DocsNav.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-12 11:58:30 -07:00
Corwin Smith d7ea2df124 Merge branch 'master' into documentationDropdownClose 2022-12-12 11:50:27 -07:00
Corwin Smith 64ae7579bd update header styles 2022-12-12 11:45:08 -07:00
Corwin Smith 3a6a178034 Merge branch 'master' into redirects 2022-12-12 11:36:13 -07:00
Corwin Smith 06219268c5
Merge pull request #136 from ethereum/search-backup
Search input set up for external search engine
2022-12-12 19:31:06 +01:00
Corwin Smith 7dc3059036
[UI/UX bug] - Footer buttons are only partially clickable and [Perf] - Optimise SVGs (#143)
* Make whole footer button area clickable

* optimize svgs
2022-12-12 14:21:22 -03:00
Corwin Smith 80e455812a
Remove defaultIndex from Accordion to have them default closed (#144) 2022-12-12 14:20:49 -03:00