Skip to content

Commit

Permalink
Upgrading to Next.js 13 (#217)
Browse files Browse the repository at this point in the history
* Upgrading to Next.js 13

* Running legacy image codemod

* Adding the logo file.
  • Loading branch information
bepitulaz authored Dec 19, 2022
1 parent 7b101ba commit 7c89eb8
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 161 deletions.
7 changes: 1 addition & 6 deletions frontend/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ const Layout = ({ children }: iLayout) => {
<Navbar collapseOnSelect className="bg-light px-3 py-2" expand="lg">
<Navbar.Brand href="/">
<div className="d-flex justify-content-center d-md-none">
<Image
src={"/img/logo.png"}
layout="fixed"
width={100}
height={33}
/>
<Image alt="Tania logo" src={"/img/logo.png"} width={100} height={33} />
</div>
</Navbar.Brand>
<Navbar.Toggle />
Expand Down
7 changes: 1 addition & 6 deletions frontend/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ const Sidebar = (): JSX.Element => {
<Nav defaultActiveKey={router.pathname} className="flex-column">
<Nav.Link href="/">
<div className="d-flex justify-content-center py-3 mb-3">
<Image
src={"/img/logo.png"}
layout="fixed"
width={100}
height={33}
/>
<Image alt="Tania logo" src={"/img/logo.png"} width={100} height={33} />
</div>
</Nav.Link>
{navData &&
Expand Down
Loading

0 comments on commit 7c89eb8

Please sign in to comment.