diff --git a/.env b/.env deleted file mode 100644 index 0aa438dd..00000000 --- a/.env +++ /dev/null @@ -1,2 +0,0 @@ -UMAMI_WEBSITE_ID=3f9eb1f6-5f5f-4a28-87a5-312829f1446d -BASE="/" diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index e1f7ec10..986c6268 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -36,6 +36,9 @@ jobs: - name: Build website run: yarn build + env: + UMAMI_WEBSITE_ID: ${{ secrets.UMAMI_WEBSITE_ID }} + BASE: /docs/ - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 8051f506..cc5bf43c 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -22,3 +22,5 @@ jobs: run: yarn install --frozen-lockfile - name: Test build website run: yarn build + env: + UMAMI_WEBSITE_ID: "mockID" diff --git a/.gitignore b/.gitignore index 266572dd..ba817e53 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,5 @@ yarn-error.log* !.yarn/releases !.yarn/sdks !.yarn/versions + +.env diff --git a/README.md b/README.md index aaba2fa1..888286c1 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,46 @@ -# Website +# Graasp Documentation and news + +This repo hosts the code for the Graasp documentation and news website. This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. ### Installation -``` -$ yarn +```sh +yarn ``` ### Local Development +Create a `.env` file to store your environment variables: + +```dotenv +# required Id for website analytics, locally you can set this to whatever +UMAMI_WEBSITE_ID=3f9eb1f6-5f5f-4a28-87a5-312829f1446d + +# Base url where you will host the website, locally you can change it to `/` so you can serve the static content using static web server +# Or to mimic the production deployment you can omit it. +BASE="/" ``` -$ yarn start + +```sh +yarn start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. +> [!WARNING] +> If you want to locally develop one of the internationalisations you will have to start the app with the correct local: +> `yarn start --locale fr` This is because the locales are different SPAs. + ### Build -``` -$ yarn build +```sh +yarn build ``` This command generates static content into the `build` directory and can be served using any static contents hosting service. ### Deployment -Using SSH: - -``` -$ USE_SSH=true yarn deploy -``` - -Not using SSH: - -``` -$ GIT_USER= yarn deploy -``` - -If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. +This repo deploys the website using GitHub Actions to deploy to GitHub Pages. diff --git a/docusaurus.config.js b/docusaurus.config.js index 7ad38a7b..70ecf397 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,6 +1,7 @@ // @ts-check // Note: type annotations allow type checking and IDEs autocompletion import { themes } from "prism-react-renderer"; +import "dotenv/config"; /** @type {import('@docusaurus/types').Config} */ const config = { @@ -67,6 +68,7 @@ const config = { return undefined; }, blogTitle: "News and Updates from the Graasp Team", + blogSidebarCount: "ALL", }, theme: { customCss: require.resolve("./src/css/custom.css"), @@ -102,6 +104,11 @@ const config = { label: "User Resources", }, { to: "/blog", label: "Blog", position: "left" }, + { + href: "https://graasp.github.io/docs/blog/rss.xml", + position: "right", + label: "RSS", + }, { href: "https://github.com/graasp/docs", position: "right", @@ -196,18 +203,22 @@ const config = { }, }; }, + [ + "@dipakparmar/docusaurus-plugin-umami", + /** @type {import('@dipakparmar/docusaurus-plugin-umami').Options} */ + ({ + websiteID: process.env.UMAMI_WEBSITE_ID, // Required + analyticsDomain: "umami.graasp.org", // Required + // scriptName: "", // Optional + dataHostURL: "https://umami.graasp.org", // Optional + dataAutoTrack: true, // Optional + dataDoNotTrack: true, // Optional + dataCache: true, // Optional + dataDomains: "graasp.github.io", // comma separated list of domains, *Recommended* + }), + ], ], - headTags: [ - { - tagName: "link", - attributes: { - rel: "preload", - href: "/fonts/Nunito.ttf", - as: "font", - crossorigin: "anonymous", - }, - }, - ], + headTags: [], }; module.exports = config; diff --git a/package.json b/package.json index 5ad9b1f0..8d50ab6f 100644 --- a/package.json +++ b/package.json @@ -15,12 +15,15 @@ "typecheck": "tsc" }, "dependencies": { + "@dipakparmar/docusaurus-plugin-umami": "^2.1.7", "@docusaurus/core": "^3.7.0", "@docusaurus/preset-classic": "^3.7.0", "@docusaurus/theme-mermaid": "^3.7.0", + "@fontsource-variable/nunito": "^5.1.1", "@mdx-js/react": "^3.1.0", "autoprefixer": "^10.4.20", "clsx": "^2.1.1", + "dotenv": "^16.4.7", "postcss": "^8.5.1", "prism-react-renderer": "^2.4.1", "react": "^18.3.1", diff --git a/src/components/HomepageLinks/index.tsx b/src/components/HomepageLinks/index.tsx index bb85cfed..a37fba87 100644 --- a/src/components/HomepageLinks/index.tsx +++ b/src/components/HomepageLinks/index.tsx @@ -4,20 +4,19 @@ import React from "react"; type HomepageLinkItem = { title: string; - key: string; Svg: React.ComponentType>; description: string; to: string; }; -const HomePageLinkList: HomepageLinkItem[] = [ +const HomePageLinkList = [ { + key: "news", title: translate({ id: "pages.home.latestNews", message: "Latest News", description: "Title for the latest news section", }), - key: "news", description: translate({ id: "pages.home.latestNews.description", message: @@ -28,12 +27,12 @@ const HomePageLinkList: HomepageLinkItem[] = [ to: "blog", }, { + key: "docs", title: translate({ id: "pages.home.developerDocs", message: "Developer Docs", description: "Title for the developer docs section", }), - key: "docs", description: translate({ id: "pages.home.developerDocs.description", message: @@ -44,12 +43,12 @@ const HomePageLinkList: HomepageLinkItem[] = [ to: "developer/intro", }, { + key: "users", title: translate({ id: "pages.home.userResources", message: "User Resources", description: "Title for the user resources section", }), - key: "users", description: translate({ id: "pages.home.userResources.description", message: @@ -59,7 +58,7 @@ const HomePageLinkList: HomepageLinkItem[] = [ Svg: require("@site/static/img/home-users.svg").default, to: "user/intro", }, -]; +] as const; const HomepageLink = ({ title, description, Svg, to }: HomepageLinkItem) => { return ( @@ -74,10 +73,7 @@ const HomepageLink = ({ title, description, Svg, to }: HomepageLinkItem) => {
- +

