first.ejs 8.41 KB
<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>식당 예약</title>

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom fonts for this template -->
    <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
    <link href='https://fonts.googleapis.com/css?family=Cabin:700' rel='stylesheet' type='text/css'>

    <!-- Custom styles for this template -->
    <link href="css/grayscale.min.css" rel="stylesheet">

  </head>

  <body id="page-top">

    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
      <div class="container">

        <a class="navbar-brand js-scroll-trigger" href="#page-top">top</a>
        <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
          Menu
          <i class="fa fa-bars"></i>
        </button>
        <div class="collapse navbar-collapse" id="navbarResponsive">
          <ul class="navbar-nav ml-auto">
            <li class="nav-item">
              <a class="nav-link js-scroll-trigger" href="#about">About</a>
            </li>
            <li class="nav-item">
              <a class="nav-link js-scroll-trigger" href="#menu">Menu</a>
            </li>
            <li class="nav-item">
              <a class="nav-link js-scroll-trigger" href="#download">Reservation</a>
            </li>
            <li class="nav-item">
              <a class="nav-link js-scroll-trigger" href="#contact">Contact</a>
            </li>
            <li class="nav-item">
              <a class="nav-link js-scroll-trigger" href="#Map">Map</a>
            </li>
          </ul>
        </div>
      </div>
    </nav>

    <!-- Intro Header -->
    <header class="masthead">
      <div class="intro-body">
        <div class="container">
          <div class="row">
            <div class="col-lg-8 mx-auto">
              <h1 class="brand-heading" style="background-color: rgba( 0, 0, 0, 0.7 );">별빛바다 달빛초원</h1>
              <p class="intro-text">
                <br>아래로 내리세요</p>
              <a href="#about" class="btn btn-circle js-scroll-trigger">
                <i class="fa fa-angle-double-down animated"></i>
              </a>
            </div>
          </div>
        </div>
      </div>
    </header>

    <!-- About Section -->
    <section id="about" class=" content-section text-center" >
      <div class="container">
        <div class="row">
          <div class="col-lg-8 mx-auto">
            <h1>About</h1>
            <p>
              <a href="https://www.facebook.com/starbada/">01</a>
              <br>노량진수산시장보다 싱싱하다! 푸짐하다! 싸다!</p>

            <p>
              <a href="https://www.facebook.com/starbada/">02</a>
              <br>활어회/신선한 초밥/해산물 잔뜩 요리전문점</p>
            <p>
              <a href="https://www.facebook.com/starbada/">03</a>
              <br>수원에서 가장 깔끔하고 싱싱한 횟집</p>
          </div>
        </div>
      </div>
    </section>




    <!-- Menu Section -->
    <section id="menu" class="download-section content-section text-center">
        <div class="row">
          <div class="col-lg-8 mx-auto" >
            <h1>Menu</h1>
            <p>별빛바다 달빛초원은 항상 싱싱한 생선만 손질합니다.</p>
            <a href="/menu" class="btn btn-default btn-lg">메뉴 보러가기</a>
          </div>
        </div>
      </div>
    </section>



    <!-- Download Section -->
    <section id="download" class=" content-section text-center">
      <div class="container">
        <div class="col-lg-8 mx-auto">
          <h1>Reservation</h1>
          <p>예약은 1주일 안에만 가능합니다.</p>
          <a href="/reservation" class="btn btn-default btn-lg">예약하기</a>
        </div>
      </div>
    </section>


    <!-- Contact Section -->
    <section id="contact" class="download-section content-section text-center">
      <div class="container">
        <div class="row">
          <div class="col-lg-8 mx-auto">
            <h1>Contact</h1>
            <p>전화번호 : 031-203-7220
            <br>영업시간 : 매일 오전 11:00~ 오후 11:30 (Last Order 22:00)</p>
            <ul class="list-inline banner-social-buttons">
              <li class="list-inline-item">
                <a href="https://www.facebook.com/starbada/" class="btn btn-default btn-lg">
                  <i class="fa fa-facebook fa-fw"></i>
                  <span class="network-name">facebook</span>
                </a>
              </li>
              <!--<li class="list-inline-item">
                <a href="https://www.instagram.com/grotto_since2011/" class="btn btn-default btn-lg">
                  <i class="fa fa-instagram fa-fw"></i>
                  <span class="network-name">Instagram</span>
                </a>
              </li>
            -->
            </ul>
          </div>
        </div>
      </div>
    </section>




    <!-- Google Maps API Key - Use your own API key to enable the map feature. More information on the Google Maps API can be found at https://developers.google.com/maps/ -->
    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCRngKslUGJTlibkQ3FkfTxj3Xss1UlZDA&sensor=false"></script>


  <section id="Map" class="content-section text-center">
    <div class="row">
      <div class="col-lg-8 mx-auto text-center">
        <h1>찾아오시는 길</h1>
        <p>경기도 수원시 영통구 영통동 1025-1(경기도 수원시 영통구 청명로 28) 1층 별빛바다 달빛초원</p>
        <section id="map" class="content-section text-center">

              <style>
               #map {
                height: 400px;
                width: 100%;
               }
               </style>
               <body>
                <div id="map"></div>
                <script>
                  function initMap() {
                    var uluru = {lat: -25.363, lng: 131.044};
                    var map = new google.maps.Map(document.getElementById('map'), {
                      zoom: 4,
                      center: uluru
                    });
                    var marker = new google.maps.Marker({
                      position: uluru,
                      map: map
                    });
                  }
                </script>
                <script async defer
                src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAQobMFr9MjpbzdMVmL8qgTHLko3S00DGk&callback=initMap">
                </script>
              </body>
            </div>
          </div>
        </div>

          <script>
          function initMap() {
            var cnt = 1; //마커 카운트 해서 우선 2개만 제한
            var initLatLng = {lat: 37.2497462, lng: 127.0785575};
            var geocoder = new google.maps.Geocoder;
            var map = new google.maps.Map(document.getElementById('map'), {
                center: initLatLng,
                zoom: 16
            });
            // 기본 마커 - 지도 생기면 중심에 찍혀있는 것
            var basicMarker = new google.maps.Marker({
                position: initLatLng,
                map: map, //map을 선택 안해주면 마커는 생성되지만 표시는 안됨 이 경우는 setmap으로 나중에 호출할 수 있음
                draggable: true
            });
        }
      </script>
        </section>
      </div>
    </div>
  </section>

      <!-- Footer -->
      <footer>
        <div class="container text-center">
          <p>Copyright &copy;정지윤 오픈소스 프로젝트</p>
        </div>
      </footer>


    <!-- Custom scripts for this template -->
    <script src="css/grayscale.min.js"></script>
    <!-- Bootstrap core JavaScript -->
    <script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

    <!-- Plugin JavaScript -->
    <script src="vendor/jquery-easing/jquery.easing.min.js"></script>

  </body>

</html>