이학주

Modify category view

.row {
/* .row {
padding-left: 15px;
padding-right: 15px;
}
} */
.card-body {
text-align: center;
}
body{
font-family: 'Noto Sans KR', sans-serif;
}
.category{
text-align: center;
margin-left: auto;
margin-right: auto;
width: 70%;
}
\ No newline at end of file
......
......@@ -8,7 +8,8 @@
<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'>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300&display=swap" rel="stylesheet">
<title>📝 진단 검사</title>
</head>
......
<div class="row">
<div class="card" style="width: 18rem;">
<img src="/img/restaurant.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">음식</h5>
<p class="card-text">주변 음식점의 수</p>
<a href="/category/food" class="btn btn-primary">검사!</a>
<div class="category">
<div class="card mx-auto mb-2" style ="margin-left: 30%;">
<div class="d-flex align-items-center">
<div class="card" style="width: 18rem;">
<img src="/img/restaurant.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">음식</h5>
<p class="card-text">주변 음식점의 수</p>
<a href="/category/food" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/school.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">학군</h5>
<p class="card-text">주변 학원 및 도서관 현황</p>
<a href="/category/school" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/park.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">공원</h5>
<p class="card-text">주변 공원</p>
<a href="/category/park" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/transport.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">대중교통</h5>
<p class="card-text">대중교통 편리도</p>
<a href="/category/transport" class="btn btn-primary">검사!</a>
</div>
</div>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/school.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">학군</h5>
<p class="card-text">주변 학원 및 도서관 현황</p>
<a href="/category/school" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/park.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">공원</h5>
<p class="card-text">주변 공원</p>
<a href="/category/park" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/transport.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">대중교통</h5>
<p class="card-text">대중교통 편리도</p>
<a href="/category/transport" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/safe.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">안전</h5>
<p class="card-text">주변 경찰서, 범죄자 인근~</p>
<a href="/category/safe" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/cultural_life.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">여가</h5>
<p class="card-text">주변 문화시설</p>
<a href="/category/culture" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/shopping.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">쇼핑</h5>
<p class="card-text">주변 백화점, 마트, 재래시장</p>
<a href="/category/shop" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/gym.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">운동</h5>
<p class="card-text">주변 운동시설</p>
<a href="/category/gym" class="btn btn-primary">검사!</a>
<div class="card mx-auto mb-2"style ="margin-left: 30%;">
<div class="d-flex align-items-center">
<div class="card" style="width: 18rem;">
<img src="/img/safe.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">안전</h5>
<p class="card-text">주변 경찰서, 범죄자 인근~</p>
<a href="/category/safe" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/cultural_life.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">여가</h5>
<p class="card-text">주변 문화시설</p>
<a href="/category/culture" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/shopping.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">쇼핑</h5>
<p class="card-text">주변 백화점, 마트, 재래시장</p>
<a href="/category/shop" class="btn btn-primary">검사!</a>
</div>
</div>
<div class="card" style="width: 18rem;">
<img src="/img/gym.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">운동</h5>
<p class="card-text">주변 운동시설</p>
<a href="/category/gym" class="btn btn-primary">검사!</a>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
......
<div class="jumbotron jumbotron-fluid">
<div class="container">
<div class="container" style="text-align: center;">
<h3>
🔎 검색한 동네 :
<%=userLocation%>
......