Skip to content

Commit 3d6e242

Browse files
committed
✨ feat : Create an intro page layout
You've created an intro page layout to introduce your web page Related issue: YJU-OKURA#45
1 parent 820220a commit 3d6e242

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

src/app/intro/page.tsx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
'use client';
2+
import {introImg} from '@/public/svgs/intro';
3+
import {useState} from 'react';
4+
import Image from 'next/image';
5+
import Login from './component/login';
6+
7+
export default function Page() {
8+
const [isOpen, setIsOpen] = useState(false);
9+
10+
const openModal = () => {
11+
setIsOpen(true);
12+
};
13+
14+
const onClose = () => {
15+
setIsOpen(false);
16+
};
17+
return (
18+
<main className="flex min-h-screen flex-col items-center p-24">
19+
<div className="text-5xl font-semibold text-center">
20+
Make your collateral more efficient, <br /> more accessible.
21+
</div>
22+
<div className="m-4 font-semibold text-gray-500">
23+
Minori makes it easier and more efficient to analyze data with LLM.
24+
</div>
25+
<div>
26+
<Image src={introImg} width={500} height={500} alt="mainImg" />
27+
</div>
28+
<button
29+
onClick={openModal}
30+
className="bg-indigo-600 text-white py-2 px-7 rounded-3xl"
31+
>
32+
Get Start
33+
</button>
34+
{isOpen && <Login onClose={onClose} />}
35+
</main>
36+
);
37+
}

0 commit comments

Comments
 (0)