Skip to content

Commit 91ebbb0

Browse files
committed
update landing background
1 parent b20367b commit 91ebbb0

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

apps/web/app/page.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Link from 'next/link'
44
import Image from 'next/image'
55
import { ConnectButton } from '@instate/kit'
66
import { githubLink, notionDocLink, telegramLink } from '@/services/links'
7+
import midLanscape from '@/public/mid-landscape.png'
78

89
const Page = () => {
910
const linkTo = (url: string) => {
@@ -27,8 +28,12 @@ const Page = () => {
2728
<div className="relative flex-grow flex flex-row gap-4 md:mb-4">
2829
<div className="w-full md:w-1/2">
2930
{/* INSTATE PROTOCOL */}
30-
<div className="w-full h-full p-4 flex flex-col justify-center items-center bg-base-100 rounded-lg">
31-
<div className="flex flex-col gap-10">
31+
<div className="w-full h-full p-4 flex flex-col relative justify-center overflow-hidden shadow-xl items-center bg-base-100 rounded-lg" style={{
32+
backgroundImage: `url(${midLanscape.src})`,
33+
backgroundSize: 'cover',
34+
}}>
35+
<div className='w-full absolute top-0 h-full bg-slate-900 bg-opacity-40' />
36+
<div className="flex flex-col text-white gap-10 z-10">
3237
<h1 className="text-4xl md:text-6xl font-sans-display font-bold">
3338
Instate Protocol
3439
</h1>
@@ -92,7 +97,7 @@ const Page = () => {
9297
</div>
9398
</div>
9499
<div className="w-1/2 hidden md:flex">
95-
<div className="w-full h-full flex flex-col justify-center items-center bg-base-300 rounded-lg">
100+
<div className="w-full h-full flex flex-col justify-center items-center bg-base-300 shadow-xl rounded-lg">
96101
<div className=" flex flex-col gap-10">
97102
<h1 className="text-6xl font-sans-mono">🌐 InstateScan</h1>
98103
<h2 className="font-sans">

apps/web/public/mid-landscape.png

21.1 MB
Loading

0 commit comments

Comments
 (0)