From 6d868b47efdd9e500418cabf1838f13f0fb25545 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Mon, 22 Jul 2024 15:32:28 +0200 Subject: [PATCH] Bring back studio landing page (#3828) --- docs/pages/toolpad-studio/index.js | 66 ------------------------------ docs/pages/toolpad/core/index.js | 33 +++++++++++++++ docs/pages/toolpad/index.js | 57 ++++++++++++++++++++------ 3 files changed, 78 insertions(+), 78 deletions(-) delete mode 100644 docs/pages/toolpad-studio/index.js create mode 100644 docs/pages/toolpad/core/index.js diff --git a/docs/pages/toolpad-studio/index.js b/docs/pages/toolpad-studio/index.js deleted file mode 100644 index 4e033d9f808..00000000000 --- a/docs/pages/toolpad-studio/index.js +++ /dev/null @@ -1,66 +0,0 @@ -import * as React from 'react'; -import NoSsr from '@mui/material/NoSsr'; -import Head from 'docs/src/modules/components/Head'; -import CssBaseline from '@mui/material/CssBaseline'; -import Divider from '@mui/material/Divider'; -import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; -import AppHeader from 'docs/src/layouts/AppHeader'; -import AppFooter from 'docs/src/layouts/AppFooter'; -import AppHeaderBanner from 'docs/src/components/banner/AppHeaderBanner'; -import Hero from '../../src/components/landing/Hero'; -import HeroVideo from '../../src/components/landing/HeroVideo'; -import SignUpToast from '../../src/components/landing/SignUpToast'; -import UseCases from '../../src/components/landing/UseCases'; -import CardGrid from '../../src/components/landing/CardGrid'; -import Pricing from '../../src/components/landing/PricingTable'; -import Marquee from '../../src/components/landing/Marquee'; -import features from '../../data/toolpad/studio/landing/features'; -import useCases from '../../data/toolpad/studio/landing/useCases'; -import marquee from '../../data/toolpad/studio/landing/marquee'; -import { - Headline, - plans, - planInfo, - rowHeaders, - communityData, - commercialData, -} from '../../data/toolpad/studio/landing/pricing'; - -export default function Home() { - return ( - - - - - - - - -
- - - - - - - - - - - - - - - ); -} diff --git a/docs/pages/toolpad/core/index.js b/docs/pages/toolpad/core/index.js new file mode 100644 index 00000000000..d59be0ea83c --- /dev/null +++ b/docs/pages/toolpad/core/index.js @@ -0,0 +1,33 @@ +import * as React from 'react'; +import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; +import Divider from '@mui/material/Divider'; +import CssBaseline from '@mui/material/CssBaseline'; +import AppHeader from 'docs/src/layouts/AppHeader'; +import AppFooter from 'docs/src/layouts/AppFooter'; +import AppHeaderBanner from 'docs/src/components/banner/AppHeaderBanner'; +import Examples from '../../../src/components/landing-core/Examples'; +import Hero from '../../../src/components/landing-core/Hero'; +import Features from '../../../src/components/landing-core/Features'; +import BuiltWith from '../../../src/components/landing-core/BuiltWith'; +import StudioIntro from '../../../src/components/landing-core/StudioIntro'; + +export default function Home() { + return ( + + + + +
+ + {/* */} + + + + + + +
+ +
+ ); +} diff --git a/docs/pages/toolpad/index.js b/docs/pages/toolpad/index.js index c2f991e072f..4e033d9f808 100644 --- a/docs/pages/toolpad/index.js +++ b/docs/pages/toolpad/index.js @@ -1,31 +1,64 @@ import * as React from 'react'; -import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; -import Divider from '@mui/material/Divider'; +import NoSsr from '@mui/material/NoSsr'; +import Head from 'docs/src/modules/components/Head'; import CssBaseline from '@mui/material/CssBaseline'; +import Divider from '@mui/material/Divider'; +import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider'; import AppHeader from 'docs/src/layouts/AppHeader'; import AppFooter from 'docs/src/layouts/AppFooter'; import AppHeaderBanner from 'docs/src/components/banner/AppHeaderBanner'; -import Examples from '../../src/components/landing-core/Examples'; -import Hero from '../../src/components/landing-core/Hero'; -import Features from '../../src/components/landing-core/Features'; -import BuiltWith from '../../src/components/landing-core/BuiltWith'; -import StudioIntro from '../../src/components/landing-core/StudioIntro'; +import Hero from '../../src/components/landing/Hero'; +import HeroVideo from '../../src/components/landing/HeroVideo'; +import SignUpToast from '../../src/components/landing/SignUpToast'; +import UseCases from '../../src/components/landing/UseCases'; +import CardGrid from '../../src/components/landing/CardGrid'; +import Pricing from '../../src/components/landing/PricingTable'; +import Marquee from '../../src/components/landing/Marquee'; +import features from '../../data/toolpad/studio/landing/features'; +import useCases from '../../data/toolpad/studio/landing/useCases'; +import marquee from '../../data/toolpad/studio/landing/marquee'; +import { + Headline, + plans, + planInfo, + rowHeaders, + communityData, + commercialData, +} from '../../data/toolpad/studio/landing/pricing'; export default function Home() { return ( + + + +
- {/* */} - + + + + + + + - + - -