From f55ff87a824b880a6033f2faf1546b3a145d4fc2 Mon Sep 17 00:00:00 2001 From: Shaun Struwig <41984034+Blargian@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:21:36 +0200 Subject: [PATCH 01/26] add page and basic components --- src/pages/helloReact.js | 109 ++++++++++++++++++++++++++ src/pages/homepage_styles.module.scss | 73 +++++++++++++++++ static/img/book.svg | 23 ++++++ static/img/lightbulb-on.svg | 73 +++++++++++++++++ static/img/rocket.svg | 47 +++++++++++ 5 files changed, 325 insertions(+) create mode 100644 src/pages/helloReact.js create mode 100644 src/pages/homepage_styles.module.scss create mode 100644 static/img/book.svg create mode 100644 static/img/lightbulb-on.svg create mode 100644 static/img/rocket.svg diff --git a/src/pages/helloReact.js b/src/pages/helloReact.js new file mode 100644 index 00000000000..d35d6fecc3a --- /dev/null +++ b/src/pages/helloReact.js @@ -0,0 +1,109 @@ +import React from 'react'; +import Layout from '@theme/Layout'; +import homepage_styles from './homepage_styles.module.scss' +import {useColorMode} from "@docusaurus/theme-common"; +import Link from '@docusaurus/Link'; +import BookIcon from '@site/static/img/book.svg'; +import RocketIcon from '@site/static/img/rocket.svg'; +import LightbulbOnIcon from '@site/static/img/lightbulb-on.svg'; +import SearchBar from '@theme/SearchBar'; + +const NavatticDemo = ({ + demoId = "cmbj9y9dx000004lbbeus84ns", + width = "100%", + height = "600px", + className = "" +}) => { + const src = `https://capture.navattic.com/${demoId}`; + return ( +
+