Skip to content

Commit

Permalink
✨ feat : Create an intro page layout
Browse files Browse the repository at this point in the history
You've created an intro page layout to introduce your web page

Related issue: YJU-OKURA#45
  • Loading branch information
dorimu0 committed Feb 21, 2024
1 parent 820220a commit 3d6e242
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions src/app/intro/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
'use client';
import {introImg} from '@/public/svgs/intro';
import {useState} from 'react';
import Image from 'next/image';
import Login from './component/login';

export default function Page() {
const [isOpen, setIsOpen] = useState(false);

const openModal = () => {
setIsOpen(true);
};

const onClose = () => {
setIsOpen(false);
};
return (
<main className="flex min-h-screen flex-col items-center p-24">
<div className="text-5xl font-semibold text-center">
Make your collateral more efficient, <br /> more accessible.
</div>
<div className="m-4 font-semibold text-gray-500">
Minori makes it easier and more efficient to analyze data with LLM.
</div>
<div>
<Image src={introImg} width={500} height={500} alt="mainImg" />
</div>
<button
onClick={openModal}
className="bg-indigo-600 text-white py-2 px-7 rounded-3xl"
>
Get Start
</button>
{isOpen && <Login onClose={onClose} />}
</main>
);
}

0 comments on commit 3d6e242

Please sign in to comment.