Skip to content

Commit

Permalink
Add a draft of the landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Karkunow committed Sep 13, 2024
1 parent 07f29c9 commit 6544b21
Show file tree
Hide file tree
Showing 12 changed files with 1,189 additions and 28 deletions.
33 changes: 27 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ const config = {

plugins: [
'./src/plugins/webpack-plugin.js',
[
'@docusaurus/plugin-ideal-image',
{
quality: 70,
max: 1030, // max resized image's size.
min: 640, // min resized image's size. if original is lower, use that size.
steps: 2, // the max number of images generated between min and max (inclusive)
disableInDev: false,
},
],
[
require.resolve('@docusaurus/plugin-client-redirects'),
{
Expand Down Expand Up @@ -120,15 +130,26 @@ const config = {
srcDark: 'img/docs_logo_white.svg',
},
items: [
{label: 'Learn', position: 'left', href: '/getting-started/overview'},
{label: 'Build on Aurora', position: 'left', href: '/build-a-dapp/introduction'},
{label: 'Launch virtual chain', position: 'left', href: '/launch-chain/introduction'},
{label: 'Dev tools', position: 'left', href: '/build-a-dapp/introduction'},
{
href: 'https://github.com/aurora-is-near/doc.aurora.dev',
label: 'GitHub',
type: 'dropdown',
label: 'Resources',
position: 'right',
items: [
{label: 'Blog', href: '/blog'},
{
href: 'https://github.com/aurora-is-near/doc.aurora.dev',
label: 'GitHub',
},
{
href: 'https://discord.gg/RQetTRnMrC',
label: 'Discord',
},
],
},
{label: 'Users', position: 'left', href: '/getting-started/overview'},
{label: 'Partners', position: 'left', href: '/launch-chain/introduction'},
{label: 'Developers', position: 'left', href: '/build-a-dapp/introduction'},
{label: 'Blog', position: 'right', href: '/blog'}
]
},
footer: {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@algolia/client-search": "^4.15.0",
"@docusaurus/core": "3.5.2",
"@docusaurus/plugin-client-redirects": "3.5.2",
"@docusaurus/plugin-ideal-image": "^3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@docusaurus/theme-common": "3.5.2",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
Expand All @@ -30,6 +31,7 @@
"react": "^18.2.0",
"react-cookie": "7.0.2",
"react-dom": "^18.2.0",
"react-lite-youtube-embed": "^2.4.0",
"sass": "^1.59.3",
"sass-loader": "^13.2.1",
"typescript": "^5.0.2",
Expand Down
Loading

0 comments on commit 6544b21

Please sign in to comment.