From 4bb526f175efbf0966494149e9aef4b329db158b Mon Sep 17 00:00:00 2001 From: Gabriele Antonini Date: Fri, 1 Mar 2024 14:06:15 +0100 Subject: [PATCH] chore: add user guiding script --- .../src/components/user-guiding.js | 16 ++++++++++++++++ .../gatsby-theme-docs/src/templates/homepage.js | 2 ++ .../src/templates/page-content.js | 2 ++ .../src/templates/release-notes-detail.js | 2 ++ .../src/templates/release-notes-list.js | 2 ++ 5 files changed, 24 insertions(+) create mode 100644 packages/gatsby-theme-docs/src/components/user-guiding.js diff --git a/packages/gatsby-theme-docs/src/components/user-guiding.js b/packages/gatsby-theme-docs/src/components/user-guiding.js new file mode 100644 index 0000000000..c6518e6d28 --- /dev/null +++ b/packages/gatsby-theme-docs/src/components/user-guiding.js @@ -0,0 +1,16 @@ +import PropTypes from 'prop-types'; +import { Script } from 'gatsby'; + +const UserGuiding = (props) => { + return props.ugId ? ( +