Skip to content

Commit

Permalink
fix(imports-for-images): fixed image imports
Browse files Browse the repository at this point in the history
  • Loading branch information
0xRowdy committed May 5, 2024
1 parent 9159817 commit 7e276b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 1 addition & 4 deletions app/reports/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import { fetchReports } from "@/lib/impact-reports";
import type { Report } from "@/types";
import Image from "next/image";

import hero from "@/public/hero_img.webp";

export default async function ReportsPage() {
let uniqueReports: Report[];
let numOfContributors: number;
Expand All @@ -33,9 +31,8 @@ export default async function ReportsPage() {
<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">
<Image
className="object-cover bg-center -z-10"
src={hero}
src={"/hero_img.webp"}
alt="Hero Image"
placeholder="blur"
fill
priority
/>
Expand Down
5 changes: 2 additions & 3 deletions components/global/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use client";
import { ArrowUpRight, Menu, Newspaper, X } from "lucide-react";
import Image from "next/image";
import Link from "next/link";

import { buttonVariants } from "@/components/ui/button";
import {
Expand All @@ -13,8 +14,6 @@ import {
} from "@/components/ui/drawer";
import { externalLinks } from "@/config/site";
import { cn } from "@/lib/utils";
import Logo from "@/public/logo.svg";
import Link from "next/link";
import { WalletProfile } from "./wallet-profile";

const Footer = () => {
Expand Down Expand Up @@ -64,7 +63,7 @@ const MobileFooter = () => {
className="h-10 w-10"
height={20}
width={20}
src={Logo}
src={"/logo.svg"}
alt="VoiceDeck Logo"
/>
</div>
Expand Down

0 comments on commit 7e276b2

Please sign in to comment.