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.
- Loading branch information
Showing
75 changed files
with
3,243 additions
and
1,084 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -7,6 +7,4 @@ | |
/.env | ||
/.DS_Store | ||
__pycache__/ | ||
/authentication/migrations/ | ||
/profiles/migrations/ | ||
/FrontEnd/node_modules |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
//For authorization Page | ||
//Don't forget about | ||
//npm install validator | ||
//npm i [email protected] | ||
//npm install react-cookie | ||
//npm install react-hook-form | ||
//npm install @mui/material @emotion/react @emotion/styled | ||
import React from 'react'; | ||
import './App.css'; | ||
import { BrowserRouter, Routes, Route } from 'react-router-dom'; | ||
|
@@ -17,6 +10,7 @@ import ScrollToTopButton from './components/PrivacyPolicyPage/privacy/ScrollToTo | |
import TermsAndConditions from './components/terms-and-conditions-app/terms_conditions/TermsAndConditionsComponent'; | ||
import ProfilePage from './components/ProfilePage/ProfilePage'; | ||
import MainPage from './components/landing-page/MainPage'; | ||
import ProfileView from "./components/ProfileView/ProfileView"; | ||
|
||
|
||
function App() { | ||
|
@@ -31,6 +25,7 @@ function App() { | |
<Route path="/sign-up" element={<SignUpPage />} /> | ||
<Route path="/privacy-policy" element={<PrivacyPolicy />} /> | ||
<Route path="/terms-and-conditions" element={<TermsAndConditions />} /> | ||
<Route path="/profile-view" element={<ProfileView />} /> | ||
</Routes> | ||
<Footer /> | ||
<ScrollToTopButton /> | ||
|
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
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
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
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; |
Oops, something went wrong.