Skip to content

Commit 7630c5a

Browse files
committed
Refactor layouts
1 parent 8135304 commit 7630c5a

File tree

15 files changed

+13
-54
lines changed

15 files changed

+13
-54
lines changed

src/guards/AuthenticatedGuard.tsx

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/pages/AuthPages/LoginPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Login } from 'src/components/Auth/Login';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _LoginPage = () => {
66
return (

src/pages/AuthPages/ProfilePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Profile } from 'src/components/Auth/Profile';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _ProfilePage = () => {
66
return (

src/pages/AuthPages/RegisterPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Register } from 'src/components/Auth/Register';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _RegisterPage = () => {
66
return (

src/pages/ErrorPages/404Pages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { NotFound } from 'src/components/Error/404';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _NotFoundPage = () => {
66
return (

src/pages/HomePages/HomePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Home } from 'src/components/Home';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _HomePage = () => {
66
return (

src/pages/ProductPages/ProductItemPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { ProductItem } from 'src/components/Products/ProductItem';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _ProductItemPage = () => {
66
return (

src/pages/ProductPages/ProductListPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { ProductList } from 'src/components/Products/ProductList';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _ProductListPage = () => {
66
return (

src/pages/StaticPages/AboutPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { About } from 'src/components/StaticPages/About';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _AboutPage = () => {
66
return (

src/pages/StaticPages/ContactPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Contact } from 'src/components/StaticPages/Contact';
3-
import { MainLayout } from 'src/layouts/MainLayout';
3+
import { MainLayout } from 'src/pages/layouts/MainLayout';
44

55
const _ContactPage = () => {
66
return (

0 commit comments

Comments
 (0)