diff --git a/src/App.tsx b/src/App.tsx
index adf8934..7a4474b 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,24 +1,36 @@
import React from 'react';
import { IonApp, IonRouterOutlet } from '@ionic/react';
import { IonReactRouter } from '@ionic/react-router';
-import { Switch, Route, Redirect } from 'react-router-dom';
-
-import Home from './pages/Home';
+import AppRoutes from './AppRoutes';
import './index.css'
import '@ionic/react/css/core.css';
+import Header from './components/Header';
+import Footer from './components/Footer';
const App: React.FC = () => (
-
-
-
-
-
-
+
+ {/* Постоянный Header */}
+
+
+ {/* Основной контейнер для контента */}
+
+
+
+
+
+ {/* Постоянный Footer */}
+
+
+
);
diff --git a/src/AppRoutes.tsx b/src/AppRoutes.tsx
index e69de29..b84559e 100644
--- a/src/AppRoutes.tsx
+++ b/src/AppRoutes.tsx
@@ -0,0 +1,16 @@
+import React from 'react';
+import { Route } from 'react-router-dom';
+
+import Home from './pages/Home';
+import Login from './pages/Login';
+import Register from './pages/Register';
+
+const AppRoutes = () => (
+ <>
+
+
+
+ >
+);
+
+export default AppRoutes;
\ No newline at end of file
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index a551eea..be63652 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,9 +1,13 @@
-
+import React from 'react';
+import { IonRouterLink } from '@ionic/react';
function Header() {
return (
-
+
);
}
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
index 77deee1..b22097e 100644
--- a/src/pages/Home.tsx
+++ b/src/pages/Home.tsx
@@ -1,16 +1,8 @@
-import Header from '../components/Header';
-import Footer from '../components/Footer';
-import MainContent from '../components/MainContent';
-
function Home() {
return (
<>
-
-
-
-
-
+
Домашняя страница
>
);
}
diff --git a/src/pages/Register.tsx b/src/pages/Register.tsx
index a6fd72d..c95c62a 100644
--- a/src/pages/Register.tsx
+++ b/src/pages/Register.tsx
@@ -1,11 +1,13 @@
-function Login() {
- return (
-
-
Зарегистрироваться
-
-
- );
+
+function Auth() {
+ return (
+
+
+
Страница регистрации
+
+
+ );
}
-export default Login;
\ No newline at end of file
+export default Auth;
\ No newline at end of file