Date: Fri, 22 Sep 2023 16:37:07 +0200
Subject: [PATCH 027/136] Adjusted bg dark mode
---
packages/client/components/layouts/Layout.tsx | 9 ++++++---
packages/client/components/ui/Dropdown.tsx | 2 +-
packages/client/components/ui/Menu.tsx | 10 ++++++----
packages/client/pages/_document.tsx | 10 +++++++++-
packages/client/pages/index.tsx | 4 +---
5 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/packages/client/components/layouts/Layout.tsx b/packages/client/components/layouts/Layout.tsx
index ec1a5b3e..ec955383 100644
--- a/packages/client/components/layouts/Layout.tsx
+++ b/packages/client/components/layouts/Layout.tsx
@@ -49,9 +49,12 @@ const Layout = ({ hideMetaDescription, children }: PropsWithChildren) => {
background: themeMode?.darkMode ? 'var(--bgFairLightMode)' : 'var(--bgStrongLightMode)',
}}
>
-
+
Powered with
diff --git a/packages/client/components/ui/Dropdown.tsx b/packages/client/components/ui/Dropdown.tsx
index 6c7eb6a6..67edb914 100644
--- a/packages/client/components/ui/Dropdown.tsx
+++ b/packages/client/components/ui/Dropdown.tsx
@@ -80,7 +80,7 @@ const Dropdown = ({ name, items }: Props) => {
className='p-1 md:p-3 rounded-md md:border'
style={{
background: themeMode?.darkMode ? 'var(--bgDarkMode)' : 'var(--white)',
- borderColor: themeMode?.darkMode ? 'var(--white)' : 'var(----darkGray)'
+ borderColor: themeMode?.darkMode ? 'var(--white)' : 'var(----darkGray)',
}}
>
{items.map(item => (
diff --git a/packages/client/components/ui/Menu.tsx b/packages/client/components/ui/Menu.tsx
index 007d02e9..1657dc4e 100644
--- a/packages/client/components/ui/Menu.tsx
+++ b/packages/client/components/ui/Menu.tsx
@@ -54,7 +54,7 @@ function Menu() {
);
};
diff --git a/packages/client/components/ui/Menu.tsx b/packages/client/components/ui/Menu.tsx
index 1657dc4e..efca56a1 100644
--- a/packages/client/components/ui/Menu.tsx
+++ b/packages/client/components/ui/Menu.tsx
@@ -94,7 +94,7 @@ function Menu() {
-
From a841d02a97e59fc1731e46f18e639926414e82e4 Mon Sep 17 00:00:00 2001
From: Marina Terentii <125751323+Artentii@users.noreply.github.com>
Date: Fri, 22 Sep 2023 17:05:53 +0200
Subject: [PATCH 029/136] Update ProgressTileBar.tsx
---
packages/client/components/ui/ProgressTileBar.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/client/components/ui/ProgressTileBar.tsx b/packages/client/components/ui/ProgressTileBar.tsx
index 75155755..2f592441 100644
--- a/packages/client/components/ui/ProgressTileBar.tsx
+++ b/packages/client/components/ui/ProgressTileBar.tsx
@@ -46,8 +46,8 @@ const ProgressTileBar = ({ tooltipContent, totalBlocks }: Props) => {
From 6157ff4b8db75515db5c61ca47df724808b0d546 Mon Sep 17 00:00:00 2001
From: Marina Terentii <125751323+Artentii@users.noreply.github.com>
Date: Mon, 25 Sep 2023 16:05:14 +0200
Subject: [PATCH 030/136] Footer component created and added to layout
---
packages/client/components/layouts/Footer.tsx | 41 +++++++++++++++++++
packages/client/components/layouts/Layout.tsx | 25 +----------
2 files changed, 43 insertions(+), 23 deletions(-)
create mode 100644 packages/client/components/layouts/Footer.tsx
diff --git a/packages/client/components/layouts/Footer.tsx b/packages/client/components/layouts/Footer.tsx
new file mode 100644
index 00000000..faf005fe
--- /dev/null
+++ b/packages/client/components/layouts/Footer.tsx
@@ -0,0 +1,41 @@
+import React from 'react';
+import Image from 'next/image';
+
+// Contexts
+import ThemeModeContext from '../../contexts/theme-mode/ThemeModeContext';
+
+// Images
+import FooterHeartImage from '../../public/static/images/footer/footer_heart.webp';
+
+const Footer = () => {
+ // Theme Mode Context
+ const { themeMode } = React.useContext(ThemeModeContext) ?? {};
+
+ return (
+
+ );
+};
+
+export default Footer;
diff --git a/packages/client/components/layouts/Layout.tsx b/packages/client/components/layouts/Layout.tsx
index ec955383..6dc244e9 100644
--- a/packages/client/components/layouts/Layout.tsx
+++ b/packages/client/components/layouts/Layout.tsx
@@ -6,6 +6,7 @@ import Image from 'next/image';
import Header from './Header';
import Consent from './Consent';
import Background from './Background';
+import Footer from './Footer';
// Contexts
import ThemeModeContext from '../../contexts/theme-mode/ThemeModeContext';
@@ -43,29 +44,7 @@ const Layout = ({ hideMetaDescription, children }: PropsWithChildren) => {
{children}
-
+
From 911af0198f6b1903cd9926c851819ca0580d314f Mon Sep 17 00:00:00 2001
From: Marina Terentii <125751323+Artentii@users.noreply.github.com>
Date: Mon, 25 Sep 2023 16:06:36 +0200
Subject: [PATCH 031/136] 404 page updated
---
packages/client/pages/404.tsx | 66 ++++++++++--------
.../public/static/images/error/404.webp | Bin 16078 -> 0 bytes
.../public/static/images/error/404_dark.webp | Bin 0 -> 21922 bytes
.../public/static/images/error/404_light.webp | Bin 0 -> 16164 bytes
.../static/images/error/error-dark.webp | Bin 0 -> 8046 bytes
.../static/images/error/error-light.webp | Bin 0 -> 8044 bytes
.../public/static/images/error/ghost_404.webp | Bin 28098 -> 0 bytes
7 files changed, 38 insertions(+), 28 deletions(-)
delete mode 100644 packages/client/public/static/images/error/404.webp
create mode 100644 packages/client/public/static/images/error/404_dark.webp
create mode 100644 packages/client/public/static/images/error/404_light.webp
create mode 100644 packages/client/public/static/images/error/error-dark.webp
create mode 100644 packages/client/public/static/images/error/error-light.webp
delete mode 100644 packages/client/public/static/images/error/ghost_404.webp
diff --git a/packages/client/pages/404.tsx b/packages/client/pages/404.tsx
index c8efdf7c..86bdf202 100644
--- a/packages/client/pages/404.tsx
+++ b/packages/client/pages/404.tsx
@@ -1,46 +1,56 @@
import React from 'react';
import Link from 'next/link';
import Head from 'next/head';
+import Header from '../components/layouts/Header';
+import Footer from '../components/layouts/Footer';
// Components
import CustomImage from '../components/ui/CustomImage';
+//Context
+import ThemeModeContext from '.././contexts/theme-mode/ThemeModeContext';
+
const NotFoundPage = () => {
+ // Theme Mode Context
+ const { themeMode } = React.useContext(ThemeModeContext) ?? {};
+
return (
<>
-