Skip to content

Commit d9fb752

Browse files
✨ Add: Hero banner image to HeroSection and update image dimensions for improved layout
1 parent 9cef3dc commit d9fb752

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

components/DashboardV2/HeroSection.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ArrowRight } from "lucide-react";
55
import { useTheme } from "next-themes";
66
import Image from "next/image";
77
import Link from "next/link";
8-
8+
import banner from "@/public/hero-banner.png";
99
export const HeroSection = () => {
1010
const { theme } = useTheme();
1111
return (
@@ -59,11 +59,9 @@ export const HeroSection = () => {
5959
<div className="absolute top-2 lg:-top-8 left-1/2 transform -translate-x-1/2 w-[90%] mx-auto h-24 lg:h-80 bg-indigo-500/50 rounded-full blur-3xl"></div>
6060
<Image
6161
width={1200}
62-
height={1200}
62+
height={600}
6363
className="w-full md:w-[1200px] mx-auto rounded-3xl relative leading-none flex items-center border-[7px] border-secondary"
64-
src={
65-
"https://github.com/user-attachments/assets/434dfd4e-508d-468f-a42f-185672e4b1f4"
66-
}
64+
src={banner}
6765
alt="dashboard"
6866
/>
6967

public/hero-banner.png

201 KB
Loading

0 commit comments

Comments
 (0)