From c003b0627daca6df278700bbb8126ba85493de08 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Tue, 18 Oct 2022 23:40:09 +0200 Subject: [PATCH] Img optimized --- components/Blog/Navigation.tsx | 9 ++++++--- pages/index.tsx | 18 ++++++++---------- styles/Blog/Navigation.module.scss | 1 + 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/components/Blog/Navigation.tsx b/components/Blog/Navigation.tsx index d0aeef9..596cb2c 100644 --- a/components/Blog/Navigation.tsx +++ b/components/Blog/Navigation.tsx @@ -1,19 +1,22 @@ /* eslint-disable @next/next/no-img-element */ import type { NextPage } from "next"; import Link from "next/link"; +import Image from "next/image"; import { TerminalWindow, House, User } from "phosphor-react"; import ThemeSwitch from "./ThemeSwitch"; import styles from "../../styles/Blog/Navigation.module.scss"; +import logo from "../../public/icon.png"; const Navigation: NextPage<{}> = () => { return