Skip to content

Commit

Permalink
update index
Browse files Browse the repository at this point in the history
  • Loading branch information
getsurfboard committed Apr 9, 2022
1 parent e668262 commit dbc47a6
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Please subjectively perceive whether the battery consumption has increased signi

Please try to use bypass config in the 'tools' tab. Filtering/allowing some app traffic into VPN can reduce battery consumption.

::: tip
:::tip
Use bypass config settings only if you know what are you doing. Incorrect configuration may cause some applications to not work properly
:::

Expand Down
8 changes: 8 additions & 0 deletions docs/how_to_use_this_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ You can refer to the profile format documentation [here](/docs/profile-format/ov

## Start VPN

TODO

## Change proxy group selection

TODO

## Speed test

TODO
8 changes: 8 additions & 0 deletions src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ const FeatureList = [
title: 'Tools for debug',
Png: require('@site/static/img/tools.png').default,
},
{
title: 'Dark mode support',
Png: require('@site/static/img/dark_mode.png').default,
},
{
title: 'More to explore...',
Png: require('@site/static/img/settings.png').default,
},
];

function Feature({Png, title}) {
Expand Down
5 changes: 5 additions & 0 deletions src/components/HomepageFeatures/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
}

.featureImg {
border-radius: 8px;
border: 2px solid var(--ifm-color-emphasis-800);
padding: 0px;
height: 570px;
width: 270px;
margin-top: 40px;
margin-bottom: 20px;
}
15 changes: 7 additions & 8 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--ifm-color-primary: #2daf9b;
--ifm-color-primary-dark: #299e8b;
--ifm-color-primary-darker: #269584;
--ifm-color-primary-darkest: #207b6c;
--ifm-color-primary-light: #32c1aa;
--ifm-color-primary-lighter: #34c9b2;
--ifm-color-primary-lightest: #4dd1bd;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function HomepageHeader() {
<Link
className="button button--secondary button--lg"
to="/docs/installation">
Start using Surfboard
Explore more
</Link>
</div>
</div>
Expand Down
Binary file added static/img/dark_mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dbc47a6

Please sign in to comment.