File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments