Skip to content

Commit ddd5346

Browse files
authored
Merge pull request #31 from AtThePlace1/develop
Develop: 모달창 z-index 값 부여
2 parents c3e131a + 7afdb0c commit ddd5346

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/_components/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function Modal() {
1414
if (!isOpen) return null;
1515

1616
return (
17-
<div className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50">
17+
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50">
1818
<div className="relative rounded bg-white p-4 shadow-lg">{content}</div>
1919
</div>
2020
);

src/app/_components/StaticMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface StaticMapProps {
66
}
77

88
export default function StaticMap({ latitude, longitude }: StaticMapProps) {
9-
const mapUrl = `https://naveropenapi.apigw.ntruss.com/map-static/v2/raster?w=300&h=200&&center=${longitude},${latitude}&level=16&scale=2&format=png&markers=type:d|size:small|pos:${longitude} ${latitude}&X-NCP-APIGW-API-KEY-ID=${process.env.NEXT_PUBLIC_NAVER_ID_KEY}&X-NCP-APIGW-API-KEY=${process.env.NEXT_PUBLIC_NAVER_MAP_KEY}`;
9+
const mapUrl = `https://naveropenapi.apigw.ntruss.com/map-static/v2/raster?w=300&h=200&&center=${longitude},${latitude}&level=16&format=png&markers=type:d|size:small|pos:${longitude} ${latitude}&X-NCP-APIGW-API-KEY-ID=${process.env.NEXT_PUBLIC_NAVER_ID_KEY}&X-NCP-APIGW-API-KEY=${process.env.NEXT_PUBLIC_NAVER_MAP_KEY}`;
1010

1111
return (
1212
<div className="flexCenter h-full w-full">

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function Home() {
2121
/>
2222
<ul className="mt-3 flex flex-col items-center gap-10 rounded-xl bg-bgColor/70 p-6">
2323
<li className="flexCenter flex-col gap-1 text-center">
24-
<h3 className="font-serif font-semibold">All the place you need</h3>
24+
<h2 className="font-serif font-semibold">All the place you need</h2>
2525
<p className="text-sm">오직 당신을 위한 맞춤형 카페 찾기 플랫폼</p>
2626
</li>
2727
<li className="mainStyle">

0 commit comments

Comments
 (0)