From 912059ee43ab462fc2679a652241171a9f172c42 Mon Sep 17 00:00:00 2001 From: "Sun S. D. Tan" Date: Thu, 24 Nov 2022 14:46:28 +0000 Subject: [PATCH 1/2] feat: diagram, snippets and demo in the main page Signed-off-by: Sun S. D. Tan --- src/content/index.md | 154 ++ src/content/index/java-jkube-kube.svg | 1910 ++++++++++++++++++++++ src/styles/components/main-snippets.scss | 81 + src/styles/main.scss | 1 + 4 files changed, 2146 insertions(+) create mode 100644 src/content/index/java-jkube-kube.svg create mode 100644 src/styles/components/main-snippets.scss diff --git a/src/content/index.md b/src/content/index.md index bbe2743..5d5b314 100644 --- a/src/content/index.md +++ b/src/content/index.md @@ -14,6 +14,7 @@ import {Hero} from '../components' [![Eclipse JKube Dev Mailing List](https://img.shields.io/badge/Eclipse%20JKube%20-Developer%20Mailing%20List-orange)](https://accounts.eclipse.org/mailing-list/jkube-dev) [![License](https://img.shields.io/badge/License-EPL%202.0-red.svg?label=license&logo=eclipse)](https://www.eclipse.org/legal/epl-2.0/) + # Eclipse JKube™ ## Cloud-Native Java Applications without a hassle @@ -27,6 +28,158 @@ cloud-native. Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to improve your developer experience. +## Build and deploy any Java projects ... for Kubernetes + +
+ +![JKube - Quarkus, Spring boot, Wildfly, Tomcat, micronaut. openliberty, vertx, thorntail, etc. to Kubernetes](index/java-jkube-kube.svg "Java jkube Kubernetes") + +
+ + +
+
+
    +
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> +

    Maven + Kubernetes

    +
  • +
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> +

    Maven + Openshift

    +
  • +
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> +

    Gradle + Kubernetes

    +
  • +
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> +

    Gradle + Openshift

    +
  • +
+
+ + + +
+ +
+ + + +[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin/#getting-started) +[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin/) + + +1. Add to the `pom.xml`: + ```xml + + + + org.eclipse.jkube + kubernetes-maven-plugin + 1.10.1 + + + + ``` + +2. Execute these command to build and deploy: + ``` + $ mvn package k8s:build \ + k8s:push \ + k8s:resource \ + k8s:apply + ``` +
+ + + + +
+ + + +[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/openshift-maven-plugin/#getting-started) +[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/openshift-maven-plugin/) + +1. Add to the `pom.xml`: + ```xml + + + + org.eclipse.jkube + openshift-maven-plugin + 1.10.1 + + + + ``` + +2. Execute these commands to build and deploy: + ``` + $ mvn package oc:build \ + oc:resource \ + oc:apply + ``` + +
+ + + + +
+ + + +[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/kubernetes-gradle-plugin/#getting-started) +[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/kubernetes-gradle-plugin/) + +1. Add to the `build.gradle`: + ``` + plugins { + id 'org.eclipse.jkubekubernetes' version '1.10.1' + } + ``` + +2. Execute these commands to build and deploy: + ``` + $ gradle build k8sBuild \ + k8sPush \ + k8sResource \ + k8sApply + ``` + +
+ + + +
+ + + +[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/openshift-gradle-plugin/#getting-started) +[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/openshift-gradle-plugin/) + +1. Add to the `build.gradle`: + ``` + plugins { + id 'org.eclipse.jkube.openshift' version '1.10.1' + } + ``` + +2. Execute these command to build and deploy: + ``` + $ gradle build ocBuild \ + ocResource \ + ocApply + ``` + +
+ +
+
+ + + + + ## Features ### Kubernetes Maven Plugin @@ -74,6 +227,7 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im +
## Downloads diff --git a/src/content/index/java-jkube-kube.svg b/src/content/index/java-jkube-kube.svg new file mode 100644 index 0000000..ac68f73 --- /dev/null +++ b/src/content/index/java-jkube-kube.svg @@ -0,0 +1,1910 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/styles/components/main-snippets.scss b/src/styles/components/main-snippets.scss new file mode 100644 index 0000000..0ecc3a4 --- /dev/null +++ b/src/styles/components/main-snippets.scss @@ -0,0 +1,81 @@ +// WIP Main Page with snippets + +.eclipse-jkube__main { + & .eclipse-jkube__content { + .diag { + text-align: center; + margin-top: 2em; + margin-bottom: 2em; + } + + .tabs li, + .tabs ul { + display: flex; + } + + .tabs li { + align-items: center; + border: 1px solid #000; + border-bottom: 0; + cursor: pointer; + font-weight: 700; + height: 2.5rem; + line-height: 1; + margin-right: 0.25rem; + padding: 0 1.5rem; + position: relative; + } + + .tabs li:not(.is-active) { + background-color: #000; + color: #fff; + } + + .tabset > .content { + border: 1px solid grey; + padding: 1.25rem; + } + + .tabset { + padding-bottom: 2em; + } + + + ul { + display: block; + list-style-type: disc; + margin-block-start: 1em; + margin-block-end: 1em; + margin-inline-start: 0px; + margin-inline-end: 0px; + padding-inline-start: 40px; + } + + .tabs ul { + -ms-flex-wrap: wrap; + flex-wrap: wrap; + list-style: none; + margin: 0 -0.25rem 0 0; + padding: 0; + } + + .tabs li.is-active::after { + background-color: #F1F2F2; + content: ""; + display: block; + height: 3px; + position: absolute; + bottom: -1.5px; + left: 0; + right: 0; + } + + .tab-pane:not(.is-active) { + display: none; + } + + .youtube-video { + float: right; + } + } +} diff --git a/src/styles/main.scss b/src/styles/main.scss index e306c4d..0fdd973 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -3,6 +3,7 @@ @import 'components/footer'; @import 'components/header'; +@import 'components/main-snippets'; @import 'components/quickstarts'; @import 'templates/main'; @import 'templates/doc'; From eff79c53f4040e7cb17066ac07ee534414c4f410 Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Wed, 9 Aug 2023 14:02:40 +0200 Subject: [PATCH 2/2] refactor: getting started - Responsive design - Use built-in React library for Tab management - Tabs with icons - Code interpolates version automatically - Avoid usage of external resources Signed-off-by: Marc Nuri --- gatsby-config.js | 6 - gatsby-node.js | 2 + package-lock.json | 1225 +++-------------- package.json | 2 +- src/components/code.jsx | 64 + src/components/getting-started-tab.jsx | 24 + src/components/icons/gradle.jsx | 22 + src/components/icons/index.js | 4 + src/components/icons/kubernetes.jsx | 38 + src/components/icons/maven.jsx | 425 ++++++ src/components/icons/open-shift.jsx | 49 + src/components/index.js | 5 + src/components/tabs.jsx | 98 ++ src/components/tag.jsx | 26 + src/content/index.md | 262 ++-- src/styles/base/_base.scss | 11 +- src/styles/base/_variables.scss | 5 + src/styles/components/code.scss | 7 + .../components/getting-started-tab.scss | 28 + src/styles/components/main-snippets.scss | 81 -- src/styles/components/tabs.scss | 81 ++ src/styles/components/tag.scss | 19 + src/styles/main.scss | 1 - src/templates/main.jsx | 28 +- 24 files changed, 1225 insertions(+), 1288 deletions(-) create mode 100644 src/components/code.jsx create mode 100644 src/components/getting-started-tab.jsx create mode 100644 src/components/icons/gradle.jsx create mode 100644 src/components/icons/index.js create mode 100644 src/components/icons/kubernetes.jsx create mode 100644 src/components/icons/maven.jsx create mode 100644 src/components/icons/open-shift.jsx create mode 100644 src/components/tabs.jsx create mode 100644 src/components/tag.jsx create mode 100644 src/styles/components/code.scss create mode 100644 src/styles/components/getting-started-tab.scss delete mode 100644 src/styles/components/main-snippets.scss create mode 100644 src/styles/components/tabs.scss create mode 100644 src/styles/components/tag.scss diff --git a/gatsby-config.js b/gatsby-config.js index 1fc4566..f0c34a8 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -133,12 +133,6 @@ const config = { options: { target: '_blank', }, - }, - { - resolve: 'gatsby-remark-prismjs', - options: { - inlineCodeMarker: '÷', - }, } ], } diff --git a/gatsby-node.js b/gatsby-node.js index c0d627c..ded5911 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -1,5 +1,6 @@ const path = require('path'); const {defaultLocale} = require('./src/i18n'); +const latestJKubeVersion = require('./src/jkube-utils').readLatestVersion().toString(); const mainTemplate = path.resolve('src', 'templates', 'main.jsx'); const docTemplate = path.resolve('src', 'templates', 'doc.jsx'); @@ -80,6 +81,7 @@ const createMarkdownPages = async ({createPage, graphql, reporter}) => { context: { id, locale, + latestJKubeVersion }, }); }); diff --git a/package-lock.json b/package-lock.json index fecf969..0e89a9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,10 +19,10 @@ "gatsby-remark-autolink-headers": "6.11.0", "gatsby-remark-copy-linked-files": "6.11.0", "gatsby-remark-external-links": "0.0.4", - "gatsby-remark-prismjs": "7.11.0", "gatsby-source-filesystem": "5.11.0", "gatsby-source-git": "1.1.0", "gatsby-transformer-asciidoc": "4.11.0", + "prism-react-renderer": "2.0.6", "prismjs": "1.29.0", "react": "18.2.0", "react-dom": "18.2.0", @@ -3198,15 +3198,6 @@ "@types/ms": "*" } }, - "node_modules/@mdx-js/mdx/node_modules/bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/@mdx-js/mdx/node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -3223,17 +3214,6 @@ } } }, - "node_modules/@mdx-js/mdx/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@mdx-js/mdx/node_modules/mdast-util-from-markdown": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-1.3.1.tgz", @@ -3322,33 +3302,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/@mdx-js/mdx/node_modules/trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/@mdx-js/mdx/node_modules/unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "dependencies": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/@mdx-js/mdx/node_modules/unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -3361,18 +3314,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/@mdx-js/mdx/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/@mdx-js/mdx/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -3400,34 +3341,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/@mdx-js/mdx/node_modules/vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "dependencies": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mdx-js/mdx/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/@mdx-js/react": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.3.0.tgz", @@ -4918,6 +4831,11 @@ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, + "node_modules/@types/prismjs": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.0.tgz", + "integrity": "sha512-ZTaqn/qSqUuAq1YwvOFQfVW1AR/oQJlLSZVustdjwI+GZ8kr0MSHBj0tsXPW1EqHubx50gtBEjbPGsdZwQwCjQ==" + }, "node_modules/@types/prop-types": { "version": "15.7.5", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", @@ -6242,6 +6160,15 @@ "babylon": "bin/babylon.js" } }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -7205,6 +7132,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/clsx": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz", + "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==", + "engines": { + "node": ">=6" + } + }, "node_modules/collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -11019,31 +10954,11 @@ "react-dom": "^18.0.0 || ^0.0.0" } }, - "node_modules/gatsby-plugin-mdx/node_modules/bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/gatsby-plugin-mdx/node_modules/github-slugger": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-2.0.0.tgz", "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==" }, - "node_modules/gatsby-plugin-mdx/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/gatsby-plugin-mdx/node_modules/longest-streak": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", @@ -11102,33 +11017,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/gatsby-plugin-mdx/node_modules/trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/gatsby-plugin-mdx/node_modules/unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "dependencies": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/gatsby-plugin-mdx/node_modules/unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -11141,18 +11029,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/gatsby-plugin-mdx/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/gatsby-plugin-mdx/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -11180,34 +11056,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/gatsby-plugin-mdx/node_modules/vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "dependencies": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/gatsby-plugin-mdx/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/gatsby-plugin-mdx/node_modules/zwitch": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", @@ -11473,23 +11321,6 @@ "unist-util-is": "^3.0.0" } }, - "node_modules/gatsby-remark-prismjs": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/gatsby-remark-prismjs/-/gatsby-remark-prismjs-7.11.0.tgz", - "integrity": "sha512-cw+i3NWV3OqKtU+zLZIhmWalrcZMrznvEY4rKVNop51oJ33XAanHL18wH7B55rHCDOhbKpA5m3J5L2VJSwdPDA==", - "dependencies": { - "@babel/runtime": "^7.20.13", - "parse-numeric-range": "^1.3.0", - "unist-util-visit": "^2.0.3" - }, - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "gatsby": "^5.0.0-next", - "prismjs": "^1.15.0" - } - }, "node_modules/gatsby-script": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/gatsby-script/-/gatsby-script-2.11.0.tgz", @@ -13738,6 +13569,17 @@ "node": ">=8" } }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -14707,18 +14549,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-mdx-expression/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdx-expression/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -15046,18 +14876,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-mdx-jsx/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdx-jsx/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -15085,19 +14903,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-mdx-jsx/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdx-jsx/node_modules/zwitch": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", @@ -15245,18 +15050,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-mdx/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdx/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -15447,18 +15240,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-mdxjs-esm/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-mdxjs-esm/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -15725,31 +15506,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/micromark-extension-mdx-jsx/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-mdx-jsx/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/micromark-extension-mdx-md": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/micromark-extension-mdx-md/-/micromark-extension-mdx-md-1.0.1.tgz", @@ -15801,31 +15557,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/micromark-extension-mdxjs-esm/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-extension-mdxjs-esm/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/micromark-factory-destination": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-1.1.0.tgz", @@ -15892,31 +15623,6 @@ "vfile-message": "^3.0.0" } }, - "node_modules/micromark-factory-mdx-expression/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-factory-mdx-expression/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/micromark-factory-space": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-1.1.0.tgz", @@ -16133,31 +15839,6 @@ "vfile-message": "^3.0.0" } }, - "node_modules/micromark-util-events-to-acorn/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-util-events-to-acorn/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/micromark-util-html-tag-name": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.2.0.tgz", @@ -17465,11 +17146,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/parse-numeric-range": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz", - "integrity": "sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==" - }, "node_modules/parse-path": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz", @@ -18451,6 +18127,18 @@ "renderkid": "^2.0.4" } }, + "node_modules/prism-react-renderer": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-2.0.6.tgz", + "integrity": "sha512-ERzmAI5UvrcTw5ivfEG20/dYClAsC84eSED5p9X3oKpm0xPV4A5clFK1mp7lPIdKmbLnQYsPTGiOI7WS6gWigw==", + "dependencies": { + "@types/prismjs": "^1.26.0", + "clsx": "^1.2.1" + }, + "peerDependencies": { + "react": ">=16.0.0" + } + }, "node_modules/prismjs": { "version": "1.29.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", @@ -19329,53 +19017,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/rehype-infer-description-meta/node_modules/bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/rehype-infer-description-meta/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/rehype-infer-description-meta/node_modules/trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/rehype-infer-description-meta/node_modules/unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "dependencies": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/rehype-infer-description-meta/node_modules/unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -19401,18 +19042,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/rehype-infer-description-meta/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/rehype-infer-description-meta/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -19440,34 +19069,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/rehype-infer-description-meta/node_modules/vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "dependencies": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/rehype-infer-description-meta/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/relay-runtime": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/relay-runtime/-/relay-runtime-12.0.0.tgz", @@ -19506,26 +19107,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-rehype/node_modules/bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/remark-rehype/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/remark-rehype/node_modules/mdast-util-definitions": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz", @@ -19559,33 +19140,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-rehype/node_modules/trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/remark-rehype/node_modules/unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "dependencies": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remark-rehype/node_modules/unist-util-generated": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/unist-util-generated/-/unist-util-generated-2.0.1.tgz", @@ -19619,18 +19173,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-rehype/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remark-rehype/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -19658,34 +19200,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-rehype/node_modules/vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "dependencies": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-rehype/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remark-unwrap-images": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/remark-unwrap-images/-/remark-unwrap-images-3.0.1.tgz", @@ -19701,15 +19215,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-unwrap-images/node_modules/bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/remark-unwrap-images/node_modules/hast-util-whitespace": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz", @@ -19719,44 +19224,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-unwrap-images/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/remark-unwrap-images/node_modules/trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/remark-unwrap-images/node_modules/unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "dependencies": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remark-unwrap-images/node_modules/unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -19769,18 +19236,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-unwrap-images/node_modules/unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "dependencies": { - "@types/unist": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remark-unwrap-images/node_modules/unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -19808,34 +19263,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-unwrap-images/node_modules/vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "dependencies": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-unwrap-images/node_modules/vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", @@ -22202,6 +21629,15 @@ "node": ">=0.8.0" } }, + "node_modules/trough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", + "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/true-case-path": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-2.2.1.tgz", @@ -22428,6 +21864,24 @@ "node": ">=4" } }, + "node_modules/unified": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", + "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", + "dependencies": { + "@types/unist": "^2.0.0", + "bail": "^2.0.0", + "extend": "^3.0.0", + "is-buffer": "^2.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -22556,6 +22010,18 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/unist-util-stringify-position": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", + "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/unist-util-visit": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-2.0.3.tgz", @@ -22862,6 +22328,34 @@ "node": ">= 0.8" } }, + "node_modules/vfile": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", + "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", + "dependencies": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", + "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-stringify-position": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/void-elements": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", @@ -25733,11 +25227,6 @@ "@types/ms": "*" } }, - "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" - }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -25746,11 +25235,6 @@ "ms": "2.1.2" } }, - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" - }, "mdast-util-from-markdown": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-1.3.1.tgz", @@ -25817,25 +25301,6 @@ "unified": "^10.0.0" } }, - "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" - }, - "unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "requires": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - } - }, "unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -25844,14 +25309,6 @@ "@types/unist": "^2.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -25870,26 +25327,6 @@ "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" } - }, - "vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "requires": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } } } }, @@ -26853,6 +26290,11 @@ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, + "@types/prismjs": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.0.tgz", + "integrity": "sha512-ZTaqn/qSqUuAq1YwvOFQfVW1AR/oQJlLSZVustdjwI+GZ8kr0MSHBj0tsXPW1EqHubx50gtBEjbPGsdZwQwCjQ==" + }, "@types/prop-types": { "version": "15.7.5", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", @@ -27853,6 +27295,11 @@ "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" }, + "bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" + }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -28580,6 +28027,11 @@ "mimic-response": "^1.0.0" } }, + "clsx": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz", + "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==" + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -31643,21 +31095,11 @@ "vfile": "^5.3.7" }, "dependencies": { - "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" - }, "github-slugger": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-2.0.0.tgz", "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==" }, - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" - }, "longest-streak": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", @@ -31700,25 +31142,6 @@ "unist-util-visit": "^4.0.0" } }, - "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" - }, - "unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "requires": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - } - }, "unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -31727,14 +31150,6 @@ "@types/unist": "^2.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -31754,26 +31169,6 @@ "unist-util-is": "^5.0.0" } }, - "vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "requires": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } - }, "zwitch": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", @@ -31969,16 +31364,6 @@ } } }, - "gatsby-remark-prismjs": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/gatsby-remark-prismjs/-/gatsby-remark-prismjs-7.11.0.tgz", - "integrity": "sha512-cw+i3NWV3OqKtU+zLZIhmWalrcZMrznvEY4rKVNop51oJ33XAanHL18wH7B55rHCDOhbKpA5m3J5L2VJSwdPDA==", - "requires": { - "@babel/runtime": "^7.20.13", - "parse-numeric-range": "^1.3.0", - "unist-util-visit": "^2.0.3" - } - }, "gatsby-script": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/gatsby-script/-/gatsby-script-2.11.0.tgz", @@ -33415,6 +32800,11 @@ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" }, + "is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + }, "is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -34151,14 +33541,6 @@ "@types/unist": "^2.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -34297,14 +33679,6 @@ "@types/unist": "^2.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -34532,14 +33906,6 @@ "unist-util-visit": "^4.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -34559,15 +33925,6 @@ "unist-util-is": "^5.0.0" } }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } - }, "zwitch": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", @@ -34687,14 +34044,6 @@ "@types/unist": "^2.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -34892,25 +34241,6 @@ "micromark-util-types": "^1.0.0", "uvu": "^0.5.0", "vfile-message": "^3.0.0" - }, - "dependencies": { - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } - } } }, "micromark-extension-mdx-md": { @@ -34950,25 +34280,6 @@ "unist-util-position-from-estree": "^1.1.0", "uvu": "^0.5.0", "vfile-message": "^3.0.0" - }, - "dependencies": { - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } - } } }, "micromark-factory-destination": { @@ -35005,25 +34316,6 @@ "unist-util-position-from-estree": "^1.0.0", "uvu": "^0.5.0", "vfile-message": "^3.0.0" - }, - "dependencies": { - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } - } } }, "micromark-factory-space": { @@ -35130,25 +34422,6 @@ "micromark-util-types": "^1.0.0", "uvu": "^0.5.0", "vfile-message": "^3.0.0" - }, - "dependencies": { - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } - } } }, "micromark-util-html-tag-name": { @@ -36034,11 +35307,6 @@ "lines-and-columns": "^1.1.6" } }, - "parse-numeric-range": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz", - "integrity": "sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==" - }, "parse-path": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz", @@ -36694,6 +35962,15 @@ "renderkid": "^2.0.4" } }, + "prism-react-renderer": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-2.0.6.tgz", + "integrity": "sha512-ERzmAI5UvrcTw5ivfEG20/dYClAsC84eSED5p9X3oKpm0xPV4A5clFK1mp7lPIdKmbLnQYsPTGiOI7WS6gWigw==", + "requires": { + "@types/prismjs": "^1.26.0", + "clsx": "^1.2.1" + } + }, "prismjs": { "version": "1.29.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", @@ -37388,35 +36665,6 @@ "unist-util-remove-position": "^4.0.0" }, "dependencies": { - "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" - }, - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" - }, - "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" - }, - "unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "requires": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - } - }, "unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -37434,14 +36682,6 @@ "unist-util-visit": "^4.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -37460,26 +36700,6 @@ "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" } - }, - "vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "requires": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } } } }, @@ -37513,16 +36733,6 @@ "unified": "^10.0.0" }, "dependencies": { - "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" - }, - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" - }, "mdast-util-definitions": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz", @@ -37548,25 +36758,6 @@ "unist-util-visit": "^4.0.0" } }, - "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" - }, - "unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "requires": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - } - }, "unist-util-generated": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/unist-util-generated/-/unist-util-generated-2.0.1.tgz", @@ -37588,14 +36779,6 @@ "@types/unist": "^2.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -37614,26 +36797,6 @@ "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" } - }, - "vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "requires": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } } } }, @@ -37648,40 +36811,11 @@ "unist-util-visit": "^4.0.0" }, "dependencies": { - "bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" - }, "hast-util-whitespace": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz", "integrity": "sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==" }, - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" - }, - "trough": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", - "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" - }, - "unified": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", - "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", - "requires": { - "@types/unist": "^2.0.0", - "bail": "^2.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^5.0.0" - } - }, "unist-util-is": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", @@ -37690,14 +36824,6 @@ "@types/unist": "^2.0.0" } }, - "unist-util-stringify-position": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", - "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", - "requires": { - "@types/unist": "^2.0.0" - } - }, "unist-util-visit": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", @@ -37716,26 +36842,6 @@ "@types/unist": "^2.0.0", "unist-util-is": "^5.0.0" } - }, - "vfile": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", - "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", - "requires": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^3.0.0", - "vfile-message": "^3.0.0" - } - }, - "vfile-message": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", - "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^3.0.0" - } } } }, @@ -39547,6 +38653,11 @@ } } }, + "trough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz", + "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==" + }, "true-case-path": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-2.2.1.tgz", @@ -39709,6 +38820,20 @@ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==" }, + "unified": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", + "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", + "requires": { + "@types/unist": "^2.0.0", + "bail": "^2.0.0", + "extend": "^3.0.0", + "is-buffer": "^2.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^5.0.0" + } + }, "union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -39807,6 +38932,14 @@ "@types/unist": "^2.0.0" } }, + "unist-util-stringify-position": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", + "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", + "requires": { + "@types/unist": "^2.0.0" + } + }, "unist-util-visit": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-2.0.3.tgz", @@ -40019,6 +39152,26 @@ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==" }, + "vfile": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", + "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", + "requires": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-message": "^3.0.0" + } + }, + "vfile-message": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", + "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", + "requires": { + "@types/unist": "^2.0.0", + "unist-util-stringify-position": "^3.0.0" + } + }, "void-elements": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", diff --git a/package.json b/package.json index c20f041..9e30906 100644 --- a/package.json +++ b/package.json @@ -44,11 +44,11 @@ "gatsby-remark-autolink-headers": "6.11.0", "gatsby-remark-copy-linked-files": "6.11.0", "gatsby-remark-external-links": "0.0.4", - "gatsby-remark-prismjs": "7.11.0", "gatsby-source-filesystem": "5.11.0", "gatsby-source-git": "1.1.0", "gatsby-transformer-asciidoc": "4.11.0", "prismjs": "1.29.0", + "prism-react-renderer": "2.0.6", "react": "18.2.0", "react-dom": "18.2.0", "sass": "1.56.1" diff --git a/src/components/code.jsx b/src/components/code.jsx new file mode 100644 index 0000000..70204e5 --- /dev/null +++ b/src/components/code.jsx @@ -0,0 +1,64 @@ +import React from 'react'; +import {Highlight, themes} from 'prism-react-renderer'; + +import '../styles/components/code.scss'; + +const baseClass = 'eclipse-jkube-code'; + +const interpolateString = (string, props) => { + return string.replace(/\${([^${}\s]+)}/g, (original, match) => { + let prop = {props}; + for (const p of match.split('.')) { + if (prop[p]) { + prop = prop[p]; + } else { + prop = original; + break; + } + } + return prop; + }); +}; + +export const Code = ({ + className = '', + language = className.replace(/language-/, ''), + children, + ...props +}) => { + if (typeof children === 'string') { + children = children.replace(/\n$/, ''); + children = interpolateString(children, props); + } + return ( + + {({className, style, tokens, getLineProps, getTokenProps}) => ( + + {tokens.map((line, index) => { + const lineProps = {...getLineProps({line, key: index})}; + lineProps.style = {...lineProps.style, display: 'block'} + return ( + + {line.map((token, key) => ( + + ))} + + ); + })} + + )} + + ); +}; + +export const CodeBlock = ({ + className = '', + children, + ...props +}) => { + className += ` ${baseClass}__container`; + if (/^language-\S+$/.test(children?.props?.className)) { + className += ` ${children.props.className}` + } + return
{children}
; +} diff --git a/src/components/getting-started-tab.jsx b/src/components/getting-started-tab.jsx new file mode 100644 index 0000000..c4acc7d --- /dev/null +++ b/src/components/getting-started-tab.jsx @@ -0,0 +1,24 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import {Tab, YouTube} from './'; + +import '../styles/components/getting-started-tab.scss'; + +const baseClass = 'eclipse-jkube-getting-started-tab'; + +export const GettingStartedTab = ({id, title, titleCompact, videoId, children}) => { + return ( + +
+
+ {children} +
+ +
+
+ ); +}; + +GettingStartedTab.propTypes = { + videoId: PropTypes.string.isRequired, +} diff --git a/src/components/icons/gradle.jsx b/src/components/icons/gradle.jsx new file mode 100644 index 0000000..95a1c5c --- /dev/null +++ b/src/components/icons/gradle.jsx @@ -0,0 +1,22 @@ +import React from 'react'; + +export const GradleIcon = ({ + className = '', + title = 'Gradle', + variant = 'dark', + elephantColor = variant === 'dark' ? '#02303a' : '#fff', + ...props +}) => ( + + {title} + + +); diff --git a/src/components/icons/index.js b/src/components/icons/index.js new file mode 100644 index 0000000..6643042 --- /dev/null +++ b/src/components/icons/index.js @@ -0,0 +1,4 @@ +export {GradleIcon} from './gradle'; +export {KubernetesIcon} from './kubernetes'; +export {MavenIcon} from './maven'; +export {OpenShiftIcon} from './open-shift'; diff --git a/src/components/icons/kubernetes.jsx b/src/components/icons/kubernetes.jsx new file mode 100644 index 0000000..35b386d --- /dev/null +++ b/src/components/icons/kubernetes.jsx @@ -0,0 +1,38 @@ +import React from 'react'; + +export const KubernetesIcon = ({ + className = '', + title = 'Kubernetes', + ...props +}) => ( + + {title} + + + +); diff --git a/src/components/icons/maven.jsx b/src/components/icons/maven.jsx new file mode 100644 index 0000000..3d8403b --- /dev/null +++ b/src/components/icons/maven.jsx @@ -0,0 +1,425 @@ +import React, {useId} from 'react'; + +export const MavenIcon = ({ + className = '', + title = 'Apache Maven', + ...props +}) => { + const idPrefix = useId().replace(/:/g, ''); + return ( + + {title} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; + diff --git a/src/components/icons/open-shift.jsx b/src/components/icons/open-shift.jsx new file mode 100644 index 0000000..d3e766f --- /dev/null +++ b/src/components/icons/open-shift.jsx @@ -0,0 +1,49 @@ +import React from 'react'; + + +const LOGO_HEIGHT = 65.408; +const TEXT_HEIGHT = 12.46323375; + +export const OpenShiftIcon = ({ + hideText = false, + textColor = '#241f21', + className = '', + title = 'OpenShift', + ...props +}) => { + let height = LOGO_HEIGHT; + if (hideText) { + height -= TEXT_HEIGHT; + } + return ( + + + + + + + {!hideText && } + + ); +}; diff --git a/src/components/index.js b/src/components/index.js index 82fb7ea..b2b6796 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -1,7 +1,12 @@ +export {Code, CodeBlock} from './code'; export {Footer} from './footer'; +export {GettingStartedTab} from './getting-started-tab'; export {Header} from './header'; export {Hero} from './hero'; +export {GradleIcon, KubernetesIcon, MavenIcon, OpenShiftIcon} from './icons'; export {MainLayout} from './main-layout'; export {QuickStartCard, QuickStartList} from './quickstarts'; export {Seo} from './seo'; +export {TabContainer, Tab} from './tabs'; +export {Tag} from './tag'; export {YouTube} from './youtube'; diff --git a/src/components/tabs.jsx b/src/components/tabs.jsx new file mode 100644 index 0000000..1c25990 --- /dev/null +++ b/src/components/tabs.jsx @@ -0,0 +1,98 @@ +import React, {useState} from 'react'; +import PropTypes from 'prop-types'; + +import '../styles/components/tabs.scss'; + +const baseClass = 'eclipse-jkube-tabs'; + +export const TabContainer = ({children = []}) => { + const tabs = Array.isArray(children) ? children : [children]; + const [activeTab, activateTab] = useState(tabs[0].props.id); + return ( +
+
+ {tabs.map((tab, idx) => { + const selected = tab.props.id === activeTab; + return ( + + ); + })} +
+ {tabs.map(tab => { + const hidden = tab.props.id !== activeTab; + const stateClass = hidden ? `${baseClass}__tabpanel--hidden` : `${baseClass}__tabpanel--active`; + return ( + + ); + })} +
+ ); +}; + +export const Tab =({children}) => { + return ( +
+ {children} +
+ ); +} + +TabContainer.propTypes = { + children: PropTypes.oneOfType([ + PropTypes.shape({ + type: PropTypes.oneOf([Tab]) + }), + PropTypes.arrayOf(PropTypes.shape({ + type: PropTypes.oneOf([Tab]) + })), + PropTypes.shape({ + props: PropTypes.shape({ + id: PropTypes.string.isRequired, + title: PropTypes.oneOfType([ + PropTypes.string, PropTypes.node + ]).isRequired, + titleCompact: PropTypes.oneOfType([ + PropTypes.string, PropTypes.node + ]) + }) + }), + PropTypes.arrayOf(PropTypes.shape({ + props: PropTypes.shape({ + id: PropTypes.string.isRequired, + title: PropTypes.oneOfType([ + PropTypes.string, PropTypes.node + ]).isRequired, + titleCompact: PropTypes.oneOfType([ + PropTypes.string, PropTypes.node + ]) + }) + })) + ]).isRequired +}; + +Tab.propTypes = { + id: PropTypes.string.isRequired, + title: PropTypes.oneOfType([ + PropTypes.string, PropTypes.node + ]).isRequired +}; diff --git a/src/components/tag.jsx b/src/components/tag.jsx new file mode 100644 index 0000000..ffe2ced --- /dev/null +++ b/src/components/tag.jsx @@ -0,0 +1,26 @@ +import React, {useState} from 'react'; +import PropTypes from 'prop-types'; + +import '../styles/components/tag.scss'; + +const baseClass = 'eclipse-jkube-tag'; + +export const Tag =({ + color, + backgroundColor, + children +}) => { + const props = { + className: baseClass + }; + props.style = {}; + if (color) { + props.style.color = color; + } + if (backgroundColor) { + props.style.backgroundColor = backgroundColor; + } + return ( + {children} + ); +}; diff --git a/src/content/index.md b/src/content/index.md index 5d5b314..6f4a61a 100644 --- a/src/content/index.md +++ b/src/content/index.md @@ -4,9 +4,10 @@ date: "2020-01-02" title: "Eclipse JKube - Build and Deploy java applications on Kubernetes" description: "Eclipse JKube - Build and Deploy java applications on Kubernetes" --- -import {Hero} from '../components' +import {GettingStartedTab, GradleIcon, Hero, KubernetesIcon, MavenIcon, OpenShiftIcon, TabContainer, Tab, Tag} from '../components' +
[![Twitter](https://img.shields.io/twitter/follow/jkubeio?label=Follow)](https://twitter.com/jkubeio) [![Twitter](https://img.shields.io/badge/YouTube-FF0000?logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCpU2tjgpfkTVgeDq-DBSV7A) @@ -26,159 +27,114 @@ It brings your Java applications on to Kubernetes and OpenShift by leveraging th cloud-native. Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to improve your developer experience. - - -## Build and deploy any Java projects ... for Kubernetes - -
- -![JKube - Quarkus, Spring boot, Wildfly, Tomcat, micronaut. openliberty, vertx, thorntail, etc. to Kubernetes](index/java-jkube-kube.svg "Java jkube Kubernetes") - -
- - -
-
-
    -
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> -

    Maven + Kubernetes

    -
  • -
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> -

    Maven + Openshift

    -
  • -
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> -

    Gradle + Kubernetes

    -
  • -
  • {var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); l.currentTarget.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+l.currentTarget.id+']').className += ' is-active';}}> -

    Gradle + Openshift

    -
  • -
-
- - - -
- -
- - - -[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin/#getting-started) -[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin/) - - -1. Add to the `pom.xml`: - ```xml - - - - org.eclipse.jkube - kubernetes-maven-plugin - 1.10.1 - - - - ``` - -2. Execute these command to build and deploy: - ``` - $ mvn package k8s:build \ - k8s:push \ - k8s:resource \ - k8s:apply - ``` -
- - - - -
- - - -[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/openshift-maven-plugin/#getting-started) -[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/openshift-maven-plugin/) - -1. Add to the `pom.xml`: - ```xml - - - - org.eclipse.jkube - openshift-maven-plugin - 1.10.1 - - - - ``` - -2. Execute these commands to build and deploy: - ``` - $ mvn package oc:build \ - oc:resource \ - oc:apply - ``` - -
- - - - -
- - - -[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/kubernetes-gradle-plugin/#getting-started) -[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/kubernetes-gradle-plugin/) - -1. Add to the `build.gradle`: - ``` - plugins { - id 'org.eclipse.jkubekubernetes' version '1.10.1' - } - ``` - -2. Execute these commands to build and deploy: - ``` - $ gradle build k8sBuild \ - k8sPush \ - k8sResource \ - k8sApply - ``` - -
- - - -
- - - -[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/openshift-gradle-plugin/#getting-started) -[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/openshift-gradle-plugin/) - -1. Add to the `build.gradle`: - ``` - plugins { - id 'org.eclipse.jkube.openshift' version '1.10.1' - } - ``` - -2. Execute these command to build and deploy: - ``` - $ gradle build ocBuild \ - ocResource \ - ocApply - ``` - -
- -
-
- - - +## Get Started + + + Maven   Kubernetes} + titleCompact={<> } + videoId='FHz5q8ERtPk' + > + [🚀 Getting started](/docs/kubernetes-maven-plugin/#getting-started) + [📖 Documentation](/docs/kubernetes-maven-plugin/) + + 1. Add the plugin to your `pom.xml`: + ```xml theme="dark" filename="pom.xml" + + + + org.eclipse.jkube + kubernetes-maven-plugin + ${props.pageContext.latestJKubeVersion} + + + + ``` + 2. Run the following command to build and deploy your application to Kubernetes: + ```bash + $ mvn package k8s:build \ + k8s:push \ + k8s:resource \ + k8s:apply + ``` + + Maven   OpenShift} + titleCompact={<> } + videoId='ZJzfD-bDxpc' + > + [🚀 Getting started](/docs/openshift-maven-plugin/#getting-started) + [📖 Documentation](/docs/openshift-maven-plugin/) + + 1. Add the plugin to your `pom.xml`: + ```xml theme="dark" filename="pom.xml" + + + + org.eclipse.jkube + openshift-maven-plugin + ${props.pageContext.latestJKubeVersion} + + + + ``` + 2. Run the following command to build and deploy your application to Kubernetes: + ```bash + $ mvn package oc:build \ + oc:resource \ + oc:apply + ``` + + Gradle   Kubernetes} + titleCompact={<> } + videoId='TUYl2Vw8bnQ' + > + [🚀 Getting started](/docs/kubernetes-gradle-plugin/#getting-started) + [📖 Documentation](/docs/kubernetes-gradle-plugin/) + + 1. Add the plugin to your `build.gradle`: + ```gradle + plugins { + id 'org.eclipse.jkube.kubernetes' version '${props.pageContext.latestJKubeVersion}' + } + ``` + 2. Run the following command to build and deploy your application to Kubernetes: + ```bash + $ gradle build k8sBuild \ + k8sPush \ + k8sResource \ + k8sApply + ``` + + Gradle   OpenShift} + titleCompact={<> } + videoId='uMxEzLdqcik' + > + [🚀 Getting started](/docs/openshift-gradle-plugin/#getting-started) + [📖 Documentation](/docs/openshift-gradle-plugin/) + + 1. Add the plugin to your `build.gradle`: + ```gradle + plugins { + id 'org.eclipse.jkube.openshift' version '${props.pageContext.latestJKubeVersion}' + } + ``` + 2. Run the following command to build and deploy your application to Kubernetes: + ```bash + $ gradle build ocBuild \ + ocResource \ + ocApply + ``` + + + ## Features diff --git a/src/styles/base/_base.scss b/src/styles/base/_base.scss index d0506a6..7e38d59 100644 --- a/src/styles/base/_base.scss +++ b/src/styles/base/_base.scss @@ -18,7 +18,7 @@ body { h1 { margin-top: 0; font-family: 'Roboto', sans-serif; - font-size: 3rem; + font-size: $font-size-h1; font-weight: $font-weight-normal; } h2 { @@ -26,7 +26,7 @@ h2 { align-items: center; margin-top: 0; font-family: 'Roboto', sans-serif; - font-size: 2rem; + font-size: $font-size-h2; font-weight: $font-weight-normal; .header__icon { margin-right: 1rem; @@ -35,7 +35,12 @@ h2 { } h3 { - font-size: 1.5rem; + font-size: $font-size-h3; + font-weight: $font-weight-normal; +} + +h4 { + font-size: $font-size-h4; font-weight: $font-weight-normal; } diff --git a/src/styles/base/_variables.scss b/src/styles/base/_variables.scss index 6f94b71..af7c0cb 100644 --- a/src/styles/base/_variables.scss +++ b/src/styles/base/_variables.scss @@ -4,6 +4,11 @@ $desktop-max-width: 1170px; $font-weight-normal: 300; $font-weight-light-bold: 400; +$font-weight-bold: 700; +$font-size-h1: 3rem; +$font-size-h2: 2rem; +$font-size-h3: 1.5rem; +$font-size-h4: 1.25rem; $color-white: #F1F2F2; $color-black: #222222; diff --git a/src/styles/components/code.scss b/src/styles/components/code.scss new file mode 100644 index 0000000..60192da --- /dev/null +++ b/src/styles/components/code.scss @@ -0,0 +1,7 @@ +@import '../base/variables'; + +$code-block-class: '.eclipse-jkube-code'; + +code#{$code-block-class} { + display: inline-block; +} diff --git a/src/styles/components/getting-started-tab.scss b/src/styles/components/getting-started-tab.scss new file mode 100644 index 0000000..202cede --- /dev/null +++ b/src/styles/components/getting-started-tab.scss @@ -0,0 +1,28 @@ +@import '../base/variables'; + +.eclipse-jkube-getting-started-tab { + $responsive-breakpoint: 960px; + display: flex; + flex-direction: column-reverse; + gap: 1rem; + align-items: center; + background-color: $base-background-color; + color: $base-color; + padding: 1rem; + @media all and (min-width: $responsive-breakpoint) { + flex-direction: row; + } + &__instructions { + width: 100%; + @media all and (min-width: $responsive-breakpoint) { + width: auto; + } + } + .youtube-video { + margin: 0; + padding: 0; + } + p { + margin-top: 0; + } +} diff --git a/src/styles/components/main-snippets.scss b/src/styles/components/main-snippets.scss deleted file mode 100644 index 0ecc3a4..0000000 --- a/src/styles/components/main-snippets.scss +++ /dev/null @@ -1,81 +0,0 @@ -// WIP Main Page with snippets - -.eclipse-jkube__main { - & .eclipse-jkube__content { - .diag { - text-align: center; - margin-top: 2em; - margin-bottom: 2em; - } - - .tabs li, - .tabs ul { - display: flex; - } - - .tabs li { - align-items: center; - border: 1px solid #000; - border-bottom: 0; - cursor: pointer; - font-weight: 700; - height: 2.5rem; - line-height: 1; - margin-right: 0.25rem; - padding: 0 1.5rem; - position: relative; - } - - .tabs li:not(.is-active) { - background-color: #000; - color: #fff; - } - - .tabset > .content { - border: 1px solid grey; - padding: 1.25rem; - } - - .tabset { - padding-bottom: 2em; - } - - - ul { - display: block; - list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0px; - margin-inline-end: 0px; - padding-inline-start: 40px; - } - - .tabs ul { - -ms-flex-wrap: wrap; - flex-wrap: wrap; - list-style: none; - margin: 0 -0.25rem 0 0; - padding: 0; - } - - .tabs li.is-active::after { - background-color: #F1F2F2; - content: ""; - display: block; - height: 3px; - position: absolute; - bottom: -1.5px; - left: 0; - right: 0; - } - - .tab-pane:not(.is-active) { - display: none; - } - - .youtube-video { - float: right; - } - } -} diff --git a/src/styles/components/tabs.scss b/src/styles/components/tabs.scss new file mode 100644 index 0000000..3e700b8 --- /dev/null +++ b/src/styles/components/tabs.scss @@ -0,0 +1,81 @@ +@import '../base/variables'; + +.eclipse-jkube-tabs { + $tabs-class: &; + $responsive-breakpoint: 960px; + $tab-color: $base-color; + $tab-color-selected: $base-color; + $tab-color-hover: $color-dark-foreground; + $tab-gap: 0.2rem; + $tab-height: 2.5rem; + $tab-icon-height: $tab-height * 0.5; + $tab-font-size: $base-font-size; + $tab-font-weight: $font-weight-bold; + $background-color: transparentize(lighten($color-dark-background, 50%), 0.4); + $background-color-selected: lighten($color-orange, 10%); + $background-color-hover: transparentize(darken($color-dark-background, 40%), 0.75); + $border-radius: 0.3rem; + color: $color-dark-foreground; + #{$tabs-class}__tablist { + display: flex; + gap: $tab-gap; + #{$tabs-class}__tab { + display: inline-block; + background: $background-color; + color: $tab-color; + filter: grayscale(1); + padding: 0 0.8rem; + border: none; + border-radius: $border-radius $border-radius 0 0; + font-size: $tab-font-size; + font-weight: $tab-font-weight; + cursor: pointer; + &:hover { + color: $tab-color-hover; + background: $background-color-hover; + filter: none; + } + &--selected { + background: $background-color-selected; + color: $tab-color-selected; + filter: none; + &:hover { + background: $background-color-selected; + color: $tab-color-selected; + } + } + &-title { + display: flex; + gap: 0.25rem; + align-items: center; + white-space: nowrap; + height: $tab-height; + line-height: $tab-height; + &--lg { + display: none; + @media all and (min-width: $responsive-breakpoint ) { + display: flex; + } + } + &--sm { + @media all and (min-width: $responsive-breakpoint ) { + display: none; + } + } + svg, img { + height: $tab-icon-height; + } + } + } + } + #{$tabs-class}__tabpanel { + position: relative; + background-color: $background-color-selected; + color: $color-dark-foreground; + border-radius: 0 $border-radius $border-radius $border-radius; + padding: 0.5rem; + &--hidden { + display: none; + } + } +} diff --git a/src/styles/components/tag.scss b/src/styles/components/tag.scss new file mode 100644 index 0000000..39cffa0 --- /dev/null +++ b/src/styles/components/tag.scss @@ -0,0 +1,19 @@ +@import '../base/variables'; + +.eclipse-jkube-tag { + display: inline-block; + padding: 0.25rem 0.4rem; + border-radius: 0.25rem; + font-size: 0.75rem; + font-family: 'Roboto', sans-serif;; + text-shadow: 2px 1px 1px rgba(0, 0, 0, 0.2); + &:not(:last-child) { + margin-right: 0.25rem; + } + a { + padding: 0; + margin: 0; + color: inherit; + text-decoration: none; + } +} diff --git a/src/styles/main.scss b/src/styles/main.scss index 0fdd973..e306c4d 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -3,7 +3,6 @@ @import 'components/footer'; @import 'components/header'; -@import 'components/main-snippets'; @import 'components/quickstarts'; @import 'templates/main'; @import 'templates/doc'; diff --git a/src/templates/main.jsx b/src/templates/main.jsx index 8934d6a..3bb747f 100644 --- a/src/templates/main.jsx +++ b/src/templates/main.jsx @@ -1,19 +1,33 @@ import React from 'react'; import {graphql} from 'gatsby'; -import {MainLayout, Seo} from '../components'; +import {MDXProvider} from '@mdx-js/react'; +import {Code, CodeBlock, MainLayout, Seo} from '../components'; import '../styles/main.scss'; +const components = pageContext => ({ + pre: ({className = '', ...props}) => { + if (props?.children?.type?.name === 'code') { + return ; + } + return
;
+  },
+  code: props => 
+});
+
 const Main = ({
   children,
-  pageContext: {locale}
+  pageContext
 }) => {
+  const {locale} = pageContext;
   return (
-    
-      
- {children} -
-
+ + +
+ {children} +
+
+
); };