{description}

@@ -90,8 +86,8 @@ const HomepageLink = ({ title, description, Svg, to }: HomepageLinkItem) => { const HomepageLinks = () => { return (
- {HomePageLinkList.map((link) => ( - + {HomePageLinkList.map(({ key, ...link }) => ( + ))}
); diff --git a/src/css/custom.css b/src/css/custom.css index 4f252e4d..a44425f1 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -2,6 +2,19 @@ @tailwind components; @tailwind utilities; +/* nunito-latin-wght-normal */ +@font-face { + font-family: "Nunito"; + font-style: normal; + font-display: swap; + font-weight: 200 1000; + src: url(@fontsource-variable/nunito/files/nunito-latin-wght-normal.woff2) + format("woff2-variations"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, + U+2212, U+2215, U+FEFF, U+FFFD; +} + /** * Any CSS included here will be global. The classic template * bundles Infima by default. Infima is a CSS framework designed to @@ -19,7 +32,7 @@ --ifm-color-primary-lightest: #9595e4; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); - --ifm-font-family-base: Nunito, "Nunito"; + --ifm-font-family-base: Nunito, system-ui; } /* For readability concerns, you should choose a lighter palette in dark mode. */ @@ -56,12 +69,3 @@ border-style: solid; border-color: theme("borderColor.DEFAULT", currentColor); } - -/* Register your custom font family and tell the browser where to find it. */ -@font-face { - font-family: "Nunito"; - src: url("/fonts/Nunito.ttf") format("truetype"); - font-weight: 100 900; - font-style: normal; - font-display: swap; -} diff --git a/static/fonts/Nunito.ttf b/static/fonts/Nunito.ttf deleted file mode 100644 index 0a00f63f..00000000 Binary files a/static/fonts/Nunito.ttf and /dev/null differ diff --git a/yarn.lock b/yarn.lock index d04db367..c168fc7b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3529,6 +3529,18 @@ __metadata: languageName: node linkType: hard +"@dipakparmar/docusaurus-plugin-umami@npm:^2.1.7": + version: 2.1.7 + resolution: "@dipakparmar/docusaurus-plugin-umami@npm:2.1.7" + dependencies: + "@docusaurus/core": "npm:3.6.1" + "@docusaurus/types": "npm:3.6.1" + "@docusaurus/utils-validation": "npm:3.6.1" + tslib: "npm:^2.4.0" + checksum: 10/fa577ee7a8ca6b7527503825c1e999c9e0a41c19874fbcd45cb579cb5ad9a38fa66b23d05eb34108ce5f91253b2b706927fa197c9617a1df7cbc840e503bdd20 + languageName: node + linkType: hard + "@discoveryjs/json-ext@npm:0.5.7": version: 0.5.7 resolution: "@discoveryjs/json-ext@npm:0.5.7" @@ -3569,6 +3581,29 @@ __metadata: languageName: node linkType: hard +"@docusaurus/babel@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/babel@npm:3.6.1" + dependencies: + "@babel/core": "npm:^7.25.9" + "@babel/generator": "npm:^7.25.9" + "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" + "@babel/plugin-transform-runtime": "npm:^7.25.9" + "@babel/preset-env": "npm:^7.25.9" + "@babel/preset-react": "npm:^7.25.9" + "@babel/preset-typescript": "npm:^7.25.9" + "@babel/runtime": "npm:^7.25.9" + "@babel/runtime-corejs3": "npm:^7.25.9" + "@babel/traverse": "npm:^7.25.9" + "@docusaurus/logger": "npm:3.6.1" + "@docusaurus/utils": "npm:3.6.1" + babel-plugin-dynamic-import-node: "npm:^2.3.3" + fs-extra: "npm:^11.1.1" + tslib: "npm:^2.6.0" + checksum: 10/63a72192a17afe96ceb35f3c0baf3de1e5e1f6b6a0e41981249f24dd8bd54e25eb49874698cd9d5b59ff519471c9345c592556ad8c8a65caada8ab865d6fe709 + languageName: node + linkType: hard + "@docusaurus/babel@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/babel@npm:3.7.0" @@ -3592,6 +3627,44 @@ __metadata: languageName: node linkType: hard +"@docusaurus/bundler@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/bundler@npm:3.6.1" + dependencies: + "@babel/core": "npm:^7.25.9" + "@docusaurus/babel": "npm:3.6.1" + "@docusaurus/cssnano-preset": "npm:3.6.1" + "@docusaurus/logger": "npm:3.6.1" + "@docusaurus/types": "npm:3.6.1" + "@docusaurus/utils": "npm:3.6.1" + autoprefixer: "npm:^10.4.14" + babel-loader: "npm:^9.2.1" + clean-css: "npm:^5.3.2" + copy-webpack-plugin: "npm:^11.0.0" + css-loader: "npm:^6.8.1" + css-minimizer-webpack-plugin: "npm:^5.0.1" + cssnano: "npm:^6.1.2" + file-loader: "npm:^6.2.0" + html-minifier-terser: "npm:^7.2.0" + mini-css-extract-plugin: "npm:^2.9.1" + null-loader: "npm:^4.0.1" + postcss: "npm:^8.4.26" + postcss-loader: "npm:^7.3.3" + react-dev-utils: "npm:^12.0.1" + terser-webpack-plugin: "npm:^5.3.9" + tslib: "npm:^2.6.0" + url-loader: "npm:^4.1.1" + webpack: "npm:^5.95.0" + webpackbar: "npm:^6.0.1" + peerDependencies: + "@docusaurus/faster": "*" + peerDependenciesMeta: + "@docusaurus/faster": + optional: true + checksum: 10/c731ce46993f04795f54b4a229c7e3d6ac6dadf5883d60e9a403098b514d1c5732385a020352624ef005d2db3242956f2ccf164a78a9baecb2b4ed48465d7ee5 + languageName: node + linkType: hard + "@docusaurus/bundler@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/bundler@npm:3.7.0" @@ -3630,6 +3703,63 @@ __metadata: languageName: node linkType: hard +"@docusaurus/core@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/core@npm:3.6.1" + dependencies: + "@docusaurus/babel": "npm:3.6.1" + "@docusaurus/bundler": "npm:3.6.1" + "@docusaurus/logger": "npm:3.6.1" + "@docusaurus/mdx-loader": "npm:3.6.1" + "@docusaurus/utils": "npm:3.6.1" + "@docusaurus/utils-common": "npm:3.6.1" + "@docusaurus/utils-validation": "npm:3.6.1" + boxen: "npm:^6.2.1" + chalk: "npm:^4.1.2" + chokidar: "npm:^3.5.3" + cli-table3: "npm:^0.6.3" + combine-promises: "npm:^1.1.0" + commander: "npm:^5.1.0" + core-js: "npm:^3.31.1" + del: "npm:^6.1.1" + detect-port: "npm:^1.5.1" + escape-html: "npm:^1.0.3" + eta: "npm:^2.2.0" + eval: "npm:^0.1.8" + fs-extra: "npm:^11.1.1" + html-tags: "npm:^3.3.1" + html-webpack-plugin: "npm:^5.6.0" + leven: "npm:^3.1.0" + lodash: "npm:^4.17.21" + p-map: "npm:^4.0.0" + prompts: "npm:^2.4.2" + react-dev-utils: "npm:^12.0.1" + react-helmet-async: "npm:^1.3.0" + react-loadable: "npm:@docusaurus/react-loadable@6.0.0" + react-loadable-ssr-addon-v5-slorber: "npm:^1.0.1" + react-router: "npm:^5.3.4" + react-router-config: "npm:^5.1.1" + react-router-dom: "npm:^5.3.4" + rtl-detect: "npm:^1.0.4" + semver: "npm:^7.5.4" + serve-handler: "npm:^6.1.6" + shelljs: "npm:^0.8.5" + tslib: "npm:^2.6.0" + update-notifier: "npm:^6.0.2" + webpack: "npm:^5.95.0" + webpack-bundle-analyzer: "npm:^4.10.2" + webpack-dev-server: "npm:^4.15.2" + webpack-merge: "npm:^6.0.1" + peerDependencies: + "@mdx-js/react": ^3.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 + bin: + docusaurus: bin/docusaurus.mjs + checksum: 10/5f79f7dd4344fea7c292996b331ebb0141e9c950005583f6c7a542997885c340c18072ebfc681145cfae76636e4c593c54670dc75cdc4895490342f803f0d875 + languageName: node + linkType: hard + "@docusaurus/core@npm:3.7.0, @docusaurus/core@npm:^3.7.0": version: 3.7.0 resolution: "@docusaurus/core@npm:3.7.0" @@ -3686,6 +3816,18 @@ __metadata: languageName: node linkType: hard +"@docusaurus/cssnano-preset@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/cssnano-preset@npm:3.6.1" + dependencies: + cssnano-preset-advanced: "npm:^6.1.2" + postcss: "npm:^8.4.38" + postcss-sort-media-queries: "npm:^5.2.0" + tslib: "npm:^2.6.0" + checksum: 10/ab1cd28815b88d8b5ff3e23e9d60f233a70f2613c4471d6b1b7db0a1e7bc1c360bf3b2e2b2ec9dad55f38c4ffc731bba22c4deb795b063f989300afc57ef93fb + languageName: node + linkType: hard + "@docusaurus/cssnano-preset@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/cssnano-preset@npm:3.7.0" @@ -3698,6 +3840,16 @@ __metadata: languageName: node linkType: hard +"@docusaurus/logger@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/logger@npm:3.6.1" + dependencies: + chalk: "npm:^4.1.2" + tslib: "npm:^2.6.0" + checksum: 10/090286f8ba53135efa2272b78889c07bbafa198799d153fc5f10b6a26bc00b1794d476612d539438d2354890261d8e90bc3af7fb787702d1bf00e852fbfbd8d2 + languageName: node + linkType: hard + "@docusaurus/logger@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/logger@npm:3.7.0" @@ -3708,6 +3860,41 @@ __metadata: languageName: node linkType: hard +"@docusaurus/mdx-loader@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/mdx-loader@npm:3.6.1" + dependencies: + "@docusaurus/logger": "npm:3.6.1" + "@docusaurus/utils": "npm:3.6.1" + "@docusaurus/utils-validation": "npm:3.6.1" + "@mdx-js/mdx": "npm:^3.0.0" + "@slorber/remark-comment": "npm:^1.0.0" + escape-html: "npm:^1.0.3" + estree-util-value-to-estree: "npm:^3.0.1" + file-loader: "npm:^6.2.0" + fs-extra: "npm:^11.1.1" + image-size: "npm:^1.0.2" + mdast-util-mdx: "npm:^3.0.0" + mdast-util-to-string: "npm:^4.0.0" + rehype-raw: "npm:^7.0.0" + remark-directive: "npm:^3.0.0" + remark-emoji: "npm:^4.0.0" + remark-frontmatter: "npm:^5.0.0" + remark-gfm: "npm:^4.0.0" + stringify-object: "npm:^3.3.0" + tslib: "npm:^2.6.0" + unified: "npm:^11.0.3" + unist-util-visit: "npm:^5.0.0" + url-loader: "npm:^4.1.1" + vfile: "npm:^6.0.1" + webpack: "npm:^5.88.1" + peerDependencies: + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 10/871cdada4f315a4bdeabf0f1c074c65566a2094e783e7e2c63f003f47c1db751c4d23511932e3cc79367481f266100941f1937c63f5ff87fab6c378f3de2d098 + languageName: node + linkType: hard + "@docusaurus/mdx-loader@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/mdx-loader@npm:3.7.0" @@ -4081,6 +4268,26 @@ __metadata: languageName: node linkType: hard +"@docusaurus/types@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/types@npm:3.6.1" + dependencies: + "@mdx-js/mdx": "npm:^3.0.0" + "@types/history": "npm:^4.7.11" + "@types/react": "npm:*" + commander: "npm:^5.1.0" + joi: "npm:^17.9.2" + react-helmet-async: "npm:^1.3.0" + utility-types: "npm:^3.10.0" + webpack: "npm:^5.95.0" + webpack-merge: "npm:^5.9.0" + peerDependencies: + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 10/2d5e523709ea81b923f0de08ec3b51f76b9dc25b5ae17e78e191e2c532ae21f951a96b6e167ac1659f5de1044d2fdae8c70273e7a596041662804dd7a2ba9247 + languageName: node + linkType: hard + "@docusaurus/types@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/types@npm:3.7.0" @@ -4101,6 +4308,16 @@ __metadata: languageName: node linkType: hard +"@docusaurus/utils-common@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/utils-common@npm:3.6.1" + dependencies: + "@docusaurus/types": "npm:3.6.1" + tslib: "npm:^2.6.0" + checksum: 10/822b8be36fc05a239e0336d8b2deba4f92f52407e63bbdcf50e424dc89d33cad4254b1da4d4ceadff530faa6e2916258e4c061c9791d77584bdd525971670b1f + languageName: node + linkType: hard + "@docusaurus/utils-common@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/utils-common@npm:3.7.0" @@ -4111,6 +4328,22 @@ __metadata: languageName: node linkType: hard +"@docusaurus/utils-validation@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/utils-validation@npm:3.6.1" + dependencies: + "@docusaurus/logger": "npm:3.6.1" + "@docusaurus/utils": "npm:3.6.1" + "@docusaurus/utils-common": "npm:3.6.1" + fs-extra: "npm:^11.2.0" + joi: "npm:^17.9.2" + js-yaml: "npm:^4.1.0" + lodash: "npm:^4.17.21" + tslib: "npm:^2.6.0" + checksum: 10/53a7387ed72cceca429c96a94584a7f250e5ee4947bab93cf32e07f7addcbbab8309ea5f7ec7505e3a0f404bceba364d824e5e26a36a622836b6d95fb3643812 + languageName: node + linkType: hard + "@docusaurus/utils-validation@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/utils-validation@npm:3.7.0" @@ -4127,6 +4360,35 @@ __metadata: languageName: node linkType: hard +"@docusaurus/utils@npm:3.6.1": + version: 3.6.1 + resolution: "@docusaurus/utils@npm:3.6.1" + dependencies: + "@docusaurus/logger": "npm:3.6.1" + "@docusaurus/types": "npm:3.6.1" + "@docusaurus/utils-common": "npm:3.6.1" + "@svgr/webpack": "npm:^8.1.0" + escape-string-regexp: "npm:^4.0.0" + file-loader: "npm:^6.2.0" + fs-extra: "npm:^11.1.1" + github-slugger: "npm:^1.5.0" + globby: "npm:^11.1.0" + gray-matter: "npm:^4.0.3" + jiti: "npm:^1.20.0" + js-yaml: "npm:^4.1.0" + lodash: "npm:^4.17.21" + micromatch: "npm:^4.0.5" + prompts: "npm:^2.4.2" + resolve-pathname: "npm:^3.0.0" + shelljs: "npm:^0.8.5" + tslib: "npm:^2.6.0" + url-loader: "npm:^4.1.1" + utility-types: "npm:^3.10.0" + webpack: "npm:^5.88.1" + checksum: 10/4c1c498e25f8442ce4060e447bf7eafd8ac0f60f9d2fa563a1d023577fca701eaf6d85fd4d6ec6e8b20550b92b8265bc6ad72e8e1d8c5c7a8211968fd5fcc5ef + languageName: node + linkType: hard + "@docusaurus/utils@npm:3.7.0": version: 3.7.0 resolution: "@docusaurus/utils@npm:3.7.0" @@ -4155,6 +4417,13 @@ __metadata: languageName: node linkType: hard +"@fontsource-variable/nunito@npm:^5.1.1": + version: 5.1.1 + resolution: "@fontsource-variable/nunito@npm:5.1.1" + checksum: 10/ff9868a6b8c6aed8a75b65dda6e0957e3eb12cb4c0364bd0ef6220cfef58ff6996db864945abf89bfd21c88bad45d46d7f0cb4f5450d435b9086b5f81854fce7 + languageName: node + linkType: hard + "@hapi/hoek@npm:^9.0.0, @hapi/hoek@npm:^9.3.0": version: 9.3.0 resolution: "@hapi/hoek@npm:9.3.0" @@ -6076,6 +6345,24 @@ __metadata: languageName: node linkType: hard +"autoprefixer@npm:^10.4.14": + version: 10.4.17 + resolution: "autoprefixer@npm:10.4.17" + dependencies: + browserslist: "npm:^4.22.2" + caniuse-lite: "npm:^1.0.30001578" + fraction.js: "npm:^4.3.7" + normalize-range: "npm:^0.1.2" + picocolors: "npm:^1.0.0" + postcss-value-parser: "npm:^4.2.0" + peerDependencies: + postcss: ^8.1.0 + bin: + autoprefixer: bin/autoprefixer + checksum: 10/ac4416e72643bf92c2a346af5a6a437eb39e3b852e5d48e1a0a3204a81cbf8eecc5489a9386cf63a288b7183fae3ad52cf3c24c458d7cbb5463e55e21dc7e6ed + languageName: node + linkType: hard + "autoprefixer@npm:^10.4.19": version: 10.4.19 resolution: "autoprefixer@npm:10.4.19" @@ -6504,7 +6791,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001580": +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001578, caniuse-lite@npm:^1.0.30001580": version: 1.0.30001587 resolution: "caniuse-lite@npm:1.0.30001587" checksum: 10/960e26927ad876971021186337df1df2d37d7ed4fc7907098c060f56ae8de737d471791e51387ca55bea07f56b0a76553a90125f88a2f958ca1f4f715013cf71 @@ -8037,14 +8324,17 @@ __metadata: version: 0.0.0-use.local resolution: "docs@workspace:." dependencies: + "@dipakparmar/docusaurus-plugin-umami": "npm:^2.1.7" "@docusaurus/core": "npm:^3.7.0" "@docusaurus/module-type-aliases": "npm:^3.7.0" "@docusaurus/preset-classic": "npm:^3.7.0" "@docusaurus/theme-mermaid": "npm:^3.7.0" + "@fontsource-variable/nunito": "npm:^5.1.1" "@mdx-js/react": "npm:^3.1.0" "@tsconfig/docusaurus": "npm:^2.0.3" autoprefixer: "npm:^10.4.20" clsx: "npm:^2.1.1" + dotenv: "npm:^16.4.7" postcss: "npm:^8.5.1" prism-react-renderer: "npm:^2.4.1" react: "npm:^18.3.1" @@ -8163,6 +8453,13 @@ __metadata: languageName: node linkType: hard +"dotenv@npm:^16.4.7": + version: 16.4.7 + resolution: "dotenv@npm:16.4.7" + checksum: 10/f13bfe97db88f0df4ec505eeffb8925ec51f2d56a3d0b6d916964d8b4af494e6fb1633ba5d09089b552e77ab2a25de58d70259b2c5ed45ec148221835fc99a0c + languageName: node + linkType: hard + "duplexer@npm:^0.1.2": version: 0.1.2 resolution: "duplexer@npm:0.1.2" @@ -13696,6 +13993,22 @@ __metadata: languageName: node linkType: hard +"react-helmet-async@npm:^1.3.0": + version: 1.3.0 + resolution: "react-helmet-async@npm:1.3.0" + dependencies: + "@babel/runtime": "npm:^7.12.5" + invariant: "npm:^2.2.4" + prop-types: "npm:^15.7.2" + react-fast-compare: "npm:^3.2.0" + shallowequal: "npm:^1.1.0" + peerDependencies: + react: ^16.6.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.6.0 || ^17.0.0 || ^18.0.0 + checksum: 10/73d6383dd5d5794cad3837cf6b71d7e23afa6f3ba745e50a9d0d6bf42ff0ab175e4292f250ffe757f4bd782e64c37c4583fb884340cd63891deb33e144628661 + languageName: node + linkType: hard + "react-is@npm:^16.13.1, react-is@npm:^16.6.0, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -14266,6 +14579,13 @@ __metadata: languageName: node linkType: hard +"rtl-detect@npm:^1.0.4": + version: 1.1.2 + resolution: "rtl-detect@npm:1.1.2" + checksum: 10/d19089c3b5f7a6fbabfa2c4724fcdf8694f313d196d44c8eee3625ba2e46418afe65b4da38e3e92822985291efd0656d85daa4b2ef296a46a65a702d0b156876 + languageName: node + linkType: hard + "rtlcss@npm:^4.1.0": version: 4.1.1 resolution: "rtlcss@npm:4.1.1" @@ -15277,6 +15597,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.4.0": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 10/3e2e043d5c2316461cb54e5c7fe02c30ef6dccb3384717ca22ae5c6b5bc95232a6241df19c622d9c73b809bea33b187f6dbc73030963e29950c2141bc32a79f7 + languageName: node + linkType: hard + "type-fest@npm:^0.21.3": version: 0.21.3 resolution: "type-fest@npm:0.21.3"