-
Developer tools
@@ -82,4 +89,4 @@ function Framework() {
);
}
-export default Framework;
+export {Framework};
diff --git a/website/src/pages/Home/Framework/styles.module.css b/website/src/components/Home/Framework/styles.module.css
similarity index 100%
rename from website/src/pages/Home/Framework/styles.module.css
rename to website/src/components/Home/Framework/styles.module.css
diff --git a/website/src/pages/Home/Hero/Devices.tsx b/website/src/components/Home/Hero/Devices.tsx
similarity index 100%
rename from website/src/pages/Home/Hero/Devices.tsx
rename to website/src/components/Home/Hero/Devices.tsx
diff --git a/website/src/pages/Home/Hero/FloorBackground.tsx b/website/src/components/Home/Hero/FloorBackground.tsx
similarity index 100%
rename from website/src/pages/Home/Hero/FloorBackground.tsx
rename to website/src/components/Home/Hero/FloorBackground.tsx
diff --git a/website/src/pages/Home/Hero/GridBackground.tsx b/website/src/components/Home/Hero/GridBackground.tsx
similarity index 100%
rename from website/src/pages/Home/Hero/GridBackground.tsx
rename to website/src/components/Home/Hero/GridBackground.tsx
diff --git a/website/src/pages/Home/Hero/index.tsx b/website/src/components/Home/Hero/index.tsx
similarity index 98%
rename from website/src/pages/Home/Hero/index.tsx
rename to website/src/components/Home/Hero/index.tsx
index 265c0966d84..399ab2b240a 100644
--- a/website/src/pages/Home/Hero/index.tsx
+++ b/website/src/components/Home/Hero/index.tsx
@@ -62,4 +62,4 @@ function Hero() {
);
}
-export default Hero;
+export {Hero};
diff --git a/website/src/pages/Home/Hero/styles.module.css b/website/src/components/Home/Hero/styles.module.css
similarity index 100%
rename from website/src/pages/Home/Hero/styles.module.css
rename to website/src/components/Home/Hero/styles.module.css
diff --git a/website/src/pages/Home/Logo.tsx b/website/src/components/Home/Logo.tsx
similarity index 100%
rename from website/src/pages/Home/Logo.tsx
rename to website/src/components/Home/Logo.tsx
diff --git a/website/src/pages/Home/Native/index.tsx b/website/src/components/Home/Native/index.tsx
similarity index 80%
rename from website/src/pages/Home/Native/index.tsx
rename to website/src/components/Home/Native/index.tsx
index f8c84882d17..05251eb00f1 100644
--- a/website/src/pages/Home/Native/index.tsx
+++ b/website/src/components/Home/Native/index.tsx
@@ -9,9 +9,10 @@ import React from 'react';
import Section from '../components/Section';
import SectionTitle from '../components/SectionTitle';
-import ThemeImage from '../components/ThemeImage';
import styles from './styles.module.css';
+import useBaseUrl from '@docusaurus/useBaseUrl';
+import ThemedImage from '@theme/ThemedImage';
function Native() {
return (
@@ -28,11 +29,13 @@ function Native() {
>
}
/>
-
);
diff --git a/website/src/pages/Home/Native/styles.module.css b/website/src/components/Home/Native/styles.module.css
similarity index 100%
rename from website/src/pages/Home/Native/styles.module.css
rename to website/src/components/Home/Native/styles.module.css
diff --git a/website/src/pages/Home/Platforms/FoxFact.tsx b/website/src/components/Home/Platforms/FoxFact.tsx
similarity index 100%
rename from website/src/pages/Home/Platforms/FoxFact.tsx
rename to website/src/components/Home/Platforms/FoxFact.tsx
diff --git a/website/src/pages/Home/Platforms/index.tsx b/website/src/components/Home/Platforms/index.tsx
similarity index 89%
rename from website/src/pages/Home/Platforms/index.tsx
rename to website/src/components/Home/Platforms/index.tsx
index 031229b1968..3778b66c7bb 100644
--- a/website/src/pages/Home/Platforms/index.tsx
+++ b/website/src/components/Home/Platforms/index.tsx
@@ -9,10 +9,11 @@ import React from 'react';
import Section from '../components/Section';
import SectionTitle from '../components/SectionTitle';
-import ThemeImage from '../components/ThemeImage';
+import ThemedImage from '@theme/ThemedImage';
import FoxFact from './FoxFact';
import styles from './styles.module.css';
+import useBaseUrl from '@docusaurus/useBaseUrl';
function Platforms() {
return (
@@ -54,11 +55,13 @@ function Platforms() {