Nicolás Quiroz
dc6680f12f
feat: open images in new tab
2023-02-13 20:10:35 -03:00
Paul Wackerow
49e65e6407
[website] Highlight active docs section ( #26460 )
...
* Add functionality to have left navbar section open on page load
* highlight active section
* color change
---------
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
2023-02-13 04:13:58 -05:00
Nicolás Quiroz
adeb7366dd
feat: add deprecation note on mobile builds
2023-02-03 16:26:32 -03:00
Nicolás Quiroz
01cda6c45a
chore: update Note component
2023-02-03 16:26:07 -03:00
Nicolás Quiroz
4cc54d9dae
feat: add BuildsDeprecationNote component
2023-02-03 16:25:42 -03:00
Paul Wackerow
6e614142a1
fix hash-link bug with left docs nav ( #195 )
2022-12-20 10:20:20 -03:00
Corwin Smith
5a545a222a
Update src/components/UI/docs/DocsLinks.tsx
...
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-19 22:43:34 -07:00
Corwin Smith
d3e53af95f
Update src/components/UI/docs/DocsLinks.tsx
...
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-19 22:43:30 -07:00
Nicolás Quiroz
5f8fc1c2e1
chore: extract to variable
2022-12-19 22:39:51 -03:00
Nicolás Quiroz
df653f20e9
chore: prettier
2022-12-19 22:38:54 -03:00
Paul Wackerow
e335da5391
move toggle handler to base component
2022-12-19 15:17:17 -08:00
Paul Wackerow
ea069728b2
fix dependency array
2022-12-19 15:13:35 -08:00
Paul Wackerow
71a0fa1064
fix logic for which sections are open
2022-12-19 13:36:27 -08:00
Corwin Smith
e60ec269ba
[UX SUGGESTION] Active section should be expanded on docs page load ( #190 )
...
* Add functionality to have left navbar section open on page load
* remove tracker as prop
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-19 16:11:31 -03:00
Corwin Smith
e61c7e6bd7
handle bug where header id caused breadcrumbs to render on /docs ( #185 )
2022-12-17 13:34:47 -03:00
Nicolás Quiroz
57b5b1de8d
Merge pull request #157 from ethereum/fix-last-edit-timestamp
...
fix: docs last edit timestamp
2022-12-16 18:08:31 -03:00
Corwin Smith
fd33fbdc77
Add ? to What is Ethereum and What is Geth ( #184 )
2022-12-16 17:09:54 -03:00
Nicolás Quiroz
37537d0520
chore: update lastModified code
2022-12-16 16:07:30 -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
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
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
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
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
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
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
fbd09362f2
add legacyBehavior prop
2022-12-12 20:26:54 +01:00
Corwin Smith
657083d7f2
change requests
2022-12-12 12:03:22 -07:00