diff --git a/public/images/Safenet/Safenet-logo.svg b/public/images/Safenet/Safenet-logo.svg index 1a66406d..7696d83e 100644 --- a/public/images/Safenet/Safenet-logo.svg +++ b/public/images/Safenet/Safenet-logo.svg @@ -1,3 +1,3 @@ - - + + diff --git a/src/components/Safenet/Architecture/index.tsx b/src/components/Safenet/Architecture/index.tsx index 558376d2..0b9d6664 100644 --- a/src/components/Safenet/Architecture/index.tsx +++ b/src/components/Safenet/Architecture/index.tsx @@ -24,7 +24,6 @@ const Architecture = () => { setActiveStep((prevActiveStep) => prevActiveStep - 1) } - console.log('activeStep', activeStep, (activeStep - 1) * 400) return (
diff --git a/src/components/Safenet/Layout/index.tsx b/src/components/Safenet/Layout/index.tsx index 00801134..a1141632 100644 --- a/src/components/Safenet/Layout/index.tsx +++ b/src/components/Safenet/Layout/index.tsx @@ -1,11 +1,12 @@ import { type ReactElement } from 'react' import Header from '@/components/common/Header' import Footer from '@/components/common/Footer' +import SafenetLogo from '@/public/images/Safenet/Safenet-logo.svg' import css from './styles.module.css' const SafenetLayout = ({ children }: { children: ReactElement }): ReactElement => (
-
+
{children} diff --git a/src/components/common/Header/index.tsx b/src/components/common/Header/index.tsx index 9884435a..a2680252 100644 --- a/src/components/common/Header/index.tsx +++ b/src/components/common/Header/index.tsx @@ -1,4 +1,4 @@ -import { useState } from 'react' +import { type ComponentType, useState } from 'react' import { Accordion, AccordionDetails, AccordionSummary, Button, ButtonBase } from '@mui/material' import NextLink from 'next/link' import clsx from 'clsx' @@ -15,7 +15,7 @@ import css from './styles.module.css' import NavigationButton from '@/components/common/Header/NavigationButton' import { useIsMediumScreen } from '@/hooks/useMaxWidth' -const Header = ({ customClass }: { customClass?: string }) => { +const Header = ({ customClass, AlternativeLogo }: { customClass?: string; AlternativeLogo?: ComponentType }) => { const [isBurgerOpen, setIsBurgerOpen] = useState(false) const [subMenuOpen, setSubMenuOpen] = useState(null) const isMediumScreen = useIsMediumScreen() @@ -34,9 +34,7 @@ const Header = ({ customClass }: { customClass?: string }) => { return (
-
- -
+
{!!AlternativeLogo ? : }