diff --git a/src/components/UI/ModalTiket/ModalTiket.js b/src/components/UI/ModalTiket/ModalTiket.js index 4ea05acc..8b1f817a 100644 --- a/src/components/UI/ModalTiket/ModalTiket.js +++ b/src/components/UI/ModalTiket/ModalTiket.js @@ -1,7 +1,21 @@ -import React from "react"; +import React, { useState } from "react"; import "./ModalTiket.scss"; +import creatorMock from "../../../images/avatarMoсkCreator.png"; +import avatarMock1 from "../../../images/avatarMoсk1.png"; +import avatarMock2 from "../../../images/avatarMoсk2.png"; +import category from "../../../images/category.png"; +import comments from "../../../images/comments.png"; +import files from "../../../images/files.png"; +import task from "../../../images/tasksMock.png"; + export const ModalTiket = ({ active, setActive }) => { + const [tiket] = useState({ + name: "Разработка трекера", + code: "PR - 2245", + creator: "Василий Тарасов", + }); + return (
); diff --git a/src/components/UI/ModalTiket/ModalTiket.scss b/src/components/UI/ModalTiket/ModalTiket.scss index 74f575df..11e6139a 100644 --- a/src/components/UI/ModalTiket/ModalTiket.scss +++ b/src/components/UI/ModalTiket/ModalTiket.scss @@ -10,16 +10,6 @@ align-items: center; justify-content: center; transform: scale(0); - - .colum { - .author { - } - .content { - } - - .workers { - } - } } .modal-tiket.active { @@ -27,10 +17,45 @@ } .modal-tiket__content { - padding: 20px; - width: 700px; - height: 400px; + height: 500px; background: #ffffff; border: 1px solid #dde2e4; border-radius: 8px; + display: flex; + flex-direction: row; + + .author { + padding: 25px 0 0 0; + border-radius: 8px 0 0 8px; + display: flex; + flex-direction: column; + align-items: center; + width: 76px; + background: #fbfbfb; + + a { + margin-bottom: 16px; + } + } + + .content { + display: flex; + flex-direction: column; + width: 600px; + + .title-project { + font-family: "LabGrotesque", sans-serif; + margin: 26px 0 0 21px; + font-weight: 700; + font-size: 16px; + + &__category { + margin-right: 17px; + } + } + } + + .workers { + width: 300px; + } } diff --git a/src/images/avatarMoсk1.png b/src/images/avatarMoсk1.png new file mode 100644 index 00000000..467e1de2 Binary files /dev/null and b/src/images/avatarMoсk1.png differ diff --git a/src/images/avatarMoсk2.png b/src/images/avatarMoсk2.png new file mode 100644 index 00000000..e51856fe Binary files /dev/null and b/src/images/avatarMoсk2.png differ diff --git a/src/images/avatarMoсkCreator.png b/src/images/avatarMoсkCreator.png new file mode 100644 index 00000000..9841cf0b Binary files /dev/null and b/src/images/avatarMoсkCreator.png differ diff --git a/src/images/category.png b/src/images/category.png new file mode 100644 index 00000000..98b4fa64 Binary files /dev/null and b/src/images/category.png differ diff --git a/src/images/comments.png b/src/images/comments.png new file mode 100644 index 00000000..f87be131 Binary files /dev/null and b/src/images/comments.png differ diff --git a/src/images/files.png b/src/images/files.png new file mode 100644 index 00000000..8f9d9567 Binary files /dev/null and b/src/images/files.png differ diff --git a/src/images/tasksMock.png b/src/images/tasksMock.png new file mode 100644 index 00000000..a2b736ca Binary files /dev/null and b/src/images/tasksMock.png differ diff --git a/src/images/watch.png b/src/images/watch.png new file mode 100644 index 00000000..5cbc3aef Binary files /dev/null and b/src/images/watch.png differ diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index b8b1fcef..00000000 --- a/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", // компилируем ts код в js код версии ES5 - "module": "esnext", - // для поддержки динамического импорта модулей - "allowSyntheticDefaultImports": true, - "jsx": "react" - } -} \ No newline at end of file