diff --git a/src/Components/Header/style.module.scss b/src/Components/Header/style.module.scss index f2959e3..259659d 100644 --- a/src/Components/Header/style.module.scss +++ b/src/Components/Header/style.module.scss @@ -16,7 +16,7 @@ top: 0px; background-color: #fff; left: 0px; - z-index: 10; + z-index: 20; } &__logo { cursor: pointer; diff --git a/src/Components/HomePageAdmin/index.jsx b/src/Components/HomePageAdmin/index.jsx index ed005bf..8292045 100644 --- a/src/Components/HomePageAdmin/index.jsx +++ b/src/Components/HomePageAdmin/index.jsx @@ -5,7 +5,8 @@ import TableMeets from '../TableMeets/TableMeets' // import FetchUtils from "../utils/FetchUtils"; // import EditForm from "../edit/EditForm"; // import PostForm from "../post/PostForm"; - +// import GetMeets from '../get/Meets'; +import { useNavigate } from "react-router-dom"; const APIURL = '' // const events = [ @@ -32,12 +33,16 @@ const APIURL = '' // // Добавьте другие мероприятия сюда // ]; const HomePage = () => { + const navigate = useNavigate(); + const handleMeet = () => { + navigate('/adminMeets'); + } return ( <>
- +
diff --git a/src/Components/HomePageAdmin/style.module.scss b/src/Components/HomePageAdmin/style.module.scss index e3e3ef5..aae762e 100644 --- a/src/Components/HomePageAdmin/style.module.scss +++ b/src/Components/HomePageAdmin/style.module.scss @@ -5,11 +5,24 @@ } .muza { &__container { - height: 700px; + height: 400px; display: flex; align-items: center; flex-direction: column; width: 100%; + &_button { + margin-top: 200px; + border-radius: 15px; + background: var(--linear, #FD0); + width: 60%; + height: 130px; + color: #000; + font-family: Montserrat; + font-size: 40px; + font-style: normal; + font-weight: 400; + line-height: normal; + } } &__title { diff --git a/src/Components/MeetAuthPageAdmin/index.jsx b/src/Components/MeetAuthPageAdmin/index.jsx index 09f329a..5ea1bd5 100644 --- a/src/Components/MeetAuthPageAdmin/index.jsx +++ b/src/Components/MeetAuthPageAdmin/index.jsx @@ -14,6 +14,7 @@ import tg from '../../img/MeetPage/Telegram.png'; import book from '../../img/MeetPage/Book.png'; import * as React from 'react'; import Modal from '@mui/material/Modal'; +import newAvatarSecond from '../../img/AddUsers/newAvatar.png'; const style = { position: 'absolute', @@ -41,219 +42,77 @@ const MeetPage = () => {
- Интерактивная лекция «Управление инжиниринговыми проектами на базе вуза» - Психология -
clock Онлайн
-
globe 22 декабря, с 10:00 до 22:00 по Московскому времени
+ + +
clock
+
globe
-
+ +
+
+ +
+
+
- - Ссылка на мероприятие - СКАЧАТЬ ВИДЕО -
-
- Оставить вопрос - Оставьте вопрос первым + + +
+
О мероприятии
-
Известным спикером будут продемонстрированы основные механизмы психологического воздействия в политике, а также особенности восприятия общественно-политической информации. Слушатели смогут узнать, как следует противостоять манипулятивному воздействию, фейковой информации, а также порассуждать о том, возможно ли существование мира без обмана.
+
Специалист
-
-
-
avatar
- -
-
Иванов Иван Иванович
-
Психолог, таролог
-
+7 (888) 888 - 88 - 88
- exampl@ya.ru -
- -
-
-
Ссылки на материалы специалиста
-
- - - -
- -
-
- -
-
-
Комментарии
-
-
3 КОММЕНТАРИЯ
-
-
- avatar - -
-
- -
-
-
-
-
avatar
-
-
-
Дмитрий Кирсанов
-
4 мая 1990, 00:00
-
-
- Хорошее мероприятие, специалист знает свое дело -
-
-
-
-
avatar
-
-
-
Дмитрий Кирсанов
-
4 мая 1990, 00:00
-
-
- Хорошее мероприятие, специалист знает свое дело -
-
-
-
-
avatar
-
-
-
Дмитрий Кирсанов
-
4 мая 1990, 00:00
-
-
- Хорошее мероприятие, специалист знает свое дело -
-
-
-
-
avatar
-
-
-
Дмитрий Кирсанов
-
4 мая 1990, 00:00
-
-
- Хорошее мероприятие, специалист знает свое дело -
-
-
-
-
avatar
-
-
-
Дмитрий Кирсанов
-
4 мая 1990, 00:00
-
-
- Хорошее мероприятие, специалист знает свое дело -
-
-
-
-
avatar
-
-
-
Дмитрий Кирсанов
-
4 мая 1990, 00:00
-
-
- Хорошее мероприятие, специалист знает свое дело -
-
-
-
-
avatar
-
-
-
Дмитрий Кирсанов
-
4 мая 1990, 00:00
-
-
- Хорошее мероприятие, специалист знает свое дело -
-
-
-
-
- -
-
-
Еще мероприятия
- - - - - - - - - - - - - - - - - -
-
- - - -
Вопросы
-
+
-
-
Всего 1
-
-
-
-
avatar Дмитрий Кирсанов
-
Задача организации, в особенности же начало повседневной работы по формированию позиции обеспечивает актуальность приоретизации разума над эмоциями.
-
-
4 мая 1990, 00:00
-
like 0
+
+
+
+
+ +
- +
-
-
-
avatar Дмитрий Кирсанов
- -
- - +
+ + + + + +
-
-
- - -
+ +
+
+ +
+ + +
+ ) diff --git a/src/Components/MeetAuthPageAdmin/style.module.scss b/src/Components/MeetAuthPageAdmin/style.module.scss index c8b8b37..07afcbb 100644 --- a/src/Components/MeetAuthPageAdmin/style.module.scss +++ b/src/Components/MeetAuthPageAdmin/style.module.scss @@ -23,13 +23,14 @@ font-weight: 600; line-height: normal; text-align: left; + padding-left: 20px; } &_type { display: flex; margin-top: 25px; border-radius: 10px; border: 1px solid var(--gray_text, #888); - width: 110px; + width: 150px; height: 35px; justify-content: center; align-items: center; @@ -39,6 +40,7 @@ font-style: normal; font-weight: 400; line-height: normal; + padding-left: 20px; } &_status { margin-top: 40px; @@ -238,23 +240,30 @@ } &__link { margin-top: 30px; - color: #2C41FF; - font-family: Montserrat; - font-size: 20px; - font-style: normal; - font-weight: 400; - line-height: normal; - text-align: left; - } - &__ling_video { color: #000; font-family: Montserrat; font-size: 25px; font-style: normal; font-weight: 400; line-height: normal; - margin-top: 140px; - text-align: left; + width: 400px; + height: 80px; + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + padding-left: 20px; + } + &__link_video { + font-family: Montserrat; + font-size: 22px; + font-style: normal; + font-weight: 400; + line-height: normal; + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + width: 400px; + margin-top: 150px; + height: 50px; + padding-left: 20px; } } .newContainer { @@ -513,6 +522,7 @@ position: relative; } &_user { + &_img { margin-right: 25px; &_container { @@ -593,3 +603,570 @@ width: 140px; height: 40px; } +.time_input { + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + padding-left: 20px; +} +.status_input { + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + padding-left: 20px; +} +.select { + margin-right: 50px; + height: 35px; + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + width: 200px; + padding-left: 10px; + option { + padding-left: 10px; + } + &__container { + display: flex; + width: 93%; + margin-top: 30px; + } + } +.addUsers { + + + &__search { + margin-top: 150px; + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + height: 70px; + width: 100%; + font-family: Montserrat; + font-size: 22px; + font-style: normal; + font-weight: 400; + line-height: normal; + padding-left: 40px; + } +} +.profile { + &__container { + margin-top: 200px; + display: flex; + justify-content: space-between; + + + } + &__user { + &_img { + width: 180px; + height: 180px; + &_container { + display: flex; + flex-direction: column; + margin-right: 50px; + + + } + } + &_container { + display: flex; + width: 48%; + margin-bottom: 110px; + position: relative; + } + &_info_container { + text-align: left; + margin-top: 18px; + display: flex; + text-align: left; + flex-direction: column; + } + &_fullName { + color: #000; + font-family: Montserrat; + font-size: 26px; + font-style: normal; + font-weight: 600; + line-height: normal; + span { + color: #FD0; + } + + } + &_spaciality { + color: #000; + font-family: Montserrat; + font-size: 22px; + font-style: normal; + font-weight: 400; + line-height: normal; + margin-top: 25px; + } + &_socialMedia { + color: #000; + font-family: Montserrat; + font-size: 18px; + font-style: normal; + font-weight: 400; + line-height: normal; + margin-top: 25px; + } + &_email { + color: #000; + font-family: Montserrat; + font-size: 18px; + font-style: normal; + font-weight: 400; + line-height: normal; + margin-top: 25px; + } + &_role { + color: #000; + font-family: Montserrat; + font-size: 24px; + font-style: normal; + font-weight: 600; + line-height: normal; + margin-top: 20px; + } + &_progress { + &_container { + display: flex; + justify-content: center; + align-items: center; + margin-top: 20px; + } + &_line { + height: 2px; + width: 140%; + background: linear-gradient(90deg, #ffdd00,#d0d2d8); + padding: 0 30px 0 30px; + margin: 0 10px 0 10px; + } + } + } +} +.addUser { + + + &__cards_container { + display: flex; + justify-content: space-between; + margin-top: 120px; + flex-wrap: wrap; + + } + &__card { + + + &_container { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + width: 48%; + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + margin-bottom: 110px; + } + &_text { + color: #000; + font-family: Montserrat; + font-size: 24px; + font-style: normal; + font-weight: 400; + line-height: normal; + margin-top: 34px; + } + } +} +.round { + cursor: pointer; + border-radius: 80%; + height: 50px; + border: 1px solid var(--yellow, #FD0); + background: var(--yellow, #FD0); + width: 50px; + display: flex; + justify-content: center; + align-items: center; + color: #000; + font-family: Montserrat; + font-size: 36px; + font-style: normal; + font-weight: 400; + line-height: normal; +} +.feautures { + width: 90px; + position: absolute; + right: 0px; + bottom: 40px; + display: flex; + justify-content: center; + font-family: Montserrat; + align-items: center; + color: #60AD1E; + font-family: Montserrat; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: normal; + background: #E7FFD2; + height: 15px; + padding: 10px; + } + .permission { + + + &_container { + width: 40px; + height: 40px; + position: absolute; + right: 0px; + bottom: 40px; + } + &_img { + height: 100%; + width: 100%; + } + } + .delete { + + + &_container { + width: 40px; + height: 40px; + position: absolute; + top: 40px; + right: 0px; + } + &_img { + height: 100%; + width: 100%; + } + } +.addModal { + + + &__close { + cursor: pointer; + transform: rotate(-45deg); + position: absolute; + height: 96px; + height: 45px; + color: #000; + font-family: Montserrat; + font-size: 78.625px; + font-style: normal; + font-weight: 200; + line-height: normal; + top: 13px; + right: 50px; + } + &__title { + color: #000; + font-family: Montserrat; + font-size: 36px; + font-style: normal; + font-weight: 400; + line-height: normal; + } + &_form { + margin-top: 100px; + height: 100%; + width: 30%; + } + &_user { + border-radius: 7.794px; + border: 0.779px solid var(--gray_stroke, #D0D2D8); + height: 35px; + width: 200px; + margin-bottom: 12px; + text-align: center; + &_select { + border-radius: 7.794px; + border: 0.779px solid var(--gray_stroke, #D0D2D8); + height: 40px; + width: 210px; + margin-bottom: 12px; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + } + &_input_container { + justify-content: center; + align-items: center; + display: flex; + flex-direction: column; + margin-top: 100px; + margin-left: 10%; + } + &_container { + height: 96%; + + display: flex; + align-items: start; + } + } + +} +.input_file_row { + display: inline-block; + height: 100%; + +} +.input_file { + position: relative; + display: inline-block; +} +.addUser__card_container_new { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + width: 48%; + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + margin-bottom: 110px; + width: 100%; +} +.input_file span { + margin-top: 159px; + padding-top: 200px; + width: 200px; + position: relative; + display: inline-block; + cursor: pointer; + outline: none; + text-decoration: none; + font-size: 14px; + vertical-align: middle; + color: rgb(255 255 255); + text-align: center; + border-radius: 4px; + line-height: 22px; + height: 40px; + padding: 10px 20px; + box-sizing: border-box; + border: none; + margin: 0; + transition: background-color 0.2s; +} +.input_file input[type=file] { + position: absolute; + z-index: -1; + opacity: 0; + display: block; + width: 0; + height: 0; +} + +/* Focus */ +// .input_file input[type=file]:focus + span { +// box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); +// } + +/* Hover/active */ + + +/* Disabled */ + + +/* Список c превью */ +.input_file_list { + padding: 10px 0; +} +.input_file_list_item { + display: inline-block; + margin: 0 15px 15px; + width: 150px; + vertical-align: top; + position: relative; +} +.input_file_list_item img { + width: 150px; +} +.input_file_list_name { + text-align: center; + display: block; + font-size: 12px; + text-overflow: ellipsis; + overflow: hidden; +} +.input_file_list_remove { + color: #fff; + text-decoration: none; + display: inline-block; + position: absolute; + padding: 0; + margin: 0; + top: 5px; + right: 5px; + background: #ff0202; + width: 16px; + height: 16px; + text-align: center; + line-height: 16px; + border-radius: 50%; +} +.modal { + background-color: #fff; + position: absolute; + height: 400px; + width: 300px; + &__container { + position: absolute; + top: 0px; + height: 5000px; + width: 100%; + background-color: rgba(0, 0, 0, 0.40); + } + &__title { + color: #000; + font-family: Montserrat; + font-size: 48px; + font-style: normal; + font-weight: 400; + line-height: normal; + } + &__line { + height: 1px; + width: 100%; + stroke-width: 1px; + background-color: #D0D2D8; + width: 100%; + margin-top: 40px; + } + &__close { + cursor: pointer; + transform: rotate(-45deg); + position: absolute; + height: 96px; + height: 45px; + color: #000; + font-family: Montserrat; + font-size: 58.625px; + font-style: normal; + font-weight: 200; + line-height: normal; + top: 0px; + right: 50px; + } + &__question { + &_number { + margin-top: 50px; + color: #000; + font-family: Montserrat; + font-size: 32px; + font-style: normal; + font-weight: 600; + line-height: normal; + span { + color: #000; + font-family: Montserrat; + font-size: 32px; + font-style: normal; + font-weight: 400; + line-height: normal; + } + } + &_container { + margin-top: 60px; + display: flex; + justify-content: space-between; + } + &_containerSecond { + width: 48%; + height: 250px; + display: flex; + flex-direction: column; + position: relative; + } + &_user { + &_img { + margin-right: 25px; + &_container { + display: flex; + align-items:center; + color: #000; + font-family: Montserrat; + font-size: 24px; + font-style: normal; + font-weight: 400; + line-height: normal; + } + } + &_descr { + color: #000; + font-family: Montserrat; + font-size: 18px; + font-style: normal; + font-weight: 400; + line-height: normal; + margin-top: 25px; + } + } + &_time { + display: flex; + justify-content: center; + align-items: center; + &_container { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 20px; + } + } + &_like { + display: flex; + justify-content: center; + align-items: center; + margin: 5px 0 0 10px; + &_container { + display: flex; + justify-content: center; + align-items: center; + + } + } + &_input { + margin-top: 40px; + border-radius: 10px; + border: 1px solid var(--gray_stroke, #D0D2D8); + width: 100%; + height: 235px; + padding-top: 20px; + padding-left: 10px; + } + &_containerThird { + margin-right: 3%; + } + &_button { + &_container { + display: flex; + justify-content: center; + align-items: center; + } + } + } +} +.yellow { + border-radius: 10px; + background-color: #60AD1E; + width: 190px; + height: 50px; + margin-right: 30px; +} +.gray { + border-radius: 10px; + background: var(--gray_stroke, #D0D2D8); + width: 140px; + height: 40px; +} +.btn_contain { + margin-top: 40px; + margin-bottom: 30px; + display: flex; + justify-content: center; + align-items: center; +} \ No newline at end of file diff --git a/src/components/get/Meets.jsx b/src/components/get/Meets.jsx index 633d0f5..c6aef26 100644 --- a/src/components/get/Meets.jsx +++ b/src/components/get/Meets.jsx @@ -1,5 +1,5 @@ import React from 'react'; -import './style.css' + import styled from 'styled-components'; // import { HttpApiMethods } from '../utils/FetchUtils'; import {useState} from 'react' @@ -7,6 +7,9 @@ import EditMeetsForm from '../edit/EditMeetsForm'; import Grid from '@mui/material/Grid'; // import Card from '../Card'; import Box from '@mui/material/Box'; +import { HttpApiMethods } from '../utils/FetchUtils'; + +