Commit Graph

496 Commits

Author SHA1 Message Date
Nicolás Quiroz
37537d0520 chore: update lastModified code 2022-12-16 16:07:30 -03:00
Nicolás Quiroz
ec7773916b chore: update getLastModifiedDate util 2022-12-16 16:06:46 -03:00
Nicolás Quiroz
9748bdfd0c chore: add .env.local.example 2022-12-16 16:05:51 -03:00
Nicolás Quiroz
79893a58d3 Merge branch 'master' of github.com:ethereum/geth-website into fix-last-edit-timestamp 2022-12-16 15:49:26 -03:00
Nicolás Quiroz
a53aa19ccf chore: update .gitignore 2022-12-16 15:49:21 -03:00
Paul Wackerow
dfa4a0b335
Add 404 page-not-found fallback [Fixes #155] (#176)
* add 404 page not found fallback

* clean up styling
2022-12-16 12:38:12 -03:00
Paul Wackerow
022a7be96e
Merge pull request #167 from ethereum/default-downloads-os
Add default tab on downloads page based on user OS
2022-12-16 05:36:16 +01:00
Paul Wackerow
b323ea21c9
add back Android user agent check 2022-12-15 14:49:52 -08:00
Paul Wackerow
c92ee08367
debug using only re.test(string) 2022-12-15 14:46:06 -08:00
Paul Wackerow
7100b079b9
debug android OS selector 2022-12-15 14:40:18 -08:00
Nicolás Quiroz
a688f81afe
fix: buttons :active/:focus styles (#173)
* chore: update Button component styles

* chore: update textStyles

* chore: remove redundant styles
2022-12-15 19:37:21 -03:00
Sam Richards
8b0d037f6a
Fix broken docs links (#175)
* Fix broken docs links

* Update docs/fundamentals/backup-restore.md

Co-authored-by: Corwin Smith <cssmittys@gmail.com>

Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
2022-12-15 19:18:59 -03:00
Paul Wackerow
22e75c7012
check for SamsungBrowser for Android 2022-12-15 14:16:07 -08:00
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
Paul Wackerow
832f1002bc
add default downloads tab based on user OS 2022-12-14 22:07:14 -08: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
Nicolás Quiroz
ea9ed42547 fix: last modified date 2022-12-13 14:20:16 -03:00
Nicolás Quiroz
01c6252754 feat: add getLastModifiedDate 2022-12-13 14:19:57 -03:00
Nicolás Quiroz
d07464b8b0 chore: update constants 2022-12-13 14:19:33 -03: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