Nicolás Quiroz
378bd79997
Update src/utils/getLastModifiedDate.ts
...
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-16 17:36:35 -03:00
Nicolás Quiroz
ae00338328
Update src/utils/fetchLatestReleaseVersionAndName.ts
...
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-16 17:36:16 -03:00
Nicolás Quiroz
55ef81be8d
Update src/utils/fetchLatestReleaseCommit.ts
...
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-16 17:35:59 -03:00
Nicolás Quiroz
681aa89dcd
chore: update gh api fetch
2022-12-16 16:47:01 -03:00
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
79893a58d3
Merge branch 'master' of github.com:ethereum/geth-website into fix-last-edit-timestamp
2022-12-16 15:49:26 -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
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
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
8063027be8
chore: update MobileMenu imports
2022-12-15 01:29:04 -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
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
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
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
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