Suyeon Jung

Modify category css

1 -
2 .card-body { 1 .card-body {
3 text-align: center; 2 text-align: center;
4 } 3 }
5 -body{ 4 +
5 +body {
6 font-family: 'Noto Sans KR', sans-serif; 6 font-family: 'Noto Sans KR', sans-serif;
7 } 7 }
8 -.category{ 8 +
9 +.category {
9 text-align: center; 10 text-align: center;
10 margin-left: auto; 11 margin-left: auto;
11 margin-right: auto; 12 margin-right: auto;
12 width: 70%; 13 width: 70%;
13 } 14 }
14 -.card{
15 15
16 +.card-title {
17 + font-size: medium;
18 + font-weight: bold;
19 +}
20 +
21 +.card-text {
22 + font-size: small;
23 +}
24 +
25 +.btn {
26 + font-weight: bold;
27 + font-size: x-small;
16 } 28 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -31,6 +31,7 @@ body { ...@@ -31,6 +31,7 @@ body {
31 border: dotted 1px gray; 31 border: dotted 1px gray;
32 width: 75%; 32 width: 75%;
33 } 33 }
34 -body{ 34 +
35 +body {
35 font-family: 'Noto Sans KR', sans-serif; 36 font-family: 'Noto Sans KR', sans-serif;
36 } 37 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -414,7 +414,7 @@ router.get('/transport', function(req, res) { ...@@ -414,7 +414,7 @@ router.get('/transport', function(req, res) {
414 } 414 }
415 console.log(busStations); 415 console.log(busStations);
416 console.log('subwayStaions', subwayStations); 416 console.log('subwayStaions', subwayStations);
417 - res.render('result', { category: 'transport', busStations: busStations, subwayStations: subwayStations, userLocation: userLocation, grade: grade }) 417 + res.render('result', { category: 'transport', busStations: busStations, subwayStations: subwayStations, userLocation: userLocation, grade: 'A' })
418 } 418 }
419 }) 419 })
420 420
......
1 <div class="category"> 1 <div class="category">
2 - <div class="card mx-auto mb-2" style ="margin-left: 30%;"> 2 + <div class="card mx-auto mb-2" style="margin-left: 30%;">
3 <div class="d-flex align-items-center"> 3 <div class="d-flex align-items-center">
4 <div class="card" style="width: 18rem;"> 4 <div class="card" style="width: 18rem;">
5 <img src="/img/restaurant.jpg" class="card-img-top" alt="..."> 5 <img src="/img/restaurant.jpg" class="card-img-top" alt="...">
6 <div class="card-body"> 6 <div class="card-body">
7 <h5 class="card-title">음식</h5> 7 <h5 class="card-title">음식</h5>
8 - <p class="card-text">주변 음식점의 수</p> 8 + <p class="card-text">주변 맛집 및 패스트푸드점</p>
9 - <a href="/category/food" class="btn btn-primary">검사!</a> 9 + <a href="/category/food" class="btn btn-warning">검사 ✍️</a>
10 </div> 10 </div>
11 </div> 11 </div>
12 <div class="card" style="width: 18rem;"> 12 <div class="card" style="width: 18rem;">
13 <img src="/img/school.jpg" class="card-img-top" alt="..."> 13 <img src="/img/school.jpg" class="card-img-top" alt="...">
14 <div class="card-body"> 14 <div class="card-body">
15 <h5 class="card-title">학군</h5> 15 <h5 class="card-title">학군</h5>
16 - <p class="card-text">주변 학원 및 도서관 현황</p> 16 + <p class="card-text">주변 도서관 및 학원</p>
17 - <a href="/category/school" class="btn btn-primary">검사!</a> 17 + <a href="/category/school" class="btn btn-warning">검사 ✍️</a>
18 </div> 18 </div>
19 </div> 19 </div>
20 <div class="card" style="width: 18rem;"> 20 <div class="card" style="width: 18rem;">
...@@ -22,44 +22,44 @@ ...@@ -22,44 +22,44 @@
22 <div class="card-body"> 22 <div class="card-body">
23 <h5 class="card-title">공원</h5> 23 <h5 class="card-title">공원</h5>
24 <p class="card-text">주변 공원</p> 24 <p class="card-text">주변 공원</p>
25 - <a href="/category/park" class="btn btn-primary">검사!</a> 25 + <a href="/category/park" class="btn btn-warning">검사 ✍️</a>
26 </div> 26 </div>
27 </div> 27 </div>
28 <div class="card" style="width: 18rem;"> 28 <div class="card" style="width: 18rem;">
29 <img src="/img/transport.jpg" class="card-img-top" alt="..."> 29 <img src="/img/transport.jpg" class="card-img-top" alt="...">
30 <div class="card-body"> 30 <div class="card-body">
31 <h5 class="card-title">대중교통</h5> 31 <h5 class="card-title">대중교통</h5>
32 - <p class="card-text">대중교통 편리도</p> 32 + <p class="card-text">주변 버스, 지하철역</p>
33 - <a href="/category/transport" class="btn btn-primary">검사!</a> 33 + <a href="/category/transport" class="btn btn-warning">검사 ✍️</a>
34 </div> 34 </div>
35 </div> 35 </div>
36 </div> 36 </div>
37 </div> 37 </div>
38 38
39 - <div class="card mx-auto mb-2"style ="margin-left: 30%;"> 39 + <div class="card mx-auto mb-2" style="margin-left: 30%;">
40 <div class="d-flex align-items-center"> 40 <div class="d-flex align-items-center">
41 <div class="card" style="width: 18rem;"> 41 <div class="card" style="width: 18rem;">
42 <img src="/img/safe.jpg" class="card-img-top img-f" alt="..."> 42 <img src="/img/safe.jpg" class="card-img-top img-f" alt="...">
43 <div class="card-body"> 43 <div class="card-body">
44 <h5 class="card-title">안전</h5> 44 <h5 class="card-title">안전</h5>
45 - <p class="card-text">주변 경찰서, 범죄자 인근~</p> 45 + <p class="card-text">주변 CCTV, 보안등 현황</p>
46 - <a href="/category/safe" class="btn btn-primary">검사!</a> 46 + <a href="/category/safe" class="btn btn-warning">검사 ✍️</a>
47 </div> 47 </div>
48 </div> 48 </div>
49 <div class="card" style="width: 18rem;"> 49 <div class="card" style="width: 18rem;">
50 <img src="/img/cultural_life.jpg" class="card-img-top" alt="..."> 50 <img src="/img/cultural_life.jpg" class="card-img-top" alt="...">
51 <div class="card-body"> 51 <div class="card-body">
52 <h5 class="card-title">여가</h5> 52 <h5 class="card-title">여가</h5>
53 - <p class="card-text">주변 문화시설</p> 53 + <p class="card-text">주변 영화관</p>
54 - <a href="/category/culture" class="btn btn-primary">검사!</a> 54 + <a href="/category/culture" class="btn btn-warning">검사 ✍️</a>
55 </div> 55 </div>
56 </div> 56 </div>
57 <div class="card" style="width: 18rem;"> 57 <div class="card" style="width: 18rem;">
58 <img src="/img/shopping.jpg" class="card-img-top" alt="..."> 58 <img src="/img/shopping.jpg" class="card-img-top" alt="...">
59 <div class="card-body"> 59 <div class="card-body">
60 <h5 class="card-title">쇼핑</h5> 60 <h5 class="card-title">쇼핑</h5>
61 - <p class="card-text">주변 백화점, 마트, 재래시장</p> 61 + <p class="card-text">주변 마트 및 재래시장</p>
62 - <a href="/category/shop" class="btn btn-primary">검사!</a> 62 + <a href="/category/shop" class="btn btn-warning">검사 ✍️</a>
63 </div> 63 </div>
64 </div> 64 </div>
65 <div class="card" style="width: 18rem;"> 65 <div class="card" style="width: 18rem;">
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
67 <div class="card-body"> 67 <div class="card-body">
68 <h5 class="card-title">운동</h5> 68 <h5 class="card-title">운동</h5>
69 <p class="card-text">주변 운동시설</p> 69 <p class="card-text">주변 운동시설</p>
70 - <a href="/category/gym" class="btn btn-primary">검사!</a> 70 + <a href="/category/gym" class="btn btn-warning">검사 ✍️</a>
71 </div> 71 </div>
72 </div> 72 </div>
73 </div> 73 </div>
......