Skip to content

Commit

Permalink
fix: image url
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jul 16, 2024
1 parent ca238e3 commit e10c755
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ export default function Header({ menu }: Props) {
return (
<div className="fixed w-full bg-white z-50 flex px-5 h-[60px]">
<Link href="/" className="mr-8 flex">
<Image src="/aelf-logo.svg" width={115} height={32} alt="logo"></Image>
<Image
src={`${process.env.SITE_URL}/aelf-logo.svg`}
width={115}
height={32}
alt="logo"
></Image>
</Link>
<Menu
className="w-full flex items-center"
Expand Down
7 changes: 6 additions & 1 deletion components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ export async function Footer() {
<footer className="bg-slate-100">
<div className="container p-8 lg:grid grid-cols-5 gap-4">
<div className="hidden lg:block">
<Image src="/aelf-logo.svg" width={115} height={32} alt="logo" />
<Image
src={`${process.env.SITE_URL}/aelf-logo.svg`}
width={115}
height={32}
alt="logo"
/>
</div>
{Object.keys(footerData).map((category) => (
<div key={category} className="mb-4">
Expand Down

0 comments on commit e10c755

Please sign in to comment.