diff --git a/src/components/Pages/FavoritesPage.tsx b/src/Pages/FavoritesPage.tsx similarity index 100% rename from src/components/Pages/FavoritesPage.tsx rename to src/Pages/FavoritesPage.tsx diff --git a/src/components/Pages/LoginPage.tsx b/src/Pages/LoginPage.tsx similarity index 100% rename from src/components/Pages/LoginPage.tsx rename to src/Pages/LoginPage.tsx diff --git a/src/components/Pages/MainPage.tsx b/src/Pages/MainPage.tsx similarity index 98% rename from src/components/Pages/MainPage.tsx rename to src/Pages/MainPage.tsx index 4a0dc29..5bfefde 100644 --- a/src/components/Pages/MainPage.tsx +++ b/src/Pages/MainPage.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import {PlaceCard} from '../PlaceCard.tsx'; -import {RoomType} from '../../DataTypes/RoomType.ts'; +import {PlaceCard} from '../components/PlaceCard.tsx'; +import {RoomType} from '../DataTypes/RoomType.ts'; interface MainPageProps { placeCount: number; diff --git a/src/components/Pages/OfferPage.tsx b/src/Pages/OfferPage.tsx similarity index 100% rename from src/components/Pages/OfferPage.tsx rename to src/Pages/OfferPage.tsx diff --git a/src/components/App.tsx b/src/components/App.tsx index 1d0845b..15329c2 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1,4 +1,4 @@ -import {MainPage} from './Pages/MainPage.tsx'; +import {MainPage} from '../Pages/MainPage.tsx'; import React from 'react'; interface AppProps {