Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crime page 완료 #8

Open
wants to merge 1 commit into
base: front-end
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 65 additions & 13 deletions crimeList.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<style>
body {
margin: 0px;
background-color: #fff9f1;
background-color: white;
}

button {
Expand All @@ -27,7 +27,7 @@
}

.title {
color: #ff7777;
color: #f77;
font-weight: bold;
font-size: 23px;
}
Expand All @@ -37,7 +37,7 @@
}

.btn {
color: #ff7777;
color: #f77;
font-weight: bold;
font-size: 19px;
margin-left: 20px;
Expand All @@ -51,6 +51,52 @@
display: flex;
padding-top: 80px;
}

.container {
display: flex;
flex-direction: column;
margin-right: 60px;
margin-left: 60px;
margin-top: 30px;
}

.crimeContent {
display: flex;
justify-content: flex-start;
}

#bar2 {
display: flex;
align-items: center;
justify-content: center;
background-color: #ff7777;
color: white;
font-size: 18px;
font-weight: 800;
border-radius: 15px;
height: 45px;
width: 150px;
}

#bar1,
#bar3 {
display: flex;
align-items: center;
justify-content: center;
background-color: #eeeeee;
color: #818181;
font-size: 18px;
font-weight: 800;
border-radius: 15px;
height: 45px;
width: 150px;
}

#bar1:hover,
#bar3:hover {
background-color: #ff7777;
color: white;
}
</style>
</head>

Expand All @@ -67,20 +113,26 @@
</div>
</div>

<div class="main-view">
<img
style="
display: flex;
justify-content: flex-start;
width: 500px;
margin-left: 30px;
"
src="img/crimeList.png"
/>
<div class="container">
<div class="crimeContent">
<p style="margin-right: 20px" id="bar1">전국 범죄지도</p>
<p style="margin-right: 20px" id="bar2">지역 범죄순위</p>
<p id="bar3">지역 신고센터</p>
</div>
</div>
</body>

<script>
const GotoCrimeMap = document.getElementById("bar1");
GotoCrimeMap.addEventListener("click", function () {
window.location.href = "crimeMap.html";
});

const GotoCrimeReport = document.getElementById("bar3");
GotoCrimeReport.addEventListener("click", function () {
window.location.href = "crimeReport.html";
});

const GotoMypage = document.getElementById("gotomypage");

GotoMypage.addEventListener("click", function () {
Expand Down
72 changes: 62 additions & 10 deletions crimeMap.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,52 @@
display: flex;
padding-top: 80px;
}

.container {
display: flex;
flex-direction: column;
margin-right: 60px;
margin-left: 60px;
margin-top: 30px;
}

.crimeContent {
display: flex;
justify-content: flex-start;
}

#bar1 {
display: flex;
align-items: center;
justify-content: center;
background-color: #ff7777;
color: white;
font-size: 18px;
font-weight: 800;
border-radius: 15px;
height: 45px;
width: 150px;
}

#bar2,
#bar3 {
display: flex;
align-items: center;
justify-content: center;
background-color: #eeeeee;
color: #818181;
font-size: 18px;
font-weight: 800;
border-radius: 15px;
height: 45px;
width: 150px;
}

#bar2:hover,
#bar3:hover {
background-color: #ff7777;
color: white;
}
</style>
</head>

Expand All @@ -67,20 +113,26 @@
</div>
</div>

<div class="main-view">
<img
style="
display: flex;
justify-content: flex-start;
width: 500px;
margin-left: 30px;
"
src="img/crimeMap.png"
/>
<div class="container">
<div class="crimeContent">
<p style="margin-right: 20px" id="bar1">전국 범죄지도</p>
<p style="margin-right: 20px" id="bar2">지역 범죄순위</p>
<p id="bar3">지역 신고센터</p>
</div>
</div>
</body>

<script>
const GotoCrimeList = document.getElementById("bar2");
GotoCrimeList.addEventListener("click", function () {
window.location.href = "crimeList.html";
});

const GotoCrimeReport = document.getElementById("bar3");
GotoCrimeList.addEventListener("click", function () {
window.location.href = "crimeReport.html";
});

const GotoMypage = document.getElementById("gotomypage");

GotoMypage.addEventListener("click", function () {
Expand Down
78 changes: 65 additions & 13 deletions crimeReport.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<style>
body {
margin: 0px;
background-color: #fff9f1;
background-color: white;
}

button {
Expand All @@ -27,7 +27,7 @@
}

.title {
color: #ff7777;
color: #f77;
font-weight: bold;
font-size: 23px;
}
Expand All @@ -37,7 +37,7 @@
}

.btn {
color: #ff7777;
color: #f77;
font-weight: bold;
font-size: 19px;
margin-left: 20px;
Expand All @@ -51,6 +51,52 @@
display: flex;
padding-top: 80px;
}

.container {
display: flex;
flex-direction: column;
margin-right: 60px;
margin-left: 60px;
margin-top: 30px;
}

.crimeContent {
display: flex;
justify-content: flex-start;
}

#bar3 {
display: flex;
align-items: center;
justify-content: center;
background-color: #ff7777;
color: white;
font-size: 18px;
font-weight: 800;
border-radius: 15px;
height: 45px;
width: 150px;
}

#bar2,
#bar1 {
display: flex;
align-items: center;
justify-content: center;
background-color: #eeeeee;
color: #818181;
font-size: 18px;
font-weight: 800;
border-radius: 15px;
height: 45px;
width: 150px;
}

#bar2:hover,
#bar1:hover {
background-color: #ff7777;
color: white;
}
</style>
</head>

Expand All @@ -67,20 +113,26 @@
</div>
</div>

<div class="main-view">
<img
style="
display: flex;
justify-content: flex-start;
width: 500px;
margin-left: 30px;
"
src="img/crimeReport.png"
/>
<div class="container">
<div class="crimeContent">
<p style="margin-right: 20px" id="bar1">전국 범죄지도</p>
<p style="margin-right: 20px" id="bar2">지역 범죄순위</p>
<p id="bar3">지역 신고센터</p>
</div>
</div>
</body>

<script>
const GotoCrimeList = document.getElementById("bar2");
GotoCrimeList.addEventListener("click", function () {
window.location.href = "crimeList.html";
});

const GotoCrimeMap = document.getElementById("bar1");
GotoCrimeMap.addEventListener("click", function () {
window.location.href = "crimeMap.html";
});

const GotoMypage = document.getElementById("gotomypage");

GotoMypage.addEventListener("click", function () {
Expand Down