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
Corwin Smith
a11ce6cb8a
Merge pull request #117 from thouravi/patch-1
...
Extracted the style objects and props into variable
2022-12-05 20:07:11 +01:00
Corwin Smith
5926da4aa7
filter out anchor tag
2022-12-05 11:38:04 -07:00
Paul Wackerow
1f90789712
Link section padding [ Fixes #71 ] ( #106 )
...
* rename to LinksList
* add padding after sections in LinksList
* reduce padding between sections to 1.5rem
2022-12-05 13:37:44 -03:00
Paul Wackerow
8b1b80604e
Icon line weight patch [ Fixes #70 ] ( #105 )
...
* add custom AddIcon and MinusIcon svgs
* switch DocsLinks to use custom +/- svgs
* fix size of +/- svgs
2022-12-05 13:31:39 -03:00
Paul Wackerow
2ae5698622
Stylize active docs link [ Fixes #74 , Fixes #115 ] ( #108 )
...
* add bold for active docs link [Fixes #74 ]
* Add ::before indicator to active doc link
Removes bold styling per design
* Update documentation-links.yaml
Makes it so `id` is paired with either a `to` field OR a list of `items` but not both
* Updates hover styling for left docs nav
* clean up styling
Removes remaining underlines from links styled as buttons. Cleans up logic for conditionally showing the ::before pseudo element. Makes the ::before indicator slightly larger.
* tweak ::before indicator styling
* tweak ::before indicator styling
2022-12-05 12:13:47 -03:00
Paul Wackerow
e564ae46aa
adjust docs nav gap to 14px per design
2022-12-03 18:50:23 -08:00
Paul Wackerow
7e5c3cacbc
use Box instead of flex Stack for nav items
...
allows vertical margins of children to properly collapse into one another
2022-12-03 18:50:11 -08: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
3a2a4b1cbf
patch responsive width [ Fixes #53 ] ( #104 )
2022-12-02 15:07:58 -03:00
Avi Thour
a1ff1fe755
Extracted the style objects and props into variable
...
Extracted the common style objects and props into variables or constants to avoid repeating the same code and make the code easier to read.
Instead of repeating the same _hover styles in multiple places, I created a hoverStyles object and used it in each Link component.
2022-12-02 21:49:09 +05:30
Nicolás Quiroz
50bfc2053a
fix: show 2 latest releases for linux
2022-12-02 13:18:00 -03:00
Paul Wackerow
123b299345
prevent Header title from wrapping [ Fixes #79 ] ( #111 )
2022-12-02 11:32:30 -03:00
Nicolás Quiroz
f2ae1511e5
fix: downloads page borders & margins
2022-12-01 16:46:42 -03: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
Paul Wackerow
7d444269fd
remove old search component
2022-11-30 12:05:57 -08:00
Paul Wackerow
8ad35ea5b4
linting
2022-11-30 12:05:47 -08: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
3b0d117e89
debug: algolia demo keys
2022-11-29 19:12:48 -08:00
Paul Wackerow
454ce1cdb3
temporarily revert test key removal
2022-11-29 19:01:59 -08:00
Paul Wackerow
b95934f292
further mobile styling
2022-11-29 18:39:02 -08:00
Paul Wackerow
5d9df5bfd4
extract keys to .env
2022-11-29 18:20:40 -08:00
Paul Wackerow
f1282fbe9d
add mobile styling
2022-11-29 18:17:09 -08:00
Paul Wackerow
0e295c32b7
add missing border to nav search
2022-11-29 17:11:22 -08:00
Paul Wackerow
791309031c
Extract search styling to .css
2022-11-29 17:00:33 -08:00
Paul Wackerow
9d9735a252
Merge branch 'master' into algolia
2022-11-29 16:06:25 -08:00
Nicolás Quiroz
6cebcb3454
chore: move favicon code to PageMetadata
2022-11-29 15:52:51 -03:00
Nicolás Quiroz
8adf771339
Merge branch 'master' of github.com:ethereum/geth-website into add-favicon
2022-11-29 15:50:41 -03: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
Corwin Smith
e96d48d323
Merge pull request #63 from ethereum/update-metadata-image
...
chore: update metadata image
2022-11-29 19:40:33 +01: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
3efb3a6a18
chore: update PageMetadata default image
2022-11-29 12:25:11 -03:00
Nicolás Quiroz
9d3f51972d
feat: add favicon
2022-11-29 12:04:45 -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
42c0b33f1d
update homepage h1 mobile styling to match design ( #60 )
2022-11-28 20:32:58 -03:00
Paul Wackerow
5646bc1c2b
initialize Search component
...
using DocSearch component via @docsearch/react library
2022-11-28 14:07:40 -08:00
Paul Wackerow
dec085dcbb
import chakra components, add ol styling
2022-11-28 13:28:12 -08:00
Paul Wackerow
f36e271041
Update src/components/MDXComponents.tsx
...
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
2022-11-28 22:20:43 +01:00
Paul Wackerow
ce98eb17fe
clean up from code review suggestions
2022-11-28 13:05:54 -08:00
Paul Wackerow
020da18f6b
expand bottom margin for mdx tables
2022-11-28 11:08:00 -08:00
Paul Wackerow
8c4e35aed2
remove unnecessary font size declaration
2022-11-28 10:30:29 -08:00
Paul Wackerow
95ab538776
Merge branch 'master' into markdown-styling
2022-11-28 09:37:35 -08:00
Paul Wackerow
440493b05e
revert margin on last paragraph item
2022-11-27 13:23:06 -05:00
Paul Wackerow
f95192beb0
fix Code interface
2022-11-27 13:15:51 -05:00
Nicolás Quiroz
2c226f5c41
chore: removes non-required param
2022-11-25 17:51:14 -03:00
Paul Wackerow
865802bdff
Limit SVG width on mobile [ Fixes #38 ] ( #41 )
...
* fix horizontal scroll on mobile downloads
* padding change requests
* fix: DownloadsHero padding
* fix: border color
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-11-23 22:29:03 -03:00
Paul Wackerow
bd80434b83
Mobile menu ( #39 )
...
* add MobileMenu component
* implement MobileMenu via Header
* close menu with links
* move all menu logic to MobileMenu component
* refactor MobileMenu to use Modals
* remove unneeded motion params
* remove animation on fixed modal
* abstract out a HeaderButtons component
* abstract out Search component
* move BORDER_WIDTH to constants
* hover fixes
* change requests
* fix: Link should wrap header buttons
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-11-23 16:57:49 -03:00
Paul Wackerow
f09d02aecd
extract and merge Code component
...
Merges "Code" component from within MDXComponents to recently added UI/docs/Code.tsx, merging and cleaning up conflicts.
Moves all syntax highlighter logic to this component.
2022-11-23 12:53:37 -05:00
Paul Wackerow
3620978f69
Merge branch 'master' into markdown-styling
2022-11-23 12:07:26 -05:00
Nicolás Quiroz
5364cb731e
Merge pull request #33 from ethereum/codeSnippet
...
Code snippet
2022-11-23 13:19:03 -03:00
Corwin Smith
790cf04347
Add breadcrumbs to docs ( #37 )
...
* Add breadcrumbs to docs
* change BreadcrumbLink to NextLink
* Update src/components/docs/Breadcrumbs.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
* Update src/components/docs/Breadcrumbs.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-23 11:14:19 -03:00
Paul Wackerow
0c02294710
Merge branch 'master' into markdown-styling
2022-11-22 12:43:02 -08:00
Corwin Smith
6205ba69d8
move text styles out of Code.tsx into textStyles
2022-11-21 21:06:08 -07:00
Corwin Smith
282b4ae0ea
Merge branch 'master' into codeSnippet
2022-11-21 20:47:18 -07:00
Paul Wackerow
b382a5ad1a
update link and header styling
2022-11-21 18:21:05 -08:00
Paul Wackerow
f6962d5b85
update code blocks
2022-11-21 18:19:32 -08:00
Paul Wackerow
46c2aa3cea
Update MDXComponents.tsx
2022-11-21 18:18:19 -08:00
Corwin Smith
20c0a6b2b3
fix footer padding issue ( #35 )
2022-11-21 21:55:35 -03:00
Corwin Smith
6ff05ed817
PageMetaData component ( #30 )
...
* create PageMetaData component
* small clean up
* add page descriptions
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-21 21:53:51 -03:00
Paul Wackerow
7b47d59744
dynamically get prog lang name
2022-11-21 15:41:38 -08:00
Paul Wackerow
0ab1fdcb9d
fix naming collision
2022-11-21 15:39:51 -08:00
Paul Wackerow
cf0dab7ce0
Update MDXComponents.tsx
2022-11-21 15:37:40 -08:00
Paul Wackerow
cfc24e4bf8
add code blocks styling
2022-11-21 15:26:37 -08:00
Paul Wackerow
ebdb7a852e
update MDX header styles
2022-11-21 15:25:15 -08:00
Corwin Smith
e0de40b8dc
add design system theme colors
2022-11-17 12:32:59 -07:00
Corwin Smith
ca02fe408e
Merge branch 'setupDocs' into codeSnippet
2022-11-17 12:24:42 -07:00
Paul Wackerow
94fbb7fdd5
replace image with Gopher component
2022-11-17 09:29:20 -08:00
Paul Wackerow
e2858c04dc
Update SpecificVersionsSection.tsx
2022-11-16 22:16:00 -08:00
Paul Wackerow
87665f0e35
Merge branch 'master' into dark-mode
2022-11-16 22:15:54 -08:00
Paul Wackerow
ecb4f6a9ce
matched button hover styling for dark toggle
2022-11-16 21:49:31 -08:00
Corwin Smith
f380245ca0
Merge branch 'setupDocs' into codeSnippet
2022-11-16 22:39:01 -07:00
Corwin Smith
73454b0028
style code blocks
2022-11-16 22:36:25 -07:00
Corwin Smith
649918abe5
inline code styles
2022-11-16 21:37:01 -07:00
Nicolás Quiroz
5d61fc3219
Merge branch 'master' of github.com:ethereum/geth-website into latest-releases-downloads
2022-11-16 21:24:24 -03:00
Corwin Smith
3643120353
change requests
2022-11-16 17:05:04 -07:00
Paul Wackerow
4e25c6bf94
linting
2022-11-16 15:06:56 -08:00
Paul Wackerow
87f1d60428
implement ButtonLinkSecondary component
2022-11-16 15:03:37 -08:00
Paul Wackerow
e9ca402279
create ButtonLinkSecondary component
2022-11-16 15:00:05 -08:00
Paul Wackerow
8016016c68
prop clean up
2022-11-16 13:11:54 -08:00
Paul Wackerow
caaedf0335
refactor to Section components to accept SVG prop
2022-11-16 13:09:38 -08:00
Paul Wackerow
d791e0a1a3
replace downloads images with SVG components
2022-11-16 12:59:39 -08:00
Paul Wackerow
980255ebcf
build downloads svg components
2022-11-16 12:57:49 -08:00
Paul Wackerow
0bbb61cfb2
replace homepage images with SVG components
...
allows color of SVGs to be dynamically styled based on color mode choice
2022-11-16 12:14:48 -08:00
Paul Wackerow
483a822251
build homepage svg components
2022-11-16 12:11:17 -08:00
Nicolás Quiroz
83a2c81290
feat: add latest releases downloads logic
2022-11-16 16:01:23 -03:00
Paul Wackerow
384ecd0248
add sun icon when in dark mode
2022-11-15 20:55:48 -08:00
Paul Wackerow
fe4014c03c
enable light/dark mode toggle button
2022-11-15 18:00:50 -08:00
Paul Wackerow
c71e2e2e23
refactor colors to use semantic tokens
2022-11-15 18:00:31 -08:00
Paul Wackerow
d43682359f
update icon svg colors to use currentColor
...
enabled color-mode responsiveness with "color" prop
2022-11-15 17:52:53 -08:00
Paul Wackerow
e77c1507f5
fix hamburger spelling
...
switch fill color to "currentColor" to allow using dark mode responsive "color" prop
2022-11-15 17:50:02 -08:00
Corwin Smith
48553b284e
Merge branch 'master' into downloads-desktop
2022-11-15 16:10:14 -07:00
Corwin Smith
71ce846b9e
Merge branch 'master' into setupDocs
2022-11-15 16:07:00 -07:00
Corwin Smith
4cd65f1b22
Remove flex from DownloadsHero
2022-11-15 15:19:12 -07:00
Corwin Smith
86ada0d098
fix footer regression ( #29 )
...
* fix footer regression
* fix social icon and copyright date
2022-11-15 16:24:27 -03:00
Corwin Smith
10a0a3680a
setup template to render for docs
2022-11-13 22:03:06 -07:00
Corwin Smith
99dfffb820
prettier
2022-11-09 14:32:37 -07:00
Corwin Smith
d7a2af0cef
change requests
2022-11-09 14:28:50 -07:00
Corwin Smith
4079c37950
Merge branch 'master' into downloads-desktop
2022-11-09 21:25:37 +01:00