Skip to content

Commit

Permalink
Antoine/test new landing page (#194)
Browse files Browse the repository at this point in the history
* remove Kandel infobox + draft Kandel param. recommendation

* Return definition + guide typo

* test mangrove sidebar and colors

* test mangrove sidebar and colors

* bug fix homepage

* more tweaks

* editing menu

* Adding /developers slug

* Removing /developers slug since it breaks all links

* modifying sidebar for FAQ and Glossary pages

* adding a developers.md landing page for the Dev section

* adding /general and /developers slugs

* correcting broken link

* correcting broken links again

* updates

General -> root
Glossary -> links section
Deleted unused frontpages

* restructure developers into folder

* fix broken links and move glossary

* typo

* fix sidebars link

* temp remove developers/README link

* fix links

* term links

* Glossary file moved

* Developers links

reintroduce developers link on General, and remove in Developers

* terms sidebar

* link fix

* fix link

* Removing some Kandel file + adding color changes to info bubbles

* adding /general folder + other tweaks

* adding new home page + table of content

* fixing link

* adding justified text on home page

* adding Kandel parameters + home page + dev page modif

* fix buttons home page

* fix buttons home page

* test color change light mode

* test color 2

* tweaks FAQ light mode

* typos, adding links and minor fixes

---------

Co-authored-by: Troels Damgaard <[email protected]>
  • Loading branch information
frkralj and dontrolle authored Oct 17, 2023
1 parent 5264405 commit 6187b2e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/developers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ The purpose of the Mangrove Developers doc is to:


We suggest you start by reading [this introduction](./contracts/README.md).
If there's anything that is missing, or if you have questions, feel free to reach out to us via [Discord](https://discord.gg/rk9Qthz5YE).
If there's anything that is missing, or if you have questions, feel free to reach out via [Discord](https://discord.gg/rk9Qthz5YE).
1 change: 1 addition & 0 deletions docs/general/table-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ sidebar_position: 0
* [How does Kandel work?](./kandel/how-does-kandel-work/how-does-kandel-work.md)
* [Step-by-step visual explanation](./kandel/how-does-kandel-work/step-by-step-visual-explanation.md)
* [Parameters](./kandel/how-does-kandel-work/parameters.md)
* [Choose the right parameters](./kandel/how-does-kandel-work/choosing-parameters.md)
* [Strategy reserve](./kandel/how-does-kandel-work/strategy-reserve.md)
* [More on failing offers](./kandel/how-does-kandel-work/more-on-failing-offers.md)
* [Details on strategies](./kandel/details-on-strats/details-on-strats.md)
Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const config = {
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: true,
respectPrefersColorScheme: false,
},
docs: {
sidebar: {
Expand All @@ -127,7 +127,7 @@ const config = {
alt: 'Mangrove logo',
src: 'img/assets/mangrove_only_logo_dark.png',
srcDark: 'img/assets/mangrove_only_logo_white.png',
href: '/general/table-content',
href: '/',
target: '_self',
},
items: [
Expand Down
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const sidebars = {
items: [
{
type: 'category',
label: '🕯️ Kandel',
label: '️ Kandel',
collapsed: false,
items: [
{
Expand Down
2 changes: 2 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
--ifm-color-primary-lighter: #206e56;
--ifm-color-primary-lightest: #247d62;
--ifm-font-size-base: 15px;
text-align: justify;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand All @@ -28,6 +29,7 @@
--ifm-color-primary-lightest: #8de6af;
background-color: #072221;
--ifm-font-size-base: 15px;
text-align: justify;
}

.alert--info{
Expand Down

0 comments on commit 6187b2e

Please sign in to comment.