이학주

Add navigation and Update index page

This diff could not be displayed because it is too large.
......@@ -13,6 +13,7 @@
"ejs": "^3.1.5",
"express": "~4.16.1",
"http-errors": "~1.6.3",
"mongoose": "^5.11.3",
"morgan": "~1.9.1",
"nodemon": "^2.0.6",
"pug": "2.0.0-beta11",
......
......@@ -5,4 +5,11 @@ var router = express.Router();
router.get('/', function(req, res, next) {
res.render('index');
});
router.get('/developer', function(req, res){
res.render('developer');
});
router.get('/license', function(req, res){
res.render('license');
});
module.exports = router;
\ No newline at end of file
......
......@@ -2,18 +2,12 @@
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-grid.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-reboot.min.css' />
<link rel='stylesheet' href='/css/category.css'>
<%- include('./head') %>
<title>📝 진단 검사</title>
</head>
<body>
<%- include('./nav') %>
<div class="jumbotron jumbotron-fluid">
<div class="container">
......
<!DOCTYPE html>
<html>
<head>
<%- include('./head') %>'
<style>
div{
text-align: center;
display: inline;
}
</style>
</head>
<body>
<%- include('./nav') %>
<div class="card mx-auto mb-2" style="width : 18rem;">
<div class="d-flex align-items-center" style="height:200px;">
<div class="card-body">
<h3 class="card-title">이학주</h3>
<label>Email : </label><span>hakjoo@khu.ac.kr</span>
<br>
<label>Phone : </label><span>010-7755-5457</span>
</div>
</div>
<div class="d-flex align-items-center" style="height:200px;">
<div class="card-body">
<h3 class="card-title">이학주</h3>
<label>Email : </label><span>hakjoo@khu.ac.kr</span>
<br>
<label>Phone : </label><span>010-7755-5457</span>
</div>
</div>
<div class="d-flex align-items-center" style="height:200px;">
<div class="card-body">
<h3 class="card-title">이학주</h3>
<label>Email : </label><span>hakjoo@khu.ac.kr</span>
<br>
<label>Phone : </label><span>010-7755-5457</span>
</div>
</div>
</div>
</body>
</html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-grid.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-reboot.min.css' />
<title>🏡 How about the Village?</title>
<style>
img{display: block; margin: 0px auto;}
</style>
<img class="gyeonggi" src="/img/logo.png" wdith = 100% height= 50%>
</head>
\ No newline at end of file
......@@ -2,27 +2,33 @@
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- <link rel="stylesheet" href="/css/style.css"> -->
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-grid.min.css' />
<link rel='stylesheet' href='/vendors/bootstrap/css/bootstrap-reboot.min.css' />
<title>🏡 How about the Village?</title>
<%- include('./head') %>
<style>
.form-group{
margin : 0 auto;
width: 500px;
text-align: center;
font-size:23px;
}
</style>
</head>
<body>
<img class="gyeonggi" src="/img/logo.png">
<%- include('./nav') %>
<form action="/category" method="post" name="location">
<!-- <input type="text" id="userLocation" name="userLocation" placeholder="당신의 동네 주소를 입력해주세요(시/구/동)">
<input type="submit" id="search" value="검색"> -->
<br>
<br>
<div class="form-group">
<label for="exampleFormControlInput1">당신이 조사하고 싶은 동네의 주소를 입력하세요!</label>
<input type="text" class="form-control" id="exampleFormControlInput1" name="userLocation" placeholder="당신의 동네 주소를 입력해주세요(시/구/동)">
<input type="text" class="form-control" id="exampleFormControlInput1" name="userLocation" placeholder="당신의 동네 주소를 입력해주세요(시/구/동)"style = "text-align :center;">
</div>
<button type="submit" class="btn btn-primary">검색</button>
</form>
</body>
</html>
\ No newline at end of file
......
<!DOCTYPE html>
<html>
<head>
<%- include('./head') %>'
<style>
div{
text-align: center;
display: inline;
}
h1{
text-align: center;
}
</style>
</head>
<body>
<%- include('./nav') %>
<div class="card mx-auto mb-2" style="width : 51rem;">
<div class="card" style="width: 51rem; text-align: center; ">
<div class="card-body">
<h3 class="card-title">License</h3>
<span>The MIT License (MIT)
Copyright (c) 2020 zuzitsu
<br><br>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
<br><br>
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
<br><br>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</span>
</div>
</div>
</div>
</body>
</html>
<style>
.nav-item{
font-size: 18pt;
}
.my-auto{
font-weight: bold;
}
</style>
<nav class="navbar navbar-light navbar-expand-md bg-light justify-content-md-center justify-content-start">
<a class="navbar-brand d-md-none d-inline" href="">Home</a>
<button class="navbar-toggler ml-1" type="button" data-toggle="collapse" data-target="#collapsingNavbar2">
<span class="navbar-toggler-icon"></span>
</button>
<a class="nav-link" href="#_"><i class="fa fa-search mr-1"></i></a>
<div class="navbar-collapse collapse justify-content-between align-items-center w-100" id="collapsingNavbar2">
<ul class="navbar-nav mx-auto text-md-center text-left">
<li class="nav-item">
<a class="nav-link" href="#">ReadMe</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/license">License</a>
</li>
<li class="nav-item my-auto">
<a class="nav-link navbar-brand mx-0 d-none d-md-inline" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Team</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/developer">Developer</a>
</li>
</ul>
<ul class="nav navbar-nav flex-row justify-content-md-center justify-content-start flex-nowrap">
<li class="nav-item"><a class="nav-link" href=""><i class="fa fa-facebook mr-1"></i></a> </li>
<li class="nav-item"><a class="nav-link" href=""><i class="fa fa-twitter"></i></a> </li>
</ul>
</div>
</nav>