Skip to content

Commit

Permalink
fix icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Jh123x committed Jan 4, 2025
1 parent a8a36aa commit 5a6ca8f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const App = () => {
return (
<div className={`App ${isDarkMode ? "light-theme" : "dark-theme"}`}>
<Sidebar navToggle={navToggle} />

<div className="theme">
<div className="light-dark-mode">
<div className="left-content">
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Image from "next/image";
const Navigation = () => (
<NavigationStyled>
<div className="avatar">
<Image src={avatar.src} width={100} height={100} alt="" />
<Image src={avatar.src} width={100} height={200} alt="Avatar" />
</div>
<ul className="nav-items">
<li className="nav-item" key="Home">
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from "react";
import styled from "styled-components";
import Navigation from "./Navigation";

const Sidebar = ({ navToggle }) => (
const Sidebar = ({ navToggle }: { navToggle: boolean }) => (
<SidebarStyled className={navToggle ? "nav-toggle" : ""}>
<Navigation />
</SidebarStyled>
Expand Down

0 comments on commit 5a6ca8f

Please # to comment.