diff --git a/website/src/pages/Home/CallToAction/index.tsx b/website/src/components/Home/CallToAction/index.tsx similarity index 100% rename from website/src/pages/Home/CallToAction/index.tsx rename to website/src/components/Home/CallToAction/index.tsx diff --git a/website/src/pages/Home/CallToAction/styles.module.css b/website/src/components/Home/CallToAction/styles.module.css similarity index 100% rename from website/src/pages/Home/CallToAction/styles.module.css rename to website/src/components/Home/CallToAction/styles.module.css diff --git a/website/src/pages/Home/Community/index.tsx b/website/src/components/Home/Community/index.tsx similarity index 97% rename from website/src/pages/Home/Community/index.tsx rename to website/src/components/Home/Community/index.tsx index fe4987f1703..05e5db13dec 100644 --- a/website/src/pages/Home/Community/index.tsx +++ b/website/src/components/Home/Community/index.tsx @@ -6,11 +6,12 @@ */ import React from 'react'; + import useBaseUrl from '@docusaurus/useBaseUrl'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; -import Section from '../components/Section'; -import SectionTitle from '../components/SectionTitle'; +import Section from '../Section'; +import SectionTitle from '../SectionTitle'; import styles from './styles.module.css'; diff --git a/website/src/pages/Home/Community/styles.module.css b/website/src/components/Home/Community/styles.module.css similarity index 100% rename from website/src/pages/Home/Community/styles.module.css rename to website/src/components/Home/Community/styles.module.css diff --git a/website/src/pages/Home/Framework/index.tsx b/website/src/components/Home/Framework/index.tsx similarity index 77% rename from website/src/pages/Home/Framework/index.tsx rename to website/src/components/Home/Framework/index.tsx index 4dd1d0984e9..2bd04b08c06 100644 --- a/website/src/pages/Home/Framework/index.tsx +++ b/website/src/components/Home/Framework/index.tsx @@ -7,9 +7,11 @@ import React from 'react'; -import ThemeImage from '../components/ThemeImage'; -import Section from '../components/Section'; -import SectionTitle from '../components/SectionTitle'; +import useBaseUrl from '@docusaurus/useBaseUrl'; +import ThemedImage from '@theme/ThemedImage'; + +import Section from '../Section'; +import SectionTitle from '../SectionTitle'; import styles from './styles.module.css'; @@ -30,9 +32,11 @@ function Framework() { />