fix: 해돋이·첫눈 지도 다듬기 — 그림 귀퉁이의 단풍잎 장식이 잘려 보이던 것(오른쪽은 위·아래 귀퉁이만 잘라 독도는 남김), 해돋이 지도 색을 살구빛 바탕·주황빛 땅으로, 처음 화면에서 한 단계 더 축소(울릉도·독도까지 전체 보기)

This commit is contained in:
skkim committed 2026-11-20 11:44:26 +09:00
1 parent d7dfc1ba82
commit 0578c127d5
7 files changed
+31 -24

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@ import { ICON_R, LABEL, MAP_SRC, md, placeLabels, PROVINCE, PROVINCES, labelBoxe
import { PostFrame } from './Post'
import { useSheet } from './sheetContext'
import { SunriseSpotShare } from './shareCards'
import { clock, COAST, CROP_IMG, cropXY, SUN_LABEL_INK, SUN_MAP_IMG, SUN_SHADOW, sunriseHeadline, useSunrise } from './sunrise'
import { clock, COAST, CROP_IMG, cropXY, SUN_LABEL_INK, SUN_MAP_IMG, SUN_PAPER, SUN_SHADOW, sunriseHeadline, useSunrise } from './sunrise'
import { SendIcon } from './svg'
import { Ic } from './ui'
import { track } from '../lib/analytics'
@@ -84,7 +84,7 @@ export function SunriseCard({ post }: { post?: PostReaction | null }) {
const ranked = spots.slice(0, RANK_N)
return (
<PostFrame title="해돋이 지도" account="해돋이 지도" avatar="sun" pinned={{ key: 'foliage_post', post }} caption={`가장 이른 곳: ${spots.slice(0, 3).map((m) => `${m.name} ${clock(m.rise)}`).join(' · ')}`}>
<div className="b-keep-bg relative bg-[#fff6ea] px-4 pt-4 pb-3 text-[#28304a]">
<div className={cx('b-keep-bg relative px-4 pt-4 pb-3 text-[#28304a]', SUN_PAPER)}>
<p className="m-0 text-[13px] font-extrabold opacity-75">해돋이 지도 · {when}</p>
<p className="m-0 mt-1 font-jua text-[24px] leading-tight">{sunriseHeadline(day, spots)}</p>
<div className="relative mt-1">
@@ -95,7 +95,7 @@ export function SunriseCard({ post }: { post?: PostReaction | null }) {
<div className="flex">
<div className="min-w-0 shrink-0 grow-0 basis-full">
{/* 그림의 빈 가장자리는 잘라 쓴다(CROP_IMG) */}
<div ref={mapRef} onClick={tapMap} className="b-keep-bg relative mx-auto aspect-square w-full overflow-hidden bg-[#fff6ea]">
<div ref={mapRef} onClick={tapMap} className={cx('b-keep-bg relative mx-auto aspect-square w-full overflow-hidden', SUN_PAPER)}>
<img src={MAP_SRC} alt="" className={SUN_MAP_IMG} style={CROP_IMG} />
{provs.map((v) => (
<span key={v.name} aria-hidden="true" className={PROVINCE} style={{ left: v.x, top: v.y }}>