Skip to content

Commit

Permalink
trying adding the trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
YuxinZhang214 authored Nov 15, 2023
1 parent b83393d commit f133aa4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/Banner.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
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 @@ -89,7 +87,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">
<Image src={`/static/images/conjure-cp-logo.png`} alt="conjure-cp" className="w-16 h-16 " />
<img src={`${process.env.ASSET_PREFIX || ''}/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 f133aa4

Please sign in to comment.