data.ejs 1.45 KB
<!-- data.ejs -->

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Check the Holiday</title>
    <link rel="stylesheet" href="../public/css/main.css" type="text/css"> <!--style.css 파일 적용.-->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Marathi&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap" rel="stylesheet">
</head>
<center>
<body>
    <div id="title">When is my Holiday?</div>
    <br><br>
    <div class="wrapper">
        <div class="circle">
        <p class="dday">
        <span>
        <h2>오늘로부터 가장 가까운 휴일은</h2>
        <h1>[<%= data[0] %>]</h1>
        <h1>D - <%= data[2] %></h1>
        <h2><%= data[0] %>의 날짜 : <%= data[1] %></h2>
            </span>
        </p>
        </div>
    </div>
    <h2> <%= data[0] %> 에 추천하는 활동 목록입니다.</h2> <!--recommend activity 추가파트 시작-->
    <div id="activity">
    
    <h3 class = 'l'>ㅤ1. 가나다</h3>
    <h3 class = 'l'>ㅤ2. 라마바</h3>
    <h3 class = 'l'>ㅤ3. 라마바</h3>
    </div>
    <div id="loading"><div class="spinner"></div></div>
</body>
</center>
</html>