Showing
11 changed files
with
25 additions
and
35 deletions
... | @@ -7,7 +7,7 @@ var bodyParser = require('body-parser') | ... | @@ -7,7 +7,7 @@ var bodyParser = require('body-parser') |
7 | var expressErrorHandler = require('express-error-handler'); | 7 | var expressErrorHandler = require('express-error-handler'); |
8 | var indexRouter = require('./routes/index') | 8 | var indexRouter = require('./routes/index') |
9 | var loginRouter = require('./routes/login') | 9 | var loginRouter = require('./routes/login') |
10 | -var sign_upRouter = require('./routes/sign_up') | 10 | +var signupRouter = require('./routes/signup') |
11 | var lpgRouter = require('./routes/lpg') | 11 | var lpgRouter = require('./routes/lpg') |
12 | var weatherRouter = require('./routes/weather') | 12 | var weatherRouter = require('./routes/weather') |
13 | var menuRouter = require('./routes/menu') | 13 | var menuRouter = require('./routes/menu') |
... | @@ -40,7 +40,7 @@ app.use('/menu',menuRouter) | ... | @@ -40,7 +40,7 @@ app.use('/menu',menuRouter) |
40 | app.use('/login',loginRouter); // login page route | 40 | app.use('/login',loginRouter); // login page route |
41 | app.use('/weather',weatherRouter) | 41 | app.use('/weather',weatherRouter) |
42 | app.use('/lpg',lpgRouter) | 42 | app.use('/lpg',lpgRouter) |
43 | -app.use('/signup',sign_upRouter); // sign up page route | 43 | +app.use('/signup',signupRouter); // sign up page route |
44 | app.use('/', indexRouter); // main page route | 44 | app.use('/', indexRouter); // main page route |
45 | 45 | ||
46 | 46 | ... | ... |
app/public/faq.html
0 → 100644
This diff is collapsed. Click to expand it.
... | @@ -2,7 +2,7 @@ var express = require('express') | ... | @@ -2,7 +2,7 @@ var express = require('express') |
2 | var router = express.Router() | 2 | var router = express.Router() |
3 | 3 | ||
4 | router.get('/',function(req,res){ | 4 | router.get('/',function(req,res){ |
5 | - res.render('views/signup.html') | 5 | + res.render('signup.html') |
6 | }); | 6 | }); |
7 | 7 | ||
8 | 8 | ... | ... |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | <li class="nav-item dropdown"> | 37 | <li class="nav-item dropdown"> |
38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> | 38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
40 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 40 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
41 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 41 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
42 | </ul> | 42 | </ul> |
43 | </li> | 43 | </li> |
44 | </ul> | 44 | </ul> | ... | ... |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | <li class="nav-item dropdown"> | 37 | <li class="nav-item dropdown"> |
38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> | 38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
40 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 40 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
41 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 41 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
42 | </ul> | 42 | </ul> |
43 | </li> | 43 | </li> |
44 | </ul> | 44 | </ul> | ... | ... |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | <li class="nav-item dropdown"> | 37 | <li class="nav-item dropdown"> |
38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> | 38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
40 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 40 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
41 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 41 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
42 | </ul> | 42 | </ul> |
43 | </li> | 43 | </li> |
44 | </ul> | 44 | </ul> | ... | ... |
... | @@ -21,10 +21,7 @@ | ... | @@ -21,10 +21,7 @@ |
21 | <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> | 21 | <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> |
22 | <div class="container px-5"> | 22 | <div class="container px-5"> |
23 | <a class="navbar-brand" href="/">휴게소 정보</a> | 23 | <a class="navbar-brand" href="/">휴게소 정보</a> |
24 | - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" | 24 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button> |
25 | - data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" | ||
26 | - aria-expanded="false" aria-label="Toggle navigation"><span | ||
27 | - class="navbar-toggler-icon"></span></button> | ||
28 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> | 25 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
29 | <ul class="navbar-nav ms-auto mb-2 mb-lg-0"> | 26 | <ul class="navbar-nav ms-auto mb-2 mb-lg-0"> |
30 | <li class="nav-item"><a class="nav-link" href="/">Home</a></li> | 27 | <li class="nav-item"><a class="nav-link" href="/">Home</a></li> |
... | @@ -33,19 +30,17 @@ | ... | @@ -33,19 +30,17 @@ |
33 | <li class="nav-item"><a class="nav-link" href="/lpg">LPG</a></li> | 30 | <li class="nav-item"><a class="nav-link" href="/lpg">LPG</a></li> |
34 | <li class="nav-item"><a class="nav-link" href="faq.html">FAQ</a></li> | 31 | <li class="nav-item"><a class="nav-link" href="faq.html">FAQ</a></li> |
35 | <li class="nav-item dropdown"> | 32 | <li class="nav-item dropdown"> |
36 | - <a class="nav-link dropdown-toggle" id="navbarDropdownBlog" href="#" role="button" | 33 | + <a class="nav-link dropdown-toggle" id="navbarDropdownBlog" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Blog</a> |
37 | - data-bs-toggle="dropdown" aria-expanded="false">Blog</a> | ||
38 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownBlog"> | 34 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownBlog"> |
39 | <li><a class="dropdown-item" href="blog-home.html">Blog Home</a></li> | 35 | <li><a class="dropdown-item" href="blog-home.html">Blog Home</a></li> |
40 | <li><a class="dropdown-item" href="blog-post.html">Blog Post</a></li> | 36 | <li><a class="dropdown-item" href="blog-post.html">Blog Post</a></li> |
41 | </ul> | 37 | </ul> |
42 | </li> | 38 | </li> |
43 | <li class="nav-item dropdown"> | 39 | <li class="nav-item dropdown"> |
44 | - <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" | 40 | + <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
45 | - data-bs-toggle="dropdown" aria-expanded="false">Login</a> | ||
46 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 41 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
47 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 42 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
48 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 43 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
49 | </ul> | 44 | </ul> |
50 | </li> | 45 | </li> |
51 | </ul> | 46 | </ul> | ... | ... |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | <li class="nav-item dropdown"> | 37 | <li class="nav-item dropdown"> |
38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> | 38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
40 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 40 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
41 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 41 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
42 | </ul> | 42 | </ul> |
43 | </li> | 43 | </li> |
44 | </ul> | 44 | </ul> | ... | ... |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | <li class="nav-item dropdown"> | 37 | <li class="nav-item dropdown"> |
38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> | 38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
40 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 40 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
41 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 41 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
42 | </ul> | 42 | </ul> |
43 | </li> | 43 | </li> |
44 | </ul> | 44 | </ul> | ... | ... |
... | @@ -21,10 +21,7 @@ | ... | @@ -21,10 +21,7 @@ |
21 | <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> | 21 | <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> |
22 | <div class="container px-5"> | 22 | <div class="container px-5"> |
23 | <a class="navbar-brand" href="/">휴게소 정보</a> | 23 | <a class="navbar-brand" href="/">휴게소 정보</a> |
24 | - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" | 24 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button> |
25 | - data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" | ||
26 | - aria-expanded="false" aria-label="Toggle navigation"><span | ||
27 | - class="navbar-toggler-icon"></span></button> | ||
28 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> | 25 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
29 | <ul class="navbar-nav ms-auto mb-2 mb-lg-0"> | 26 | <ul class="navbar-nav ms-auto mb-2 mb-lg-0"> |
30 | <li class="nav-item"><a class="nav-link" href="/">Home</a></li> | 27 | <li class="nav-item"><a class="nav-link" href="/">Home</a></li> |
... | @@ -33,19 +30,17 @@ | ... | @@ -33,19 +30,17 @@ |
33 | <li class="nav-item"><a class="nav-link" href="/lpg">LPG</a></li> | 30 | <li class="nav-item"><a class="nav-link" href="/lpg">LPG</a></li> |
34 | <li class="nav-item"><a class="nav-link" href="faq.html">FAQ</a></li> | 31 | <li class="nav-item"><a class="nav-link" href="faq.html">FAQ</a></li> |
35 | <li class="nav-item dropdown"> | 32 | <li class="nav-item dropdown"> |
36 | - <a class="nav-link dropdown-toggle" id="navbarDropdownBlog" href="#" role="button" | 33 | + <a class="nav-link dropdown-toggle" id="navbarDropdownBlog" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Blog</a> |
37 | - data-bs-toggle="dropdown" aria-expanded="false">Blog</a> | ||
38 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownBlog"> | 34 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownBlog"> |
39 | <li><a class="dropdown-item" href="blog-home.html">Blog Home</a></li> | 35 | <li><a class="dropdown-item" href="blog-home.html">Blog Home</a></li> |
40 | <li><a class="dropdown-item" href="blog-post.html">Blog Post</a></li> | 36 | <li><a class="dropdown-item" href="blog-post.html">Blog Post</a></li> |
41 | </ul> | 37 | </ul> |
42 | </li> | 38 | </li> |
43 | <li class="nav-item dropdown"> | 39 | <li class="nav-item dropdown"> |
44 | - <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" | 40 | + <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
45 | - data-bs-toggle="dropdown" aria-expanded="false">Login</a> | ||
46 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 41 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
47 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 42 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
48 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 43 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
49 | </ul> | 44 | </ul> |
50 | </li> | 45 | </li> |
51 | </ul> | 46 | </ul> | ... | ... |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | <li class="nav-item dropdown"> | 37 | <li class="nav-item dropdown"> |
38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> | 38 | <a class="nav-link dropdown-toggle" id="navbarDropdownLogin" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Login</a> |
39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> | 39 | <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownLogin"> |
40 | - <li><a class="dropdown-item" href="login.html">Login</a></li> | 40 | + <li><a class="dropdown-item" href="/login">Login</a></li> |
41 | - <li><a class="dropdown-item" href="signup.html">Sign-up</a></li> | 41 | + <li><a class="dropdown-item" href="/signup">Sign-up</a></li> |
42 | </ul> | 42 | </ul> |
43 | </li> | 43 | </li> |
44 | </ul> | 44 | </ul> | ... | ... |
-
Please register or login to post a comment