import '../style.scss';
import { Metadata } from 'next';
import PaperNav from '../_components/PaperNav';
import PaperTradeForm from '../_components/PaperTradeForm';
import PaperNotice from '../_components/PaperNotice';
import PaperAuthGate from '../_components/PaperAuthGate';

export const metadata: Metadata = {
	title: '모의투자 주문 — 개미투자',
	description: '종목을 검색해 매수·매도 주문을 접수합니다 (지연 체결형)'
};

export default function PaperTradePage()
{
	return (
		<div className='paper'>
			<div className='paper__head'>
				<h1 className='paper__title'>주문</h1>
				<span className='paper__subtitle'>종목 검색 후 매수·매도 주문을 접수하세요</span>
			</div>

			<PaperNav />

			<PaperAuthGate>
				<PaperTradeForm />
			</PaperAuthGate>

			<PaperNotice />
		</div>
	);
}
