frontend/index.html

파일 다운로드

<!doctype html>
<html lang="ko">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>모아상점 · 고객지원</title>
  <link rel="stylesheet" href="/style.css">
  <script src="/chat.js" defer></script>
</head>
<body>
  <main class="shell">
    <header class="masthead">
      <a class="brand" href="/" aria-label="모아상점 홈"><span class="mark">m.</span> 모아상점</a>
      <span class="chapter">CHAPTER 01 · FIRST CONVERSATION</span>
    </header>
    <section class="hero">
      <div><p class="eyebrow">모아상점 고객지원</p><h1>무엇을 도와드릴까요?</h1><p class="intro">배송과 교환에 대해 궁금한 점을 남겨주세요.</p></div>
      <div class="connection"><span class="signal"></span><div><small>연결 모델</small><span id="model">연결 확인 중…</span></div></div>
    </section>
    <section class="chat-panel" aria-label="고객지원 대화">
      <div class="panel-top"><span>고객과 모아상점</span><span class="live">CONVERSATION</span></div>
      <div id="conversation" aria-live="polite"></div>
      <form id="chat-form">
        <label for="question">질문</label>
        <div class="input-row"><input id="question" name="question" placeholder="예: 배송비가 얼마인가요?" maxlength="500" autocomplete="off" required><button id="send" type="submit">전송 <span aria-hidden="true">↗</span></button></div>
        <div class="form-foot"><span>한 번에 500자까지</span><span id="status" role="status">질문을 입력하세요.</span></div>
      </form>
    </section>
    <footer>MOA STORE <span>고객지원 · 첫 대화</span></footer>
  </main>
</body>
</html>