Skip to content

Commit

Permalink
Fixing missing image
Browse files Browse the repository at this point in the history
  • Loading branch information
YuxinZhang214 authored Nov 15, 2023
1 parent 2189869 commit b83393d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/Banner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import React, { useEffect, useState } from 'react';

import Image from 'next/image'
import { Divider } from '@chakra-ui/react'
import bannerConfig from '../common/config/banner';

Expand Down Expand Up @@ -87,7 +89,7 @@ const Banner: React.FC = () => {
<div className="col-span-2 row-span-5 flex flex-col items-start p-4">
{/* Logo */}
<div className="flex items-center m-1">
<img src={`${process.env.ASSET_PREFIX}/static/images/conjure-cp-logo.png`} alt="conjure-cp" className="w-16 h-16 " />
<Image src={`/static/images/conjure-cp-logo.png`} alt="conjure-cp" className="w-16 h-16 " />
<div className="text-xl font-semibold ml-4">
<a href="https://github.com/conjure-cp" target="_blank" rel="noopener noreferrer" className="hover:underline">
conjure-cp
Expand Down

0 comments on commit b83393d

Please sign in to comment.