@extends('views.layouts.master')
<link rel="stylesheet" href="{{ csset('/themes/point2u/pro/resources/css/blog-standard.css') }}">
@section('content')

<div class="sub qna qna_write">
	<div class="container">
		<div class="navi">
			<a href="/"><i class="fa-solid fa-house"></i> 홈</a> > 커뮤니티 > Q&A
		</div>
		<div class="title">
			<h2>Q&A</h2>
		</div>
	</div>
	<!--=====================================
	BANNER PART START
	=======================================-->
	<!-- 필요없으면 지움
	<section class="inner-section single-banner">
		<div class="container">
			<h2>1:1 상담</h2>
			<ol class="breadcrumb">
				<li class="breadcrumb-item"><a href="/">Home</a></li>
				<li class="breadcrumb-item active" aria-current="page">1:1 상담</li>
			</ol>
		</div>
	</section>
	-->
	<!--=====================================
	BANNER PART END
	=======================================-->

	<!--=====================================
		 BLOG DETAILS PART START
	=======================================-->
	<section class="inner-section blog-details-part qna-form">
		<div class="container">
			<div class="row">
				<div class="col-lg-6">
					<p>문의사항을 남겨주시면 빠른 시일 안에 답변을 드리겠습니다.</p>
					<form class="contact-form form-prevent-multiple-submits" action="{{ route('1to1.store') }}" method="POST">
						@csrf
						<div class="form-group">
							@error('pc1')
								<span class="text-danger">{{ $message }}</span>
							@enderror
							<div class="form-input-group">
								<label>이름</label>
								<input class="form-control" name="pc1" type="text" placeholder="이름을 입력해 주세요.">
								<i class="icofont-user-alt-3"></i>
							</div>
						</div>
						<div class="form-group">
							@error('pc2')
								<span class="text-danger">{{ $message }}</span>
							@enderror
							<div class="form-input-group">
								<label>이메일</label>
								<input class="form-control" name="pc2" type="text" placeholder="이메일을 입력해 주세요.">
								<i class="icofont-email"></i>
							</div>
						</div>
						<div class="form-group">
							@error('post_title')
								<span class="text-danger">{{ $message }}</span>
							@enderror
							<div class="form-input-group">
								<label>제목</label>
								<input class="form-control" name="post_title" type="text" placeholder="제목을 입력해 주세요">
								<i class="icofont-book-mark"></i>
							</div>
						</div>
						<div class="form-group conts">
							@error('post_contents')
								<span class="text-danger">{{ $message }}</span>
							@enderror
							<div class="form-input-group">
								<label>문의내용</label>
								<textarea class="form-control" name="post_contents" placeholder="문의할 내용을 입력해 주세요."></textarea>
								<i class="icofont-paragraph"></i>
							</div>
						</div>
						<div class="btn_wrap">
							<button type="submit" class="btn btn_primary form-btn-group button-prevent-multiple-submits">
								<i class="spinner fa fa-spinner fa-spin"></i>
								<span>문의하기</span>
							</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</section>
	<!--=====================================
		BLOG DETAILS PART END
	=======================================-->
</div>

@endsection

