From a75a137e352d767e6643d038e645a606d6d2ea5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D0=B8=D1=88=D0=B8=D0=BD=D0=B0=29?= <Аришина)@DESKTOP-OUE59OV> Date: Wed, 20 Nov 2024 10:32:43 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B5=D1=80=D1=81=D1=82=D0=BA=D1=83=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cucumber-frontend/package-lock.json | 4 +++- cucumber-frontend/package.json | 4 +++- cucumber-frontend/src/App.css | 5 +++++ cucumber-frontend/src/App.tsx | 4 +++- cucumber-frontend/src/components/Header.tsx | 18 ++++++++++-------- cucumber-frontend/src/components/Layout.tsx | 8 ++++---- cucumber-frontend/src/index.css | 14 ++++++++++++++ cucumber-frontend/src/pages/Login.tsx | 7 ++++--- cucumber-frontend/src/pages/Profile.tsx | 15 +++++++++++++++ cucumber-frontend/src/pages/Register.tsx | 9 +++++---- cucumber-frontend/tailwind.config.js | 11 +++++++++++ 11 files changed, 77 insertions(+), 22 deletions(-) create mode 100644 cucumber-frontend/src/pages/Profile.tsx create mode 100644 cucumber-frontend/tailwind.config.js diff --git a/cucumber-frontend/package-lock.json b/cucumber-frontend/package-lock.json index 6f7f79a..8afc532 100644 --- a/cucumber-frontend/package-lock.json +++ b/cucumber-frontend/package-lock.json @@ -8,6 +8,7 @@ "name": "cucumber-frontend", "version": "0.1.0", "dependencies": { + "@ant-design/icons": "^5.5.1", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", @@ -24,7 +25,8 @@ "web-vitals": "^2.1.4" }, "devDependencies": { - "@types/react-dom": "^18.3.1" + "@types/react-dom": "^18.3.1", + "tailwindcss": "^3.4.14" } }, "node_modules/@adobe/css-tools": { diff --git a/cucumber-frontend/package.json b/cucumber-frontend/package.json index 9d2f3a3..3f98a71 100644 --- a/cucumber-frontend/package.json +++ b/cucumber-frontend/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { + "@ant-design/icons": "^5.5.1", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", @@ -43,6 +44,7 @@ ] }, "devDependencies": { - "@types/react-dom": "^18.3.1" + "@types/react-dom": "^18.3.1", + "tailwindcss": "^3.4.14" } } diff --git a/cucumber-frontend/src/App.css b/cucumber-frontend/src/App.css index 74b5e05..fbbbd0f 100644 --- a/cucumber-frontend/src/App.css +++ b/cucumber-frontend/src/App.css @@ -2,6 +2,11 @@ text-align: center; } +#main-content { + display: flex; + flex-direction: row; +} + .App-logo { height: 40vmin; pointer-events: none; diff --git a/cucumber-frontend/src/App.tsx b/cucumber-frontend/src/App.tsx index c00056a..f3bfa31 100644 --- a/cucumber-frontend/src/App.tsx +++ b/cucumber-frontend/src/App.tsx @@ -4,15 +4,17 @@ import { Navigate, Route, Routes } from 'react-router-dom'; import {LoginPage} from './pages/Login'; import {RegisterPage} from './pages/Register'; import {AppLayout} from './components/Layout'; +import { ProfilePage } from './pages/Profile'; function App() { return (