Skip to content

Commit

Permalink
🧹 Chore: Remove Icon component (final)
Browse files Browse the repository at this point in the history
• Weird error upon abstracting component to Icon component. Will fix later
  • Loading branch information
danielbakas committed Dec 23, 2023
1 parent 64796cf commit c6bec7d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/frontend/ui/components/molecules/NavBar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
import React from "react";
import Link from "next/link";
import { Nav, Navbar } from "react-bootstrap";
import Image from "next/image";
//* Local Imports
import useNavLinks from "@semantyk/frontend/hooks/useNavLinks";
import Icon from "@semantyk/frontend/ui/components/atoms/icons/Icon";
import icon from "@semantyk/app/icon.png";

//* Main
export default function NavBar() {
Expand All @@ -29,7 +30,8 @@ export default function NavBar() {
return (
<Navbar expand="sm" variant="dark">
<Navbar.Brand as={Link} href={"/"}>
<Icon size={40} title={"Semantyk"}/>
<Image src={icon} alt="Semantyk" title="Semantyk" height="40"
width="40"/>
</Navbar.Brand>
<Navbar.Toggle aria-controls="responsive-navbar-nav"/>
<Navbar.Collapse className="justify-content-between">
Expand Down

0 comments on commit c6bec7d

Please sign in to comment.