diff --git a/src/containers/App/index.tsx b/src/containers/App/index.tsx
index 30620da..dad64ab 100644
--- a/src/containers/App/index.tsx
+++ b/src/containers/App/index.tsx
@@ -1,4 +1,3 @@
-import { useEffect } from 'react';
import { HelmetProvider } from 'react-helmet-async';
import LanguageProvider from '../LanguageProvider';
import { localeSelector } from '../LanguageProvider/intlSlice';
@@ -10,11 +9,6 @@ import 'twin.macro';
function App() {
const locale = useAppSelector(state => localeSelector(state));
-
- useEffect(()=>{
- const htmlElement = document.documentElement;
- if(htmlElement && !htmlElement.classList.contains('dark')) htmlElement.classList.add('dark');
- })
return (
diff --git a/src/containers/LandingPage/index.tsx b/src/containers/LandingPage/index.tsx
index db6beae..4ac2810 100644
--- a/src/containers/LandingPage/index.tsx
+++ b/src/containers/LandingPage/index.tsx
@@ -7,6 +7,7 @@ import LandingPageOwnTheYardSection from '../../components/LandingPageOwnTheYard
import LandingPageOwnTheYardSectionMobile from '../../components/LandingPageOwnTheYardSectionMobile';
import MainContainer from '../../components/MainContainer';
import { useMediaQuery } from '../../hooks';
+
const LandingPage = () => {
const { isMobile } = useMediaQuery();
return (
diff --git a/src/containers/Navigation/index.tsx b/src/containers/Navigation/index.tsx
index 4033f3e..0f41a29 100644
--- a/src/containers/Navigation/index.tsx
+++ b/src/containers/Navigation/index.tsx
@@ -2,14 +2,17 @@
import { Link } from 'react-router-dom';
import { LogoDarkWo } from '../../assets/images';
+import { TwitterIcon } from '../../assets/icons';
import {
BrandContainer,
Brand,
NavigationLinksContainer,
- NavigationBar
+ NavigationBar,
+ BlackFillWrapperForSVG
} from './types';
import { useAnimateNav } from '../../hooks';
import Button from '../../components/Button';
+
import 'twin.macro'
const Navigation = () => {
@@ -26,8 +29,11 @@ const Navigation = () => {
-
diff --git a/src/containers/Navigation/types.ts b/src/containers/Navigation/types.ts
index 57b127f..6736c32 100644
--- a/src/containers/Navigation/types.ts
+++ b/src/containers/Navigation/types.ts
@@ -1,5 +1,10 @@
import tw, { styled } from 'twin.macro';
+export const BlackFillWrapperForSVG = styled.span`
+ svg path {
+ ${tw`fill-pretu`}
+ }
+`
export const BrandContainer = styled.div`
display: flex;