From 52580d1ed1fb6eb9f3f3c7a681bee5e32b7c0901 Mon Sep 17 00:00:00 2001 From: Fermatka Date: Fri, 6 Sep 2024 13:15:31 +0200 Subject: [PATCH] logos update --- algrtm/public/EPR_Labs_logo_white_mono.svg | 1 + algrtm/public/EPR_Labs_logo_white_waves.svg | 1 + algrtm/src/components/LinksSection.js | 14 +++++++++++--- algrtm/src/components/Navbar.js | 8 +++++++- algrtm/src/components/PythonToolsSection.js | 2 +- 5 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 algrtm/public/EPR_Labs_logo_white_mono.svg create mode 100644 algrtm/public/EPR_Labs_logo_white_waves.svg diff --git a/algrtm/public/EPR_Labs_logo_white_mono.svg b/algrtm/public/EPR_Labs_logo_white_mono.svg new file mode 100644 index 00000000..7cf0bb44 --- /dev/null +++ b/algrtm/public/EPR_Labs_logo_white_mono.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/algrtm/public/EPR_Labs_logo_white_waves.svg b/algrtm/public/EPR_Labs_logo_white_waves.svg new file mode 100644 index 00000000..1d6b6637 --- /dev/null +++ b/algrtm/public/EPR_Labs_logo_white_waves.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/algrtm/src/components/LinksSection.js b/algrtm/src/components/LinksSection.js index 22e029f9..def6d672 100644 --- a/algrtm/src/components/LinksSection.js +++ b/algrtm/src/components/LinksSection.js @@ -2,6 +2,7 @@ import Link from "next/link"; import React from "react"; import SocialLinksSection from "./SocialLinksSection"; +import Image from "next/image"; const LinksSection = () => { return ( @@ -10,9 +11,16 @@ const LinksSection = () => {
{/* new logo */} -
-
-

EPR

+ +
+ EPR Labs logo white
We would love to make data science great again with machine diff --git a/algrtm/src/components/Navbar.js b/algrtm/src/components/Navbar.js index e008a324..ba7277cd 100644 --- a/algrtm/src/components/Navbar.js +++ b/algrtm/src/components/Navbar.js @@ -7,8 +7,10 @@ import Menu from "./icons/Menu"; import { usePathname } from "next/navigation"; import { useEffect, useState } from "react"; import Image from "next/image"; +import { useTheme } from "next-themes"; export default function Navbar() { + const { darkMode } = useTheme(); const [menuOpen, setMenuOpen] = useState(false); const pathname = usePathname(); const [selectedMenu, setSelectedMenu] = useState(""); @@ -47,7 +49,11 @@ export default function Navbar() { height={45} width={97.753} sizes="100vw" - src="/EPR_Labs_logo_color.svg" + src={ + darkMode + ? "/EPR_Labs_logo_color.svg" + : "/EPR_Labs_logo_white_waves.svg" + } alt="EPR Labs logo" className="" /> diff --git a/algrtm/src/components/PythonToolsSection.js b/algrtm/src/components/PythonToolsSection.js index a0ff0201..ca3f08f0 100644 --- a/algrtm/src/components/PythonToolsSection.js +++ b/algrtm/src/components/PythonToolsSection.js @@ -12,7 +12,7 @@ const PythonToolsSection = () => { {Object.values(pythonToolsData).map((tool, index) => (