From fa67f6736a21030a4ec65644b47265da3111887c Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 15 Nov 2023 17:42:16 +0000 Subject: [PATCH] Create join us page (#134) * adds join us page * update custom page headers * moves the community and join us page to the docs folder * removes custom page container * update preset package - fixes link underline css styles override --- .gitignore | 2 + docs/community.mdx | 45 ++++++++++++++++++ docs/join-us.mdx | 13 ++++++ docusaurus.config.js | 10 ++++ package.json | 2 +- src/css/custom.scss | 12 +---- src/pages/community.mdx | 40 ---------------- yarn.lock | 100 ++++++++++++++++++++++------------------ 8 files changed, 126 insertions(+), 98 deletions(-) create mode 100644 docs/community.mdx create mode 100644 docs/join-us.mdx delete mode 100644 src/pages/community.mdx diff --git a/.gitignore b/.gitignore index e8af2f5..b38b040 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ yalc.lock .idea static/search-index.json + +static/generated/* diff --git a/docs/community.mdx b/docs/community.mdx new file mode 100644 index 0000000..7ad5aaf --- /dev/null +++ b/docs/community.mdx @@ -0,0 +1,45 @@ +--- +title: Join the community +hide_title: true +pagination_prev: null +pagination_next: null +displayed_sidebar: null +hide_table_of_contents: true +--- + +import { Grid, Box, SocialCard } from '/src/components/mdx' + +# Join the community + + + Join the Vac Community! +
+
+ Keep up to date with our latest research by connecting with us on our communities channels. +
+ + + + + + + + + + + + + + diff --git a/docs/join-us.mdx b/docs/join-us.mdx new file mode 100644 index 0000000..eed5c80 --- /dev/null +++ b/docs/join-us.mdx @@ -0,0 +1,13 @@ +--- +title: Join Us +hide_title: true +pagination_prev: null +pagination_next: null +displayed_sidebar: null +hide_table_of_contents: true +--- + +import * as jobData from '/static/generated/jobs.json' +import { JobsPerDepartment } from '/src/components/mdx' + + diff --git a/docusaurus.config.js b/docusaurus.config.js index 209edaf..cf7c82d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -44,6 +44,11 @@ const config = { rehypePlugins: [katex], }, og: {}, + generated: { + jobList: { + jobBoard: 'vac', + }, + }, }), ], ], @@ -98,6 +103,11 @@ const config = { to: '/rlog', activeBasePath: 'rlog', }, + { + label: 'Join Us', + to: '/join-us', + activeBasePath: 'join-us', + }, ], }, footer: { diff --git a/package.json b/package.json index 7b4880d..3b03051 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "typecheck": "tsc" }, "dependencies": { - "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.100", + "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.115", "@docusaurus/core": "2.4.1", "@docusaurus/plugin-client-redirects": "^2.4.1", "@docusaurus/preset-classic": "2.4.1", diff --git a/src/css/custom.scss b/src/css/custom.scss index d0d61a9..92096c2 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -12,18 +12,8 @@ html { } } -.community-container { - max-width: 796px; - margin: 16px auto 0 auto; -} - -div:has(.community-container) > .container { - padding-bottom: 0 !important; - margin-bottom: 0 !important; -} - div[class^='blogHeader'] { span { display: none; } -} \ No newline at end of file +} diff --git a/src/pages/community.mdx b/src/pages/community.mdx deleted file mode 100644 index 95d8cbd..0000000 --- a/src/pages/community.mdx +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: Join the community ---- - -import { Community } from '../components/mdx' - -
- -# Join the community - -
-
- -Join the Vac Community! - -
- -Keep up to date with our latest research by connecting with us on our communities channels. - - -
\ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 26cc3eb..7855472 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,44 +2,10 @@ # yarn lockfile v1 -"@acid-info/docusaurus-og@^1.0.0-alpha.76": - version "1.0.0-alpha.76" - resolved "https://registry.yarnpkg.com/@acid-info/docusaurus-og/-/docusaurus-og-1.0.0-alpha.76.tgz#45e8851fb12fc791b07856d07e9509980ddbebcc" - integrity sha512-dFs/TyZUI2Q2dLpr7nSE2/QaRhnKOC8cmypb4dhcMPZFsXhwAqgUbfQ1KNV/fRD60uYT5GHnLZ8q7CmnBSQXiw== - dependencies: - "@docusaurus/core" "^2.4.1" - "@docusaurus/module-type-aliases" "^2.4.1" - "@docusaurus/types" "^2.4.1" - "@docusaurus/utils" "^2.4.1" - "@docusaurus/utils-common" "^2.4.1" - "@docusaurus/utils-validation" "^2.4.1" - "@easyops-cn/docusaurus-search-local" "^0.33.6" - lodash "^4.17.21" - -"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.100": - version "1.0.0-alpha.100" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.100.tgz#061329adcaf840f5139bf3cceb9f7a3eba7be771" - integrity sha512-zWS8zqxmH2IZ8MACERPus6oyuPL3M+Rsa/EFjtx1qmCIT0ik09NPwL1Mf6Y3RmYUkwdYfzRU0wzf6DVCWtroTw== - dependencies: - "@acid-info/docusaurus-og" "^1.0.0-alpha.76" - "@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.47" - "@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.99" - "@docusaurus/core" "^2.4.1" - "@docusaurus/module-type-aliases" "^2.4.1" - "@docusaurus/preset-classic" "^2.4.1" - "@docusaurus/theme-mermaid" "^2.4.1" - "@docusaurus/types" "^2.4.1" - "@docusaurus/utils" "^2.4.1" - "@docusaurus/utils-common" "^2.4.1" - "@docusaurus/utils-validation" "^2.4.1" - docusaurus-plugin-sass "^0.2.3" - fs-extra "^10.1.0" - lodash "^4.17.21" - -"@acid-info/logos-docusaurus-search-local@^1.0.0-alpha.47": - version "1.0.0-alpha.47" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-search-local/-/logos-docusaurus-search-local-1.0.0-alpha.47.tgz#cf8cf55023f072671e53af570626f48fe4ba9063" - integrity sha512-InZPmF3f4nbqdVknXpNxG2OFLfOzudo9o4o5NDfJwXxGoaEq/rr+absLvHZmcNJVtdjRKlGcxudwwtfKXs2fIQ== +"@acid-info/docusaurus-og@^1.0.0-alpha.111": + version "1.0.0-alpha.111" + resolved "https://registry.yarnpkg.com/@acid-info/docusaurus-og/-/docusaurus-og-1.0.0-alpha.111.tgz#0a5f96512f5ad1bf22d632009fe5902b184fb53c" + integrity sha512-LrKfnxdG6P0/YtHP2ugz3QMhFCgavfnWLjpuvdlAUA1CWXBDVX33UGvKh4Zt7m5j3tLtpdlEt3Xa3IMgBUJAUg== dependencies: "@docusaurus/core" "^2.4.1" "@docusaurus/module-type-aliases" "^2.4.1" @@ -53,12 +19,47 @@ satori "^0.10.1" sharp "^0.32.1" -"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.99": - version "1.0.0-alpha.99" - resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.99.tgz#2450ca1eea78e20b4b7c5301d9f971de7f825b74" - integrity sha512-fwGVbutoUu3M1A7LxmbPLZV64oqIrEvkYrSYiuJClZEiUXOeVQBmf9gl646IgZoPDjW86Owk4XPg796dS+hH7Q== +"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.115": + version "1.0.0-alpha.115" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.115.tgz#6ec6a1746355305a9df1ab5f457882002fef5261" + integrity sha512-1vnnhSP6nin5rvZG0uGfENxZrE+CPthTlZ4uNfH7YbfkowbP8YTL0jG8mqObgVl11tr2h14CjCxe3sm3VMrwPA== dependencies: - "@acid-info/docusaurus-og" "^1.0.0-alpha.76" + "@acid-info/docusaurus-og" "^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.115" + "@docusaurus/core" "^2.4.1" + "@docusaurus/module-type-aliases" "^2.4.1" + "@docusaurus/preset-classic" "^2.4.1" + "@docusaurus/theme-mermaid" "^2.4.1" + "@docusaurus/types" "^2.4.1" + "@docusaurus/utils" "^2.4.1" + "@docusaurus/utils-common" "^2.4.1" + "@docusaurus/utils-validation" "^2.4.1" + docusaurus-plugin-sass "^0.2.3" + fs-extra "^10.1.0" + lodash "^4.17.21" + node-fetch "2" + +"@acid-info/logos-docusaurus-search-local@^1.0.0-alpha.111": + version "1.0.0-alpha.111" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-search-local/-/logos-docusaurus-search-local-1.0.0-alpha.111.tgz#f4a19ad1fdee4da58b7793dde5294304475cff70" + integrity sha512-W8ILeA095JgaBcze/zsh7GX5yH+oee7QG7kFqfiO7F5apai/0tGfLm1tq7oiJT+jR7guW1jxwuACIFxP7Jm8pw== + dependencies: + "@docusaurus/core" "^2.4.1" + "@docusaurus/module-type-aliases" "^2.4.1" + "@docusaurus/types" "^2.4.1" + "@docusaurus/utils" "^2.4.1" + "@docusaurus/utils-common" "^2.4.1" + "@docusaurus/utils-validation" "^2.4.1" + "@easyops-cn/docusaurus-search-local" "^0.33.6" + lodash "^4.17.21" + +"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.115": + version "1.0.0-alpha.115" + resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.115.tgz#6502b032fb47a854f73924e9cfb211d7c5b516d8" + integrity sha512-Lkqwyz3ykGmo2PebeOWQx+qmPq3ezbC5ZOLrbMSsp7n0eCSLJZPhaEAxXqOfRmaAgPimWsF8Va5dcChYAr9N4g== + dependencies: + "@acid-info/docusaurus-og" "^1.0.0-alpha.111" "@acid-info/lsd-react" "^0.1.0-alpha.17" "@docusaurus/core" "^2.4.1" "@docusaurus/mdx-loader" "^2.4.1" @@ -101,9 +102,9 @@ utility-types "^3.10.0" "@acid-info/lsd-react@^0.1.0-alpha.17": - version "0.1.0-alpha.17" - resolved "https://registry.yarnpkg.com/@acid-info/lsd-react/-/lsd-react-0.1.0-alpha.17.tgz#4a0da00ad779717bcd6c5771863ec94937c701a0" - integrity sha512-qDnDr4uK7xXulf3StBLhCdq+0zT+6NT1TstQ+qAw3/kLonE2wiQx+w+aRlyaRobSevhtyC+bfR+QDvfFwkG8Rw== + version "0.1.0-alpha.20" + resolved "https://registry.yarnpkg.com/@acid-info/lsd-react/-/lsd-react-0.1.0-alpha.20.tgz#3c536a66bb2f440e94e61c2d197732bb2a29ddef" + integrity sha512-U/WP1xhS0dVg3iFjIUdXtM+upV0kcsjsOGDL+hu3E3ZVR50Ay4OIP9sFDFKQa7sCq5r1H8P0IJXpAcITCSJEXA== dependencies: "@emotion/react" "^11.10.5" "@emotion/styled" "^11.10.5" @@ -10311,6 +10312,13 @@ node-emoji@^1.10.0: dependencies: lodash "^4.17.21" +node-fetch@2: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + node-fetch@2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"