diff --git a/frontend/public/images/event_emitter_eltex_loc-32px.png b/frontend/public/images/event_emitter_eltex_loc-32px.png new file mode 100644 index 0000000..3eb0281 Binary files /dev/null and b/frontend/public/images/event_emitter_eltex_loc-32px.png differ diff --git a/frontend/public/images/Сharacter_02.png b/frontend/public/images/Сharacter_02.png new file mode 100644 index 0000000..668060f Binary files /dev/null and b/frontend/public/images/Сharacter_02.png differ diff --git a/frontend/src/start-page/basement.module.css b/frontend/src/start-page/basement.module.css new file mode 100644 index 0000000..6f67659 --- /dev/null +++ b/frontend/src/start-page/basement.module.css @@ -0,0 +1,83 @@ +.basement { + display: flex; + flex-direction: row; + position: absolute; + left: 0px; + box-sizing: border-box; + width: 100%; + overflow: hidden; + background-color: #001826; + height: 330px; + border: 10px; + box-sizing: content-box; +} + +.basementGrid { + position: relative; + margin-left: 135px; + margin-right: 135px; + height: 100%; + width: 100%; + display: flex; + align-items: center; + flex-direction: row; + justify-content: space-between; +} + +.bottomContacts { + padding: .5em; +} + +.bottomContacts a:hover { + color: #fff; +} + +.discuss { + position: relative; + height: 100%; + display: flex; + align-items: center; + flex-direction: row; + justify-content: space-between; +} + +.discussButton { + background-color: #D9D9D9; + border-radius: 20px; + cursor: pointer; + display: block; + padding: 1px 30px; + line-height: normal; + font-size: 20px; +} + +.discussText { + font-size: 40px; + color: #001826; +} + +.discussText:hover { + color: #268ccc; +} + +.textBoxTextOrange { + --tw-text-opacity: 1; + color: #F5B14E; +} + +.eventEmitterEltexLoc { + vertical-align: middle; + height: 32px; + cursor: pointer; + transition: width 0.5s, height 0.5s; +} + +.eventEmitterEltexLocIcon { + vertical-align: middle; + height: 52px; + padding: 0em 15px 0px 0px; +} + +.character02 { + padding-left: 20px; +} \ No newline at end of file diff --git a/frontend/src/start-page/basement.tsx b/frontend/src/start-page/basement.tsx new file mode 100644 index 0000000..1bf12e4 --- /dev/null +++ b/frontend/src/start-page/basement.tsx @@ -0,0 +1,41 @@ +import React from 'react'; +import BasementCss from './basement.module.css'; +import { router } from '../router'; + +export type Props = { + contactUrl: string; + iconUrl: string; + characterUrl: string; +}; + +export const Basement = (props: Props): JSX.Element => { + console.debug('routes:', router.routes); // DEBUG + + return ( +
+
+
+ + event_emitter_eltex_loc + redmine-issue-event-emitter + +

Проект + Павел Гнедов +

+
+ +
+
+ +

ОБСУДИТЬ

+
+
+ Сharacter + +
+
+
+ ); +}; + +export default Basement; diff --git a/frontend/src/start-page/content.module.css b/frontend/src/start-page/content.module.css index f21c33e..33921be 100644 --- a/frontend/src/start-page/content.module.css +++ b/frontend/src/start-page/content.module.css @@ -1,6 +1,6 @@ .content { margin-left: 135px; - padding: 956px 0px 0px 0px; + padding: 956px 0px 40px 0px; max-width: 1170px; display: flex; flex-direction: column; diff --git a/frontend/src/start-page/start-page.tsx b/frontend/src/start-page/start-page.tsx index 68748fc..a054d79 100644 --- a/frontend/src/start-page/start-page.tsx +++ b/frontend/src/start-page/start-page.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import Basement from './basement'; import Content from './content'; import ContentBlock from './content-block'; import Cover from './cover'; @@ -94,6 +95,7 @@ export const StartPage = () => { + ); };