From 8c3b4f524a480b86a780bcdd771c394d6878825e Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 15 Aug 2023 10:21:21 +0300 Subject: [PATCH] feat: move Landing Page into pages folder --- src/App.tsx | 2 +- src/{components => pages/LandingPage}/LandingPage.css | 0 src/{components => pages/LandingPage}/LandingPage.stories.ts | 0 src/{components => pages/LandingPage}/LandingPage.tsx | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{components => pages/LandingPage}/LandingPage.css (100%) rename src/{components => pages/LandingPage}/LandingPage.stories.ts (100%) rename src/{components => pages/LandingPage}/LandingPage.tsx (99%) diff --git a/src/App.tsx b/src/App.tsx index 8bdf7880..2bc3549a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,7 +3,7 @@ import { createBrowserRouter, RouterProvider } from 'react-router-dom' import { Provider as StatusProvider } from '@status-im/components' import './App.css' import config from '../tamagui.config' -import LandingPage from './components/LandingPage' +import LandingPage from './pages/LandingPage/LandingPage' import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck' import ConnectDevicePage from './components/ConnectDevicePage' diff --git a/src/components/LandingPage.css b/src/pages/LandingPage/LandingPage.css similarity index 100% rename from src/components/LandingPage.css rename to src/pages/LandingPage/LandingPage.css diff --git a/src/components/LandingPage.stories.ts b/src/pages/LandingPage/LandingPage.stories.ts similarity index 100% rename from src/components/LandingPage.stories.ts rename to src/pages/LandingPage/LandingPage.stories.ts diff --git a/src/components/LandingPage.tsx b/src/pages/LandingPage/LandingPage.tsx similarity index 99% rename from src/components/LandingPage.tsx rename to src/pages/LandingPage/LandingPage.tsx index 018410c5..9e577dd7 100644 --- a/src/components/LandingPage.tsx +++ b/src/pages/LandingPage/LandingPage.tsx @@ -1,6 +1,6 @@ -import PageWrapperShadow from './PageWrapperShadow' +import PageWrapperShadow from '../../components/PageWrapperShadow' import './LandingPage.css' -import QuickStartBar from './QuickStartBar' +import QuickStartBar from '../../components/QuickStartBar' function LandingPage() { return (