Skip to content

Commit 7e276b2

Browse files
committed
fix(imports-for-images): fixed image imports
1 parent 9159817 commit 7e276b2

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

app/reports/page.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { fetchReports } from "@/lib/impact-reports";
77
import type { Report } from "@/types";
88
import Image from "next/image";
99

10-
import hero from "@/public/hero_img.webp";
11-
1210
export default async function ReportsPage() {
1311
let uniqueReports: Report[];
1412
let numOfContributors: number;
@@ -33,9 +31,8 @@ export default async function ReportsPage() {
3331
<header className="relative overflow-hidden w-full flex flex-col justify-end max-w-screen-xl min-[2560px]:max-w-screen-2xl h-[420px] 2xl:h-[520px] min-[2560px]:h-[720px] text-vd-beige-100 rounded-3xl p-4 md:p-8 2xl:p-16">
3432
<Image
3533
className="object-cover bg-center -z-10"
36-
src={hero}
34+
src={"/hero_img.webp"}
3735
alt="Hero Image"
38-
placeholder="blur"
3936
fill
4037
priority
4138
/>

components/global/footer.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"use client";
22
import { ArrowUpRight, Menu, Newspaper, X } from "lucide-react";
33
import Image from "next/image";
4+
import Link from "next/link";
45

56
import { buttonVariants } from "@/components/ui/button";
67
import {
@@ -13,8 +14,6 @@ import {
1314
} from "@/components/ui/drawer";
1415
import { externalLinks } from "@/config/site";
1516
import { cn } from "@/lib/utils";
16-
import Logo from "@/public/logo.svg";
17-
import Link from "next/link";
1817
import { WalletProfile } from "./wallet-profile";
1918

2019
const Footer = () => {
@@ -64,7 +63,7 @@ const MobileFooter = () => {
6463
className="h-10 w-10"
6564
height={20}
6665
width={20}
67-
src={Logo}
66+
src={"/logo.svg"}
6867
alt="VoiceDeck Logo"
6968
/>
7069
</div>

0 commit comments

Comments
 (0)