generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ewPage Profile view page added.
- Loading branch information
Showing
28 changed files
with
1,300 additions
and
23 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.App { | ||
text-align: center; | ||
/*for footer correct work*/ | ||
/* min-height: 100vh; | ||
flex-direction: column; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
FrontEnd/src/components/ProfileView/ProfileMenu/ProfileInfo/ProfileInfo.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import classes from "./ProfileInfo.module.css"; | ||
|
||
const dataItems = [ | ||
{ | ||
title: "Рік заснування", | ||
text: "2016", | ||
}, | ||
{ | ||
title: "Розмір компанії", | ||
text: "250 працівників", | ||
}, | ||
{ | ||
title: "Аудит", | ||
text: "Назва аудиту", | ||
}, | ||
]; | ||
|
||
const ProfileInfo = ({ dataItems }) => { | ||
|
||
return ( | ||
<div className={classes["profile-info-block"]}> | ||
<div className={classes["profile-info-block__main"]}> | ||
<div className={classes["profile-info-block__main-content"]}> | ||
<div className={classes["profile-info-block__main-content-data"]}> | ||
<div className={classes["profile-info-block__main-content-bold-title"]}>ЄДРПОУ</div> | ||
<div className={classes["profile-info-block__main-content-text"]}>11223344</div> | ||
</div> | ||
<div> | ||
{dataItems.map((item, index) => ( | ||
<div key={index} className={classes["profile-info-block__main-content-data"]}> | ||
<div className={classes["profile-info-block__main-content-title"]}> | ||
{item.title} | ||
</div> | ||
<div className={classes["profile-info-block__main-content-text"]}> | ||
{item.text} | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
<div className={classes["profile-info-block__main-content"]}> | ||
<div className={classes["profile-info-block__main-content-data2"]}> | ||
<div className={classes["profile-info-block__main-content-title"]}>Сайт</div> | ||
<div className={classes["profile-info-block__main-content-url"]}>stakhovskywines.com</div> | ||
</div> | ||
<div className={classes["profile-info-block__main-content-data"]}> | ||
<div className={classes["profile-info-block__main-content-title"]}>Телефон</div> | ||
<div className={classes["profile-info-block__main-content-text"]}>201232323236</div> | ||
<div className={classes["profile-info__button"]}> | ||
<div className={classes["profile-info__button-text"]}>Показати телефон</div> | ||
</div> | ||
</div> | ||
<div className={classes["profile-info-block__main-content-data"]}> | ||
<div className={classes["profile-info-block__main-content-title"]}>Електронна пошта</div> | ||
<div className={classes["profile-info-block__main-content-text"]}>2232323232323</div> | ||
<div className={classes["profile-info__button"]}> | ||
<div className={classes["profile-info__button-text"]}>Показати ел. пошту</div> | ||
</div> | ||
</div> | ||
<div className={classes["profile-info-block__main-content-data2"]}> | ||
<div className={classes["profile-info-block__main-content-title"]}>Адрес(и)</div> | ||
<div className={classes["profile-info-block__main-content-text"]}> | ||
Офіс: | ||
90260, Україна, Закарпатська обл., | ||
Берегівський р-н,с. Мужієво, | ||
</div> | ||
</div> | ||
<div className={classes["profile-info-block__main-content-data2"]}> | ||
<div className={classes["profile-info-block__main-content-title"]}>Соціальні мережі</div> | ||
<div className={classes["profile-info-block__main-content-icons"]}> | ||
<img src={`${process.env.PUBLIC_URL}/svg/facebook.svg`} alt="facebook"/> | ||
<img src={`${process.env.PUBLIC_URL}/svg/instagram.svg`} alt="instagram"/> | ||
</div> | ||
</div> | ||
<div className={classes["profile-info-block__main-content-data"]}> | ||
<div className={classes["profile-info-block__main-content-title"]}>Співпрацюємо з </div> | ||
<div className={classes["profile-info-block__main-content-text"]}>Сільпо, Rozetka, Бюро Вин</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ProfileInfo; |
120 changes: 120 additions & 0 deletions
120
FrontEnd/src/components/ProfileView/ProfileMenu/ProfileInfo/ProfileInfo.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
:root { | ||
--dark-gray: #292E32; | ||
--white: #F8F8F8; | ||
--blue: #4A73E2; | ||
--green: #1F9A7C; | ||
|
||
} | ||
|
||
.profile-info-block { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 16px; | ||
position: absolute; | ||
left: 930px; | ||
} | ||
.profile-info-block__main { | ||
display: flex; | ||
padding: 16px; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 36px; | ||
border-radius: 2px; | ||
border: 1px solid var(--white); | ||
background: var(--white); | ||
} | ||
.profile-info-block__main-content { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 6px; | ||
} | ||
.profile-info-block__main-content-data { | ||
display: flex; | ||
height: 32px; | ||
align-items: center; | ||
gap: 8px; | ||
} | ||
.profile-info-block__main-content-data2 { | ||
display: flex; | ||
align-items: center; | ||
gap: 8px; | ||
} | ||
.profile-info-block__main-content-bold-title { | ||
width: 130px; | ||
color: var(--dark-gray); | ||
font-feature-settings: 'calt' off; | ||
font-family: Inter, sans-serif; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 22px; /* 157.143% */ | ||
letter-spacing: -0.14px; | ||
} | ||
.profile-info-block__main-content-title { | ||
width: 130px; | ||
color: var(--dark-gray); | ||
font-feature-settings: 'calt' off; | ||
font-family: Inter, sans-serif; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 22px; /* 157.143% */ | ||
letter-spacing: -0.14px; | ||
} | ||
.profile-info-block__main-content-text { | ||
width: 200px; | ||
color: var(--dark-gray); | ||
font-feature-settings: 'calt' off; | ||
font-family: Inter, sans-serif; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 22px; /* 157.143% */ | ||
letter-spacing: -0.14px; | ||
} | ||
.profile-info-block__main-content-url { | ||
width: 200px; | ||
color: var(--blue); | ||
font-feature-settings: 'calt' off; | ||
font-family: Inter, sans-serif; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 22px; /* 157.143% */ | ||
letter-spacing: -0.14px; | ||
} | ||
|
||
.profile-info__button { | ||
display: flex; | ||
width: 160px; | ||
/* height: 32px; */ | ||
max-width: 200px; | ||
padding: 5px 15px; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 4px; | ||
border-radius: 4px; | ||
border: 1px solid var(--green); | ||
background: var(--white); | ||
position: absolute; | ||
left: 154px; | ||
} | ||
.profile-info__button-text { | ||
flex: 1 0 0; | ||
color: var(--green); | ||
text-align: center; | ||
font-feature-settings: 'calt' off; | ||
font-family: Inter, sans-serif; | ||
font-size: 16px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 20px; /* 125% */ | ||
letter-spacing: -0.16px; | ||
} | ||
.profile-info-block__main-content-icons { | ||
width: 24px; | ||
height: 24px; | ||
display: flex; | ||
} |
24 changes: 24 additions & 0 deletions
24
FrontEnd/src/components/ProfileView/ProfileMenu/ProfileMenu.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import classes from "./ProfileMenu.module.css"; | ||
import ProfileMenuAbout from "./ProfileMenuAbout/ProfileMenuAbout"; | ||
import ProfileMenuStartupName from "./ProfileMenuStartup/ProfileMenuStartup"; | ||
import ProfileMenuServices from "./ProfileMenuServices/ProfileMenuServices"; | ||
import ProfileMenuLogistics from "./ProfileMenuLogistics/ProfileMenuLogistics"; | ||
import ProfileMenuCooperation from "./ProfileMenuCooperation/ProfileMenuCooperation"; | ||
import ProfileInfo from "./ProfileInfo/ProfileInfo"; | ||
|
||
const ProfileMenu = () => { | ||
return ( | ||
<div className={classes["profile-menu-main-block"]}> | ||
<div className={classes["profile-menu-main"]}> | ||
<ProfileMenuAbout /> | ||
<ProfileMenuStartupName /> | ||
<ProfileMenuServices /> | ||
<ProfileMenuLogistics /> | ||
<ProfileMenuCooperation /> | ||
</div> | ||
<ProfileInfo /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ProfileMenu; |
11 changes: 11 additions & 0 deletions
11
FrontEnd/src/components/ProfileView/ProfileMenu/ProfileMenu.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.profile-menu-main-block { | ||
display: flex; | ||
align-items: flex-start; | ||
gap: 134px; | ||
} | ||
.profile-menu-main-block { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 16px; | ||
} |
44 changes: 44 additions & 0 deletions
44
FrontEnd/src/components/ProfileView/ProfileMenu/ProfileMenuAbout/ProfileMenuAbout.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import classes from "./ProfileMenuAbout.module.css"; | ||
import { profileInfo } from "../ProfileText.jsx"; | ||
|
||
const ProfileMenuAbout = () => { | ||
return ( | ||
<div id="about-company" className={classes["profile-menu-main__about"]}> | ||
<div className={classes["profile-menu-main__about-title"]}> | ||
<div className={classes["profile-menu-main__about-title-block"]}> | ||
<div className={classes["profile-menu-main__about-title-text"]}>ПРО КОМПАНІЮ</div> | ||
</div> | ||
<div className={classes["profile-menu-divider"]}/> | ||
</div> | ||
<div className={classes["profile-menu-main__about-content"]}> | ||
<div className={classes["profile-menu-main__about-first-text"]}> | ||
{profileInfo.sections[0].about1} | ||
<span className={classes["profile-menu-more-text"]}> | ||
{profileInfo.more} | ||
</span> | ||
</div> | ||
<div className={classes["profile-menu-main__about-second-text-block"]}> | ||
<div className={classes["profile-menu-main__about-second-title"]}> | ||
Конкурентна перевага | ||
</div> | ||
<div className={classes["profile-menu-main__about-second-text"]}> | ||
{profileInfo.sections[0].about2} | ||
<span className={classes["profile-menu-more-text"]}> | ||
{profileInfo.more} | ||
</span> | ||
</div> | ||
</div> | ||
<div className={classes["profile-menu-main__about-second-text-block"]}> | ||
<div className={classes["profile-menu-main__about-second-title"]}> | ||
Візія, слоган | ||
</div> | ||
<div className={classes["profile-menu-main__about-third-text"]}> | ||
{profileInfo.sections[0].about3} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ProfileMenuAbout; |
Oops, something went wrong.