Skip to content

Commit

Permalink
refactor: Refactor font family with roboto and ui design (#140)
Browse files Browse the repository at this point in the history
* refactor: Refactor font family with roboto

* remove code comments

* fix: Fixed the main color in homepage

* fix: Fixed the site url for beyond-tp
  • Loading branch information
aprilyang authored Jul 6, 2021
1 parent fc8847b commit 5833bf9
Show file tree
Hide file tree
Showing 33 changed files with 203 additions and 99 deletions.
23 changes: 17 additions & 6 deletions docusaurus.footer.config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions docusaurus.navbar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
position: 'left',
items: [
{label: 'go-storage', href: 'https://github.com/beyondstorage/go-storage'},
{label: 'Data migration', href: 'https://github.com/beyondstorage/dm'},
{label: 'BeyondTP', href: 'https://github.com/beyondstorage/beyond-tp'},
],
},
{
Expand All @@ -35,16 +35,16 @@ module.exports = {
],
},
{
to: 'community/#discussions',
href: 'https://matrix.to/#/#campfire:aos.dev',
position: 'right',
className: 'navbar__link--matrix',
'aria-label': 'Matrix',
},
{
href: 'https://join.slack.com/t/aos-wg/shared_invite/zt-pf4yk96u-7znnJVYpQvY57C3rRrbDPg',
href: 'https://twitter.com/beyond_storage',
position: 'right',
className: 'navbar__link--slack',
'aria-label': 'GitHub repository',
className: 'navbar__link--twitter',
'aria-label': 'Twitter',
},
{
href: 'https://github.com/beyondstorage',
Expand Down
6 changes: 5 additions & 1 deletion i18n/en-US/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@
"description": "The label of footer link with label=Forum linking to https://forum.beyondstorage.io"
},
"copyright": {
"message": "Copyright © 2021 Beyond Storage.",
"message": "Copyright © 2021 BeyondStorage.io",
"description": "The footer copyright"
},
"link.item.label.BeyondTP": {
"message": "BeyondTP",
"description": "The label of footer link with label=BeyondTP linking to https://github.com/beyondstorage/dm"
}
}
4 changes: 4 additions & 0 deletions i18n/en-US/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@
"item.label.Forum": {
"message": "Forum",
"description": "Navbar item with label Forum"
},
"item.label.BeyondTP": {
"message": "BeyondTP",
"description": "Navbar item with label BeyondTP"
}
}
6 changes: 4 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #4898F7;
--ifm-color-primary: #2B99FF;
--ifm-color-primary-dark: rgb(33, 175, 144);
--ifm-color-primary-darker: rgb(31, 165, 136);
--ifm-color-primary-darkest: rgb(26, 136, 112);
Expand Down Expand Up @@ -48,5 +48,7 @@
padding: 0 var(--ifm-pre-padding);
}

@import "./fonts.css";
@import "./layout.css";

/* Roboto Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
Loading

1 comment on commit 5833bf9

@vercel
Copy link

@vercel vercel bot commented on 5833bf9 Jul 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.