feat: add security page and update preset

This commit is contained in:
jinhojang6 2024-05-16 23:11:59 +09:00
parent 20b24d8ecc
commit 89bc76d51b
No known key found for this signature in database
GPG Key ID: 1762F21FE8B543F8
6 changed files with 47 additions and 18 deletions

View File

@ -40,6 +40,7 @@ const config = {
}, },
}, },
docs: { docs: {
id: 'root-pages',
breadcrumbs: false, breadcrumbs: false,
routeBasePath: '/', routeBasePath: '/',
path: 'root-pages', path: 'root-pages',
@ -146,6 +147,10 @@ const config = {
href: '/privacy-policy', href: '/privacy-policy',
label: 'Privacy Policy', label: 'Privacy Policy',
}, },
{
href: '/security',
label: 'Security',
},
], ],
}, },
], ],

View File

@ -16,7 +16,7 @@
}, },
"dependencies": { "dependencies": {
"@acid-info/docusaurus-fathom": "^1.0.0-alpha.111", "@acid-info/docusaurus-fathom": "^1.0.0-alpha.111",
"@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.162", "@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.172",
"@docusaurus/core": "2.4.1", "@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1", "@docusaurus/preset-classic": "2.4.1",
"@docusaurus/theme-mermaid": "^2.4.1", "@docusaurus/theme-mermaid": "^2.4.1",

14
root-pages/security.md Normal file
View File

@ -0,0 +1,14 @@
---
displayed_sidebar: null
sidebar_class_name: hidden
pagination_prev: null
pagination_next: null
---
# Security
We take security seriously at Nomos and across the <a href="https://free.technology/" target="_blank">Institute of Free Technology</a> and its affiliates.
Please report any security incidents via <a href="mailto:security@free.technology">security@free.technology</a>.
Please report any discovered vulnerabilities in our bounty programme at <a href="https://hackenproof.com/status-dot-app" target="_blank">HackenProof</a> to help ensure our protocols and software remain secure.

View File

@ -16,7 +16,7 @@ html {
align-items: center; align-items: center;
} }
.mdx-hero > .mdx-hero-image > img { .mdx-hero > .mdx-hero-asset img {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
@ -28,7 +28,7 @@ html {
} }
@media screen and (min-width: 996px) { @media screen and (min-width: 996px) {
.mdx-hero > .mdx-hero-image > img { .mdx-hero > .mdx-hero-asset img {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
@ -39,7 +39,7 @@ html {
} }
@media screen and (max-width: 996px) { @media screen and (max-width: 996px) {
.mdx-hero > .mdx-hero-image > img { .mdx-hero > .mdx-hero-asset img {
margin-right: -200px; margin-right: -200px;
margin-left: 0; margin-left: 0;
scale: 0.9; scale: 0.9;
@ -56,7 +56,7 @@ html {
margin-bottom: 260px; margin-bottom: 260px;
} }
.mdx-hero > .mdx-hero-image > img { .mdx-hero > .mdx-hero-asset img {
margin-right: 0; margin-right: 0;
scale: 0.8; scale: 0.8;
margin-top: -15%; margin-top: -15%;
@ -74,7 +74,7 @@ html {
margin-bottom: -20px; margin-bottom: -20px;
} }
.mdx-hero > .mdx-hero-image > img { .mdx-hero > .mdx-hero-asset img {
scale: 1; scale: 1;
margin-top: -8%; margin-top: -8%;
} }

View File

@ -13,7 +13,7 @@ import {
CallToActionButton, CallToActionButton,
FeatureList, FeatureList,
HeroInfo, HeroInfo,
HeroImage, HeroAsset,
Box, Box,
Grid, Grid,
Roadmap, Roadmap,
@ -39,7 +39,9 @@ import Link from '@docusaurus/Link'
</HeroAction> </HeroAction>
</HeroActions> </HeroActions>
</HeroInfo> </HeroInfo>
<HeroImage src="/hero/hero-image.png" alt="alt" /> <HeroAsset>
<img src="/hero/hero-image.png" alt="alt" />
</HeroAsset>
</Hero> </Hero>
<Box> <Box>

View File

@ -36,14 +36,14 @@
satori "^0.10.1" satori "^0.10.1"
sharp "^0.32.1" sharp "^0.32.1"
"@acid-info/logos-docusaurus-preset@v1.0.0-alpha.162": "@acid-info/logos-docusaurus-preset@v1.0.0-alpha.172":
version "1.0.0-alpha.162" version "1.0.0-alpha.172"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.162.tgz#b2125cac7456a38f8d50ee1fda95682756252108" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.172.tgz#b0eee053ba915d4af7510374714fbd5936ef1de1"
integrity sha512-laY/l2j8kFjdY7Ri0/YPBOsHd3Ol2sSdX4/T1Bgb2pPM2bw3I1sEAB2jxw3C0YklqLvFBCjBCmPYRb4lwWixXg== integrity sha512-s0613/G1Zak+GRH7+vQyhUjddR+nGY0zeA7vHxM4YjEnv/CRvqsKH8oMVcBygHFKzO5R0faYOJcvClKdgq/YIA==
dependencies: dependencies:
"@acid-info/docusaurus-og" "^1.0.0-alpha.131" "@acid-info/docusaurus-og" "^1.0.0-alpha.131"
"@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.111" "@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.172"
"@docusaurus/core" "^2.4.1" "@docusaurus/core" "^2.4.1"
"@docusaurus/module-type-aliases" "^2.4.1" "@docusaurus/module-type-aliases" "^2.4.1"
"@docusaurus/preset-classic" "^2.4.1" "@docusaurus/preset-classic" "^2.4.1"
@ -71,10 +71,10 @@
"@easyops-cn/docusaurus-search-local" "^0.33.6" "@easyops-cn/docusaurus-search-local" "^0.33.6"
lodash "^4.17.21" lodash "^4.17.21"
"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.162": "@acid-info/logos-docusaurus-theme@^1.0.0-alpha.172":
version "1.0.0-alpha.162" version "1.0.0-alpha.173"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.162.tgz#eb6b57526c5d23a576a3f070e8cd4efe24aec806" resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.173.tgz#6064967f89a272528265a23f968dc8d22806df9f"
integrity sha512-jixawhnNsLsgttWEU4F5L1PrKtwfkdL29BAQ7zcaIHw7sAXr1A+O/kjQmkNfj6iXv239gg3YllTkpkPfZVBBfA== integrity sha512-Jds7rIGspcm5xqXxOi4tW9MZ5u0gV2c7e7BYexKmd3/eS4Ca0POHLiDRA/2DytWB7JGYowuiMVUZ8HzXC+K+ww==
dependencies: dependencies:
"@acid-info/docusaurus-og" "^1.0.0-alpha.131" "@acid-info/docusaurus-og" "^1.0.0-alpha.131"
"@acid-info/lsd-react" "^0.1.0-beta.3" "@acid-info/lsd-react" "^0.1.0-beta.3"
@ -2463,7 +2463,7 @@
"@docusaurus/theme-search-algolia" "2.4.1" "@docusaurus/theme-search-algolia" "2.4.1"
"@docusaurus/types" "2.4.1" "@docusaurus/types" "2.4.1"
"@docusaurus/react-loadable@5.5.2", "react-loadable@npm:@docusaurus/react-loadable@5.5.2": "@docusaurus/react-loadable@5.5.2":
version "5.5.2" version "5.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce" resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ== integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
@ -11553,6 +11553,14 @@ react-loadable-ssr-addon-v5-slorber@^1.0.1:
dependencies: dependencies:
"@babel/runtime" "^7.10.3" "@babel/runtime" "^7.10.3"
"react-loadable@npm:@docusaurus/react-loadable@5.5.2":
version "5.5.2"
resolved "https://registry.yarnpkg.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce"
integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ==
dependencies:
"@types/react" "*"
prop-types "^15.6.2"
react-merge-refs@^1.1.0: react-merge-refs@^1.1.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/react-merge-refs/-/react-merge-refs-1.1.0.tgz#73d88b892c6c68cbb7a66e0800faa374f4c38b06" resolved "https://registry.yarnpkg.com/react-merge-refs/-/react-merge-refs-1.1.0.tgz#73d88b892c6c68cbb7a66e0800faa374f4c38b06"