Commit graph

176 commits

Author SHA1 Message Date
Nicolás Quiroz
962df8b5a3 fix: colorMode flashing issue 2023-01-17 14:37:37 -03:00
Nicolás Quiroz
6a45803ca8
chore: remove unused /api dir (#26415) 2023-01-04 13:09:03 -03:00
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
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
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
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
Nicolás Quiroz
a0f0b5fc86 chore: update spacing between sections on home and /downloads pages 2022-12-15 00:57:02 -03:00
Paul Wackerow
b527950e6d
Merge branch 'master' into algolia 2022-12-13 12:31:44 -08:00
Nicolás Quiroz
ea9ed42547 fix: last modified date 2022-12-13 14:20:16 -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
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
5a23b89c06 chore: remove MDX dependencies and Provider 2022-12-12 16:10:15 -03:00
Corwin Smith
4ca9d12193 update fontSize for h1 2022-12-08 22:52:04 -07:00
Corwin Smith
4315911af4
Merge pull request #139 from ethereum/empty-state-releases
feat: add empty state for platforms without releases
2022-12-09 03:56:48 +01:00
Nicolás Quiroz
026757a5db chore: prettier 2022-12-07 18:41:50 -03:00
Nicolás Quiroz
527dad3635 fix: borderBottom on DownloadsTable 2022-12-07 16:59:44 -03:00
Paul Wackerow
56b9963afd
Markdown header margin fix [Fixes #83] (#120)
* expand parseHeadingId

Will produce a kebab-case heading ID from string if none explicitly declared in the markdown. Always returns an object with the children, title and headingId.

* remove redundant code from MDComponents.tsx

parseHeadingIds now always returns an object with an ID, removing need for conditionals here

* Use Box instead of flex Stack for MDX content

Allows stacked vertical margins to properly collapse into each other

* fix: h2 top margin to 3rem on mobile

* remove unneeded line

* extract and rename getKebabCaseFromName util fn

* Update src/pages/[...slug].tsx

* Update src/utils/parseHeadingId.ts

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

* move constant inside function

make variable name all caps as a string constant

* clean up utils/index.ts to abc order

Co-authored-by: Corwin Smith <cssmittys@gmail.com>
2022-12-06 17:04:09 -03:00
Paul Wackerow
892c743b78
Use long month formatting for last edit date [Fixes #86] (#121)
* use long month formatting for last edit date

* last -> Last

* Update src/pages/[...slug].tsx

Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>

Co-authored-by: Corwin Smith <cssmittys@gmail.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-12-06 10:43:12 -03:00
Paul Wackerow
bbd4a31bad
add max width of 100% to md content on mobile (#130) 2022-12-06 10:35:53 -03:00
Corwin Smith
26673626d2
Remove color style for list items, and change first-child to first-of-type based on console error for SSR (#127) 2022-12-05 17:17:11 -03:00
Paul Wackerow
04adbb749b
Merge pull request #116 from ethereum/display-12-releases
fix: show 2 latest releases for linux
2022-12-05 21:00:48 +01:00
Paul Wackerow
94cb14b978
Add gap between md content and right nav [Fixes #77] (#110)
* add gap between md content and right nav

* shorten max width of right nav divider

* make DocumentNav width responsive

Existing fixed width was too large after the 2rem of padding was added. Simply making it more narrow made it unnecessarily small on larger screen sizes. Clamp sets a min of chakra-size-40, max of chakra-size-58, while targeting an eighth of the screen width.
2022-12-05 14:13:26 -03:00
Nicolás Quiroz
467d139bb0 hotfix: button width 2022-12-05 13:42:09 -03:00
Nicolás Quiroz
e25b87f32d
fix: remove Showing... count message (#118)
* fix: remove Showing... count message

* Update src/pages/downloads.tsx

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>

* Update src/pages/downloads.tsx

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-05 13:39:12 -03:00
Nicolás Quiroz
0bddab847d
fix: Show older releases button width on mobile (#125) 2022-12-05 13:28:34 -03:00
Paul Wackerow
0836329a08
linting 2022-12-02 10:59:41 -08:00
Paul Wackerow
50eb37ae2f
Merge branch 'master' into algolia 2022-12-02 10:58:48 -08:00
Paul Wackerow
367e7c6e03
remove any margin on first MD item (#109)
[Fixes #75, issue when articles start with an H2 had extra margin between the H1 section and the starting H2.
2022-12-02 13:56:44 -03:00
Nicolás Quiroz
50bfc2053a fix: show 2 latest releases for linux 2022-12-02 13:18:00 -03:00
Nicolás Quiroz
f2ae1511e5 fix: downloads page borders & margins 2022-12-01 16:46:42 -03:00
Joshua
27769604a3 Fix Ethereum and GitHub typos 2022-12-01 11:20:38 +00:00
Corwin Smith
0b9ff8b1e6
Create docs navigation sidebar (#40)
* crawl files and create directory tree for sidebar

* dropdown

* Working on dropdown links and styling

* setup header nav

* Styles

* DocumentNav sidebar done

* wrap up header sidebar

* setup top level nav

* update root level data and fix link bug

* doc links yaml

* nav links for docs

* remove character

* prettier

* fix build error

* MDX style

* Update src/components/UI/docs/DocsLinks.tsx

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>

* Abstract LinksList component into its own file

* change requests

* AccordionButton styles

* AccordionButton styled

* fix broken links

* prettier

* prettier

* fix broken default code snippet

* fix accordion spacing

* fix gap at top of DocsNav lg

* fix but of persistent header link

* remove test content

* setup Notes and prettier

* rehype

* Note component

* Note font styling

* convert old notes to use component

* Breadcrumb cleanup and prettier

* MDXComponents -> MDComponent and documentation

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-30 21:06:59 -03:00
Corwin Smith
d4c57f9174
add lastModified date (#68)
* add lastModified date

* prettier

* fix type errors on build

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-30 11:02:08 -03:00
Nicolás Quiroz
b04fd9206f
feat: OpenPGP Signatures data (#67)
* chore: remove test data

* chore: update constants

* chore: update types

* chore: update code-bg dark color

* feat: use real data for OpenPGP Signatures table

* chore: remove unused types

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-30 10:37:59 -03:00
Paul Wackerow
791309031c
Extract search styling to .css 2022-11-29 17:00:33 -08:00
Nicolás Quiroz
520d48f119
chore: update SpecificVersionsSection component layout to match homepage (#64)
* chore: update SpecificVersionsSection component layout to match homepage

* chore: remove non-required repeat function
2022-11-29 15:47:58 -03:00
Nicolás Quiroz
91dd04faa2
feat: All releases downloads (#46)
* chore: update constants

* feat: add releases data utils

* chore: add fast-xml-parser

* chore: update types

* feat: fetch & parse all releases data

* chore: update utils

* wip: use real data on DataTable

* chore: update yarn.lock

* fix: getReleaseCommitHash

* feat: filter data per downloads tab

* chore: update DownloadsTable

* chore: update DownloadsTable Props

* fix: getReleaseArch.ts

* feat: add fetchXMLData util

* feat: add fetchLatestReleaseCommit util

* feat: add getSortedReleases util

* chore: comment wip primary release feature

* fix: fetchXMLData

* chore: add netlify.toml

* fix: total number of releases count

* fix: center showing latest releases text and use smaller font

* chore: prettier

* chore: update textStyles

* fix: merge conflicts
2022-11-29 15:29:52 -03:00
Nicolás Quiroz
d504f047ab
fix: dark mode body colors (#61)
* chore: update textStyles

* markdown text color styles

Co-authored-by: Corwin Smith <cssmittys@gmail.com>
2022-11-29 09:44:53 -03:00
Paul Wackerow
f66ca930f5
linting 2022-11-28 09:39:07 -08:00
Paul Wackerow
95ab538776
Merge branch 'master' into markdown-styling 2022-11-28 09:37:35 -08:00
Nicolás Quiroz
2c226f5c41 chore: removes non-required param 2022-11-25 17:51:14 -03:00