From e2d07fe455d06541d930826a24eb0e162c1ad464 Mon Sep 17 00:00:00 2001
From: DyCTaTOR <125912249+DyCTaTOR@users.noreply.github.com>
Date: Sun, 24 Dec 2023 15:07:57 +0400
Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Directions/direct/Directions.jsx | 3 --
Lab5/src/main.jsx | 10 ----
Lab5/src/pages/Admin.jsx | 52 -------------------
Lab5/src/pages/CartPage.jsx | 9 ----
Lab5/src/pages/Page4.jsx | 24 +++++++--
Lab5/src/pages/Reduse.jsx | 28 ----------
6 files changed, 21 insertions(+), 105 deletions(-)
delete mode 100644 Lab5/src/pages/Admin.jsx
delete mode 100644 Lab5/src/pages/CartPage.jsx
delete mode 100644 Lab5/src/pages/Reduse.jsx
diff --git a/Lab5/src/components/Directions/direct/Directions.jsx b/Lab5/src/components/Directions/direct/Directions.jsx
index 7c39536..6143454 100644
--- a/Lab5/src/components/Directions/direct/Directions.jsx
+++ b/Lab5/src/components/Directions/direct/Directions.jsx
@@ -1,6 +1,4 @@
-import { Search } from 'react-bootstrap-icons';
import { useState } from 'react';
-import { Button } from 'react-bootstrap';
import TableDirect from './TableDirect.jsx';
import Direction from './Direction.jsx';
import useDirections from '../hooks/DirectionHooks';
@@ -15,7 +13,6 @@ const Directions = () => {
setSearchValue(e.target.value)}
type='text' required />
-
diff --git a/Lab5/src/main.jsx b/Lab5/src/main.jsx
index 5fed285..2c55b15 100644
--- a/Lab5/src/main.jsx
+++ b/Lab5/src/main.jsx
@@ -10,8 +10,6 @@ import Page2 from './pages/Page2.jsx';
import Page3 from './pages/Page3.jsx';
import Page4 from './pages/Page4.jsx';
import Page5 from './pages/Page5.jsx';
-import Reduse from './pages/Reduse.jsx';
-import Admin from './pages/Admin.jsx';
const routes = [
{
@@ -40,14 +38,6 @@ const routes = [
element: ,
title: 'Контакты',
},
- {
- path: '/admin',
- element: ,
- },
- {
- path: '/reduse',
- element: ,
- },
];
const router = createBrowserRouter([
diff --git a/Lab5/src/pages/Admin.jsx b/Lab5/src/pages/Admin.jsx
deleted file mode 100644
index 7cd520d..0000000
--- a/Lab5/src/pages/Admin.jsx
+++ /dev/null
@@ -1,52 +0,0 @@
-import { Button, Container, Table } from 'react-bootstrap';
-import { Link } from 'react-router-dom';
-
-const Admin = () => {
- return (
-
-
- Новости
-
-
-
-
-
- Дата добавления |
- Название |
- |
- |
-
-
-
-
- 13.10.23 |
- УлГТУ вошёл в топ-250 лучших вузов |
- |
- Удалить |
-
-
- 13.10.23 |
- “Мосты в будущее” будут видны из УлГТУ |
- |
- Удалить |
-
-
- 27.10.23 |
- Поправки в системе работы приёмной комиссии |
- |
- Удалить |
-
-
- 27.10.23 |
- Студенты возвращаются к учёбе после зимней сессии позже, чем раньше |
- |
- Удалить |
-
-
-
-
-
- );
-};
-
-export default Admin;
diff --git a/Lab5/src/pages/CartPage.jsx b/Lab5/src/pages/CartPage.jsx
deleted file mode 100644
index 3ca796c..0000000
--- a/Lab5/src/pages/CartPage.jsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import Cart from '../components/cart/Cart.jsx';
-
-const CartPage = () => {
- return (
-
- );
-};
-
-export default CartPage;
diff --git a/Lab5/src/pages/Page4.jsx b/Lab5/src/pages/Page4.jsx
index bfff490..8a23a7a 100644
--- a/Lab5/src/pages/Page4.jsx
+++ b/Lab5/src/pages/Page4.jsx
@@ -1,8 +1,26 @@
-import Lines from '../components/lines/table/Lines.jsx';
-
const Page4 = () => {
return (
-
+
+
+ Личный кабинет
+
+
+
);
};
diff --git a/Lab5/src/pages/Reduse.jsx b/Lab5/src/pages/Reduse.jsx
deleted file mode 100644
index b264c1e..0000000
--- a/Lab5/src/pages/Reduse.jsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import { Container, Form, Button } from 'react-bootstrap';
-
-const Reduse = () => {
- return (
-
-
- Новости
-
-
-
- Название новости
-
-
-
- Изображение
-
-
-
-
-
-
-
-
- );
-};
-
-export default Reduse;