File tree 3 files changed +22
-1
lines changed
3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
import Banner from '@/components/banner' ;
2
2
import Footer from '@/components/footer' ;
3
3
import { Icons } from '@/components/icons' ;
4
+ import ImageDisplay from '@/components/image-display' ;
4
5
import {
5
6
PageActions ,
6
7
PageHeader ,
@@ -39,7 +40,7 @@ const IndexPage = () => {
39
40
</ Link >
40
41
</ PageActions >
41
42
</ PageHeader >
42
-
43
+ < ImageDisplay />
43
44
< Banner />
44
45
</ div >
45
46
< Footer />
Original file line number Diff line number Diff line change
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 ;
You can’t perform that action at this time.
0 commit comments