+
+
404
+
+
+
Щось пішло не так
+
Схоже, це неправильна адреса, ця сторінка видалена, перейменована
або тимчасово недоступна.
diff --git a/FrontEnd/src/pages/ErrorPages/ErrorPage404.module.css b/FrontEnd/src/pages/ErrorPages/ErrorPage404.module.css
index b36b6dcd7..22aac1b6d 100644
--- a/FrontEnd/src/pages/ErrorPages/ErrorPage404.module.css
+++ b/FrontEnd/src/pages/ErrorPages/ErrorPage404.module.css
@@ -1,11 +1,12 @@
-.page {
- height: 800px;
+.ErrorPage404__page {
+ min-height: var(--min-height-block-main);
display: flex;
justify-content: center;
background: var(--primary-green-80, #1f9a7c);
+
}
-.container {
+.ErrorPage404__container {
display: flex;
align-items: center;
gap: 80px;
@@ -15,7 +16,7 @@
font-style: normal;
}
-.text404 {
+.ErrorPage404__text404 {
display: flex;
height: 178px;
flex-direction: column;
@@ -26,28 +27,28 @@
letter-spacing: -2px;
}
-.block {
+.ErrorPage404__block {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 36px;
}
-.explanation {
+.ErrorPage404__explanation {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 24px;
}
-.main-text {
+.ErrorPage404__main-text {
font-size: 48px;
font-weight: 700;
line-height: 120%;
letter-spacing: 0.48px;
}
-.details {
+.ErrorPage404__details {
width: 548px;
font-size: 16px;
font-weight: 400;
@@ -55,6 +56,6 @@
letter-spacing: -0.16px;
}
-.button-text {
+.ErrorPage404__button-text {
font-family: var(--font-main);
}
diff --git a/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.jsx b/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.jsx
index 3760e220b..4d1b6d3da 100644
--- a/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.jsx
+++ b/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.jsx
@@ -29,37 +29,45 @@ function ProfileDetailPage({ isAuthorized }) {
isLoading,
} = useSWR(urlProfile, fetcher);
- const notRequiredData = ['address', 'banner', 'logo', 'common_info', 'edrpou', 'rnokpp', 'founded', 'official_name', 'product_info', 'service_info', 'startup_idea', 'logistics', 'cooperation'];
- const containsNotRequiredData = fetchedProfile ? Object.keys(fetchedProfile).some(key => notRequiredData.includes(key) && fetchedProfile[key] !== '' && fetchedProfile[key] !== null) : false;
+ const notRequiredData = [
+ 'address', 'banner', 'logo', 'common_info', 'edrpou',
+ 'rnokpp', 'founded', 'official_name', 'product_info',
+ 'service_info', 'startup_idea', 'logistics', 'cooperation'
+ ];
+
+ const containsNotRequiredData = fetchedProfile ?
+ Object.keys(fetchedProfile).some(key => notRequiredData.includes(key) &&
+ fetchedProfile[key] !== '' &&
+ fetchedProfile[key] !== null) : false;
return (error && error.status !== 401) ? (
) : (
-
+
{isLoading ? (
) : (
-
-
);
diff --git a/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.module.css b/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.module.css
index 1403e9e27..a5a3bdbb7 100644
--- a/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.module.css
+++ b/FrontEnd/src/pages/ProfileDetail/ProfileDetailPage.module.css
@@ -1,28 +1,31 @@
-.loader-content {
- width: 1305px;
- margin-left: auto;
- margin-right: auto;
+.profile-detail__main {
+ display: flex;
+ flex-direction: column;
+ min-height: var(--min-height-block-main);
+ align-content: center;
+}
+
+.profile-detail__loader-content {
+ display: flex;
}
-.profile-page {
+.profile-detail__banner-tooltip {
+ display: flex;
+ position: absolute;
+ padding-top: 12px;
+ padding-left: 112px;
+}
+
+.profile-detail__page {
display: inline-flex;
flex-direction: column;
- align-items: flex-start;
+ align-items: center;
gap: 16px;
- margin-left: 104px;
- margin-right: 104px;
}
-.logo-tooltip{
+.profile-detail__logo-tooltip {
display: flex;
- position:absolute;
+ position: absolute;
padding-top: 5px;
padding-left: 3px;
}
-
-.banner-tooltip{
- display: flex;
- position:absolute;
- padding-top: 12px;
- padding-left: 112px;
-}
diff --git a/FrontEnd/src/pages/ProfileList/ProfileListPage.module.css b/FrontEnd/src/pages/ProfileList/ProfileListPage.module.css
index 816922a4c..dae96ee5a 100644
--- a/FrontEnd/src/pages/ProfileList/ProfileListPage.module.css
+++ b/FrontEnd/src/pages/ProfileList/ProfileListPage.module.css
@@ -2,6 +2,7 @@
min-height: 470px;
border-radius: 8px;
background: var(--wf-base-white, #fff);
+ flex-grow: 1;
}
.page-content {
diff --git a/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfileModal.module.css b/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfileModal.module.css
index 2c001fbef..8d59d822d 100644
--- a/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfileModal.module.css
+++ b/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfileModal.module.css
@@ -163,4 +163,4 @@
font-style: normal;
font-weight: 400;
line-height: 22px;
-}
\ No newline at end of file
+}
diff --git a/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfilePage.jsx b/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfilePage.jsx
index 58b8da18f..eef063fa3 100644
--- a/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfilePage.jsx
+++ b/FrontEnd/src/pages/ProfilePage/FormComponents/DeleteProfileComponent/DeleteProfilePage.jsx
@@ -14,7 +14,7 @@ const DeleteProfilePage = (props) => {
setModal(false);
};
return (
-
+
Видалити акаунт