Skip to content

Commit

Permalink
🔧 fix issue with images
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Burg committed Sep 4, 2023
1 parent 3b469de commit dc0ba7e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 29 deletions.
1 change: 0 additions & 1 deletion batcher-ui/Dockerfile.ghostnet
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ COPY ./utils ./utils
COPY ./src ./src
COPY ./styles ./styles
COPY ./public ./public
COPY ./img ./img
COPY ./config ./config
COPY ./postcss.config.js ./postcss.config.js
COPY ./next.config.js ./next.config.js
Expand Down
8 changes: 6 additions & 2 deletions batcher-ui/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import Image from 'next/image';
import MarigoldLogo from '../img/marigold-logo.png';

const Footer = () => (
<footer
Expand All @@ -15,7 +14,12 @@ const Footer = () => (
className="text-zinc-400">
©{new Date().getFullYear()} Copyright Marigold
</a>
<Image alt="Marigold Logo" src={MarigoldLogo} />
<Image
alt="Marigold Logo"
src="/marigold-logo.png"
height={32}
width={32}
/>
</div>

<div>
Expand Down
8 changes: 6 additions & 2 deletions batcher-ui/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { useEffect } from 'react';
import { useDispatch } from 'react-redux';
import Image from 'next/image';
import { connectedWallet, disconnectedWallet } from '.././src/actions';
import BatcherLogo from '../img/batcher-logo.png';
import { useWallet } from '.././contexts/wallet';
import Menu from './Menu';
import LinkComponent from './Link';
Expand Down Expand Up @@ -30,7 +29,12 @@ const NavBar = ({ isMenuOpen, setIsMenuOpen }: NavBarProps) => {
<>
<div className="flex flex-row justify-between font-custom border-b-4 border-lightgray border-solid bg-darkgray md:text-base">
<div className="flex gap-2 p-2 items-center">
<Image alt="Batcher Logo" src={BatcherLogo} height={32} />
<Image
alt="Batcher Logo"
src={'/batcher-logo.png'}
height={32}
width={64}
/>
<p>BATCHER</p>
<div className="hidden md:flex md:ml-8 md:items-center">
<LinkComponent path="/" title={'Swap'} />
Expand Down
24 changes: 0 additions & 24 deletions batcher-ui/img/marigold-logo.svg

This file was deleted.

File renamed without changes
File renamed without changes

0 comments on commit dc0ba7e

Please sign in to comment.