Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 073f141

Browse files
committedJul 9, 2024·
added : display image added
1 parent 4132877 commit 073f141

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed
 

‎public/dashboard1.webp

54.9 KB
Binary file not shown.

‎src/app/(app)/page.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Banner from '@/components/banner';
22
import Footer from '@/components/footer';
33
import { Icons } from '@/components/icons';
4+
import ImageDisplay from '@/components/image-display';
45
import {
56
PageActions,
67
PageHeader,
@@ -39,7 +40,7 @@ const IndexPage = () => {
3940
</Link>
4041
</PageActions>
4142
</PageHeader>
42-
43+
<ImageDisplay />
4344
<Banner />
4445
</div>
4546
<Footer />

‎src/components/image-display.tsx

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import Image from 'next/image';
2+
3+
const ImageDisplay = () => {
4+
return (
5+
<div className="flex items-center justify-center mb-20 bg-neutral-700 p-[16px] rounded-2xl relative ">
6+
<div className="absolute inset-x-0 bottom-0 h-40 w-full bg-gradient-to-b from-transparent via-white to-white dark:via-black/50 dark:to-black pointer-events-none"></div>
7+
<div className="rounded-2xl p-1 bg-black">
8+
<Image
9+
src="/dashboard1.webp"
10+
height={800}
11+
width={1440}
12+
alt="Dashboard"
13+
className="rounded-2xl p-2"
14+
/>
15+
</div>
16+
</div>
17+
);
18+
};
19+
20+
export default ImageDisplay;

0 commit comments

Comments
 (0)
Please sign in to comment.