first.ejs 8.05 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="#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">
            <h2>About GROTTO</h2>
            <p>
              <a href="http://startbootstrap.com/template-overviews/grayscale/">Grotto - Let your senses fly</a>.
              <br>당신의 오감을 날려드립니다.</p>

            <p>
              <a href="http://gratisography.com/">Coffee - Kona coffee</a>
              <br>세계 3대 커피 하와이안 코나 원두를 사용합니다.</p>
            <p>
              <a href="http://snazzymaps.com/">Wine - Wine expert</a>.
              <br>150가지 종류의 와인을 와인을 닮은 공간에서 편하게 즐기세요.</p>
          </div>
        </div>
      </div>
    </section>


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

    <!-- Contact Section -->
    <section id="contact" class="content-section text-center">
      <div class="container">
        <div class="row">
          <div class="col-lg-8 mx-auto">
            <h2>Contact GROTTO</h2>
            <p>전화번호 : 031-205-7220</p>
            <p>영업시간 : 매일 10:00 - 23: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>



    <!-- Map Section -->
    <section id="contact" class="content-section text-center">
      <div class="container">
        <div class="row">
          <div class="col-lg-8 mx-auto">
            <h2>찾아오시는 길</h2>
          </div>
          </div>
          </div>
    <div id="map"></div>

    <!-- 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>

    <style>
           #map {
            height: 400px;
            width: 100%;
           }
        </style>
        <body>
          <p>경기도 수원시 영통구 영통동 1030-2</p>
              <section id="contact" class="content-section text-center">
                <div class="container">
                  <div class="row">
                    <div class="col-lg-8 mx-auto">

                    </div>
                    </div>
                    </div>
                  </section>
            <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>

          <script>
          function initMap() {
            var cnt = 1; //마커 카운트 해서 우선 2개만 제한
            var initLatLng = {lat: 37.251797, lng: 127.076747};
            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>

      <!-- Footer -->
      <footer>
        <div class="container text-center">

             <image src = "/img/수정됨_로고2.jpg">
          <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>