Commit Graph

378 Commits

Author SHA1 Message Date
Paul Wackerow
01fd6e6f6b
[website] geth-website migration (#26412)
* feat: Add Matomo analytics (#199)

* chore: update .env.local.example

* chore: update netlify.toml

* chore: matomo setup

* Fix broken rpc link (#203)

Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
Co-authored-by: Sam Richards <sbrichards@gmail.com>
2023-01-04 11:16:45 -03:00
Paul Wackerow
b285c11671
Add missing redirect (#197)
* add missing redirect

* fix: contributing links

Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-12-20 12:37:49 -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
Paul Wackerow
82a633c299
update styling for search component (#191) 2022-12-19 15:28:06 -03:00
Corwin Smith
23d5653d53
Merge pull request #171 from ethereum/fjl/content-fixes-1
Fixes from content review
2022-12-18 22:36:02 -07:00
Corwin Smith
e61c7e6bd7
handle bug where header id caused breadcrumbs to render on /docs (#185) 2022-12-17 13:34:47 -03:00
Felix Lange
fef80d6cfb
Update src/data/documentation-links.yaml
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
2022-12-17 00:06:59 +01: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
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
Corwin Smith
fd33fbdc77
Add ? to What is Ethereum and What is Geth (#184) 2022-12-16 17:09:54 -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
Felix Lange
ebe8093a63 src/data: update some doc link names 2022-12-15 12:55:28 +01:00
Felix Lange
0378ccbe80 docs: remove interacting-with-geth/rpc/objects 2022-12-15 12:54:30 +01: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