From 2dcc17fc51e6fb718237826fcdaa9afc5d99a236 Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Thu, 16 May 2024 23:36:08 +0900 Subject: [PATCH] feat: add security page and update preset --- docusaurus.config.js | 8 +++++--- package.json | 2 +- root-pages/security.md | 14 ++++++++++++++ src/css/custom.scss | 12 ++++++------ src/pages/index.mdx | 6 ++++-- yarn.lock | 18 +++++++++--------- 6 files changed, 39 insertions(+), 21 deletions(-) create mode 100644 root-pages/security.md diff --git a/docusaurus.config.js b/docusaurus.config.js index 5e8f79e..04aeb46 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -53,9 +53,7 @@ const config = { jobBoard: 'nimbus', }, }, - og: { - path: '_og', - }, + og: {}, }), ], ], @@ -165,6 +163,10 @@ const config = { href: '/privacy-policy', label: 'Privacy Policy', }, + { + href: '/security', + label: 'Security', + }, ], }, ], diff --git a/package.json b/package.json index 3350a2a..f229967 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "typecheck": "tsc" }, "dependencies": { - "@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.162", + "@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.174", "@docusaurus/core": "2.4.1", "@docusaurus/preset-classic": "2.4.1", "@docusaurus/theme-mermaid": "^2.4.1", diff --git a/root-pages/security.md b/root-pages/security.md new file mode 100644 index 0000000..babaff7 --- /dev/null +++ b/root-pages/security.md @@ -0,0 +1,14 @@ +--- +displayed_sidebar: null +sidebar_class_name: hidden +pagination_prev: null +pagination_next: null +--- + +# Security + +We take security seriously at Nimbus and across the Institute of Free Technology and its affiliates. + +Please report any security incidents via security@free.technology. + +Please report any discovered vulnerabilities in our bounty programme at HackenProof to help ensure our protocols and software remain secure. \ No newline at end of file diff --git a/src/css/custom.scss b/src/css/custom.scss index da480be..ac4c773 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -62,7 +62,7 @@ html[data-theme='light'] { background: transparent; } -.mdx-hero > .mdx-hero-image > img { +.mdx-hero > .mdx-hero-asset img { position: absolute; right: 0; top: 0; @@ -74,7 +74,7 @@ html[data-theme='light'] { } @media screen and (min-width: 996px) { - .mdx-hero > .mdx-hero-image > img { + .mdx-hero > .mdx-hero-asset img { position: absolute; right: 0; top: 0; @@ -84,7 +84,7 @@ html[data-theme='light'] { } @media screen and (max-width: 996px) { - .mdx-hero > .mdx-hero-image > img { + .mdx-hero > .mdx-hero-asset img { margin-right: -200px; margin-left: 0; scale: 0.9; @@ -97,7 +97,7 @@ html[data-theme='light'] { } @media screen and (max-width: 768px) { - .mdx-hero > .mdx-hero-image > img { + .mdx-hero > .mdx-hero-asset img { margin-right: 22px; scale: 0.9; margin-top: -15%; @@ -109,7 +109,7 @@ html[data-theme='light'] { margin-bottom: 60px; } - .mdx-hero > .mdx-hero-image > img { + .mdx-hero > .mdx-hero-asset img { scale: 1; margin-top: -15%; margin-right: 0; @@ -122,7 +122,7 @@ html[data-theme='light'] { margin-bottom: 40px; } - .mdx-hero > .mdx-hero-image > img { + .mdx-hero > .mdx-hero-asset img { scale: 1.1; margin-top: 0; margin-right: 0; diff --git a/src/pages/index.mdx b/src/pages/index.mdx index f155cb1..cf56320 100644 --- a/src/pages/index.mdx +++ b/src/pages/index.mdx @@ -8,7 +8,7 @@ import { HeroDescription, HeroActions, HeroAction, - HeroImage, + HeroAsset, CallToActionSection, FeatureList, HeroInfo, @@ -43,7 +43,9 @@ import { Button } from '@acid-info/lsd-react' - + + alt + diff --git a/yarn.lock b/yarn.lock index e0ec62b..8e4e2ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,14 +19,14 @@ satori "^0.10.1" sharp "^0.32.1" -"@acid-info/logos-docusaurus-preset@v1.0.0-alpha.162": - version "1.0.0-alpha.162" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.162.tgz#b2125cac7456a38f8d50ee1fda95682756252108" - integrity sha512-laY/l2j8kFjdY7Ri0/YPBOsHd3Ol2sSdX4/T1Bgb2pPM2bw3I1sEAB2jxw3C0YklqLvFBCjBCmPYRb4lwWixXg== +"@acid-info/logos-docusaurus-preset@v1.0.0-alpha.174": + version "1.0.0-alpha.174" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.174.tgz#34b588a2b81c140e194c00eabd52d0d623f2477c" + integrity sha512-lz8Zm+x3tJF9DepSTfZkiBSKfhsTa1h1WnA5py5lXo5fqZiDmzlIyr0m3Tnxm9hFoejw0DMshgGJmwNNaNFFNA== dependencies: "@acid-info/docusaurus-og" "^1.0.0-alpha.131" "@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.111" - "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.162" + "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.174" "@docusaurus/core" "^2.4.1" "@docusaurus/module-type-aliases" "^2.4.1" "@docusaurus/preset-classic" "^2.4.1" @@ -54,10 +54,10 @@ "@easyops-cn/docusaurus-search-local" "^0.33.6" lodash "^4.17.21" -"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.162": - version "1.0.0-alpha.162" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.162.tgz#eb6b57526c5d23a576a3f070e8cd4efe24aec806" - integrity sha512-jixawhnNsLsgttWEU4F5L1PrKtwfkdL29BAQ7zcaIHw7sAXr1A+O/kjQmkNfj6iXv239gg3YllTkpkPfZVBBfA== +"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.174": + version "1.0.0-alpha.174" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.174.tgz#6457c75645e88f2e30d1be691c8008bb33f145e9" + integrity sha512-IgoTGv5zGkZ2lUHnUF0fQiGAdboEbb1L4pR4Ov0wmTfWAQ4aH3vwsjD4ARJ3qLjVapwHG1mEcjzdOqId3wIy2g== dependencies: "@acid-info/docusaurus-og" "^1.0.0-alpha.131" "@acid-info/lsd-react" "^0.1.0-beta.3"