Skip to content

Commit 676c408

Browse files
committed
Add hero images to the page
1 parent 549a03c commit 676c408

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

app/page.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import AcmeLogo from '@/app/ui/acme-logo';
33
import { ArrowRightIcon } from '@heroicons/react/24/outline';
44
import Link from 'next/link';
55
import { lusitana } from '@/app/ui/fonts';
6+
import Image from 'next/image';
67

78
export default function Page() {
89
return (
@@ -31,6 +32,20 @@ export default function Page() {
3132
</div>
3233
<div className="flex items-center justify-center p-6 md:w-3/5 md:px-28 md:py-12">
3334
{/* Add Hero Images Here */}
35+
<Image
36+
src="/hero-desktop.png"
37+
width={1000}
38+
height={760}
39+
className="hidden md:block"
40+
alt="Screenshots of the dashboard project showing desktop version"
41+
/>
42+
<Image
43+
src="/hero-mobile.png"
44+
width={560}
45+
height={620}
46+
className="block md:hidden"
47+
alt="Screenshots of the dashboard project showing mobile version"
48+
/>
3449
</div>
3550
</div>
3651
</main>

0 commit comments

Comments
 (0)