Toggle navigation
Toggle navigation
This project
Loading...
Sign in
양주미
/
favorite_restaurant
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Jumi Yang
2022-05-23 15:59:22 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1ee3895b612f573d90895bf6be52331db46c03ea
1ee3895b
1 parent
187f9d54
Delete on main branch
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
160 deletions
index.html
script.js
style.css
index.html
deleted
100644 → 0
View file @
187f9d5
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title>
맛집지도
</title>
<meta
name=
"author"
content=
"양주미"
/>
<meta
name=
"description"
content=
"맛집지도 서비스"
/>
<meta
name=
"keywords"
content=
"맛집지도, 맛집추천, 실시간채팅"
/>
<link
rel=
"stylesheet"
href=
"style.css"
/>
</head>
<body>
<nav>
<div
class=
"inner"
>
<div
class=
"nav-container"
>
<h1
class=
"nav-title"
>
맛집지도
</h1>
<button
class=
"nav-contact"
>
Contact
</button>
</div>
</div>
</nav>
<main>
<section
id=
"category"
>
<div
class=
"inner"
>
<div
class=
"category-container"
>
<h2
class=
"category-title"
>
💜맛집지도 카테고리를 선택해보세요💜
</h2>
<div
class=
"category-list"
>
<button
class=
"category-item"
>
한식🍚
</button
><button
class=
"category-item"
>
중식🍜
</button
><button
class=
"category-item"
>
일식🍙
</button
><button
class=
"category-item"
>
양식🍝
</button
><button
class=
"category-item"
>
분식🍭
</button
><button
class=
"category-item"
>
구이🍖
</button
><button
class=
"category-item"
>
회/초밥🍣
</button
><button
class=
"category-item"
>
기타🍴
</button>
</div>
</div>
</div>
</section>
<!-- 카테고리 -->
<div
id=
"map"
class=
"inner"
></div>
<!-- 카카오지도 -->
</main>
<script
type=
"text/javascript"
src=
"//dapi.kakao.com/v2/maps/sdk.js?appkey=2263ae9eb197ad864a94eb1ed7b912c9"
>
</script>
<script
src=
"script.js"
></script>
</body>
</html>
\ No newline at end of file
script.js
deleted
100644 → 0
View file @
187f9d5
var
container
=
document
.
getElementById
(
'map'
);
//지도를 담을 영역의 DOM 레퍼런스
var
options
=
{
//지도를 생성할 때 필요한 기본 옵션
center
:
new
kakao
.
maps
.
LatLng
(
33.450701
,
126.570667
),
//지도의 중심좌표.
level
:
3
//지도의 레벨(확대, 축소 정도)
};
var
map
=
new
kakao
.
maps
.
Map
(
container
,
options
);
//지도 생성 및 객체 리턴
\ No newline at end of file
style.css
deleted
100644 → 0
View file @
187f9d5
@font-face
{
font-family
:
'Noto Sans KR'
,
sans-serif
;
src
:
url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap')
;
font-weight
:
normal
;
font-style
:
normal
;
}
*
{
padding
:
0
;
margin
:
0
;
box-sizing
:
border-box
;
}
html
{
font-size
:
10px
;
font-family
:
'Noto Sans KR'
,
sans-serif
;
}
nav
{
/* background-color: #e69a06; */
}
.nav-container
{
padding
:
1rem
0
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
}
.nav-title
{
font-size
:
2.5rem
;
color
:
rebeccapurple
;
}
.nav-contact
{
font-size
:
1.5rem
;
border
:
0
;
background
:
none
;
cursor
:
pointer
;
font-family
:
inherit
;
color
:
lightslategray
;
}
.category-title
{
font-size
:
2rem
;
}
.category-item
{
width
:
25%
;
height
:
5rem
;
background
:
none
;
border
:
none
;
font-family
:
inherit
;
font-size
:
1.6rem
;
}
.category-item
:hover
{
color
:
#e69a06
;
cursor
:
pointer
;
}
.inner
{
padding
:
0
1.5rem
;
}
@media
all
and
(
min-width
:
1024px
)
{
.inner
{
max-width
:
1024px
;
margin
:
0
auto
;
}
}
/* 카카오맵 CSS */
body
{
height
:
100vh
;
}
nav
{
height
:
59px
;
}
main
{
padding-top
:
1.5rem
;
height
:
calc
(
100%
-
59px
);
display
:
flex
;
flex-direction
:
column
;
}
#map
{
flex-grow
:
1
;
width
:
100%
;
height
:
100%
;
}
\ No newline at end of file
Please
register
or
login
to post a comment