+
+
+
{title}
-
-
{description}
-
-
+ className={styles.closeBtn}
+ data-cy="cookie-box-close"
+ >
+
+
+
+
+
{description}
+
+
);
diff --git a/src/components/Headline/Headline.module.scss b/src/components/Headline/Headline.module.scss
index fa728126..a2bc14bc 100644
--- a/src/components/Headline/Headline.module.scss
+++ b/src/components/Headline/Headline.module.scss
@@ -39,6 +39,12 @@
max-height: 100%;
.videoContainer {
+ position: absolute;
+ inset: 0;
+ pointer-events: none;
+ overflow: hidden;
+ z-index: -1;
+
.poster {
width: 100%;
height: 100%;
@@ -46,7 +52,6 @@
position: absolute;
top: 0;
left: 0;
- z-index: -1;
}
.video {
@@ -56,7 +61,6 @@
position: absolute;
top: 0;
left: 0;
- z-index: -1;
background-color: unset;
opacity: 0;
transition: opacity 300ms ease;
@@ -181,6 +185,22 @@
padding-top: 5px;
align-items: center;
+ a {
+ display: inline-flex;
+ transition:
+ opacity 0.2s ease,
+ transform 0.2s ease;
+
+ img {
+ transition: filter 0.2s ease;
+ }
+
+ &:hover {
+ opacity: 0.75;
+ transform: translateY(-2px);
+ }
+ }
+
.btn {
border-radius: 2px;
width: 100px;
@@ -208,6 +228,7 @@
.serenityBtn {
color: #fafafa;
}
+ background-image: url('/keepsimple_/assets/landingPage/dark-theme-bg.png');
.leaf {
filter: brightness(0) invert(1);
@@ -328,6 +349,7 @@
max-width: 100%;
height: 55vh;
position: relative;
+ overflow: hidden;
&::after {
content: '';
diff --git a/src/components/UsedBy/UsedBy.module.scss b/src/components/UsedBy/UsedBy.module.scss
index 8e3eb019..3da30558 100644
--- a/src/components/UsedBy/UsedBy.module.scss
+++ b/src/components/UsedBy/UsedBy.module.scss
@@ -28,8 +28,12 @@
}
&::before {
- background-image: url('/keepsimple_/assets/landingPage/usedByDark.png');
- background-size: cover;
+ background-image: url('/keepsimple_/assets/landingPage/dark.png');
+ // url('/keepsimple_/assets/landingPage/used-by-dark.png');
+ background-repeat: repeat, no-repeat;
+ background-size:
+ 560px 420px,
+ cover;
opacity: 1;
}
}
diff --git a/src/styles/globals.scss b/src/styles/globals.scss
index e7346fa8..d884ba19 100644
--- a/src/styles/globals.scss
+++ b/src/styles/globals.scss
@@ -110,7 +110,7 @@ body {
background: unset;
}
.keepsimplePagesDark {
- background-image: url('/keepsimple_/assets/landingPage/landing-dark-bg.webp') !important;
+ background-image: url('/keepsimple_/assets/landingPage/dark-theme-bg.png') !important;
background-repeat: repeat;
background-size: 560px 420px;
}
diff --git a/src/uxcore/components/OurProjectsModal/OurProjectsModal.module.scss b/src/uxcore/components/OurProjectsModal/OurProjectsModal.module.scss
index b372c3b5..f90f5e3e 100644
--- a/src/uxcore/components/OurProjectsModal/OurProjectsModal.module.scss
+++ b/src/uxcore/components/OurProjectsModal/OurProjectsModal.module.scss
@@ -99,6 +99,11 @@
.name {
color: #dadada !important;
}
+
+ .projectIcon,
+ .openLinkIcon {
+ filter: invert(1);
+ }
}
.description,
@@ -111,9 +116,25 @@
color: #dadada;
background-color: transparent;
+ .darkIcon {
+ display: none;
+ }
+
+ .lightIcon {
+ display: inline-block;
+ }
+
&:hover {
background-color: #dadada;
color: #1b1e26;
+
+ .darkIcon {
+ display: inline-block;
+ }
+
+ .lightIcon {
+ display: none;
+ }
}
}
}
diff --git a/src/uxcore/components/UXCorePopup/UXCorePopup.module.scss b/src/uxcore/components/UXCorePopup/UXCorePopup.module.scss
index 359a0950..89b212d3 100644
--- a/src/uxcore/components/UXCorePopup/UXCorePopup.module.scss
+++ b/src/uxcore/components/UXCorePopup/UXCorePopup.module.scss
@@ -20,10 +20,12 @@
font-size: 20px;
font-weight: 500;
margin: 5px 15px 15px 15px;
+ color: #252626;
}
.link {
font-size: 14px;
+ color: #1166cc;
}
.iconWrapper {
@@ -33,6 +35,23 @@
display: flex;
padding-right: 10px;
}
+
+ &.dark {
+ background: #1e2128;
+ border-color: #303338;
+
+ .title {
+ color: #dadada;
+ }
+
+ .link {
+ color: #8ab4f8;
+ }
+
+ .closeIcon {
+ filter: invert(1);
+ }
+ }
}
@keyframes fadeIn {
diff --git a/src/uxcore/components/UXCorePopup/UXCorePopup.tsx b/src/uxcore/components/UXCorePopup/UXCorePopup.tsx
index 2ed1e7d9..8f35c51b 100644
--- a/src/uxcore/components/UXCorePopup/UXCorePopup.tsx
+++ b/src/uxcore/components/UXCorePopup/UXCorePopup.tsx
@@ -1,11 +1,11 @@
+import podcast from '@uxcore/data/podcast';
+import useGlobals from '@uxcore/hooks/useGlobals';
+import type { TRouter } from '@uxcore/local-types/global';
+import cn from 'classnames';
import { useRouter } from 'next/router';
import React, { FC } from 'react';
import { Player } from 'react-simple-player/lib/components/Player';
-import type { TRouter } from '@uxcore/local-types/global';
-
-import podcast from '@uxcore/data/podcast';
-
import styles from './UXCorePopup.module.scss';
type UXCorePopupTypes = {
@@ -19,6 +19,7 @@ type UXCorePopupTypes = {
const UXCorePopup: FC
= ({ setOpenPodcast, openPodcast }) => {
const router = useRouter();
const { locale } = router as TRouter;
+ const { isDarkTheme } = useGlobals()[1];
const { title, source, link, podcastLink } = podcast[locale];
const closePopUp = () => {
setOpenPodcast(false);
@@ -27,7 +28,10 @@ const UXCorePopup: FC = ({ setOpenPodcast, openPodcast }) => {
return (
locale !== 'hy' &&
openPodcast && (
-
+

= ({ setOpenPodcast, openPodcast }) => {
{source}
-
+
>