Spaces:
Running
Running
Sync DemoService 600a5ecb8af1e02339d5d678b616d987d54f5c9f
Browse files- .gitattributes +2 -0
- main/app/_components/ActiveRunGuard.tsx +4 -4
- main/app/_components/LeafletMap.tsx +1 -0
- main/app/_components/LeafletMapClient.tsx +3 -2
- main/app/_components/LoginRequiredDialog.tsx +3 -3
- main/app/_components/ManualRouteMapClient.tsx +1 -1
- main/app/_components/MotionDialog.tsx +7 -0
- main/app/_components/NavigationLoadingOverlay.tsx +1 -1
- main/app/_components/NearbySampleRoutesCard.tsx +6 -6
- main/app/_components/RunStartNoticeModal.tsx +1 -1
- main/app/_components/SideNav.tsx +3 -3
- main/app/_components/WearableConnectionStatus.tsx +4 -4
- main/app/_components/WebLocationPermission.tsx +3 -3
- main/app/_components/YouTubeAudioPlayer.tsx +10 -10
- main/app/change-password/page.tsx +4 -4
- main/app/community/new/page.tsx +1 -1
- main/app/globals.css +42 -32
- main/app/layout.tsx +6 -3
- main/app/loading-preview/page.tsx +2 -2
- main/app/lobby/page.tsx +17 -17
- main/app/login/page.tsx +13 -13
- main/app/manual-route/page.tsx +2 -2
- main/app/my-posts/page.tsx +12 -12
- main/app/mypage/page.tsx +9 -9
- main/app/page.tsx +1 -1
- main/app/password-reset/page.tsx +4 -4
- main/app/recent-shared-routes/page.tsx +17 -17
- main/app/route-results/page.tsx +3 -3
- main/app/route-search/page.tsx +36 -38
- main/app/route/[id]/page.tsx +5 -5
- main/app/run/[id]/finish/page.tsx +23 -23
- main/app/run/[id]/page.tsx +18 -17
- main/app/running-profile/page.tsx +13 -13
- main/app/saved-routes/page.tsx +3 -3
- main/app/signup/page.tsx +7 -7
- main/app/stats/complete-number/page.tsx +17 -17
- main/app/stats/page.tsx +11 -11
- main/app/stats/total-length/page.tsx +10 -10
- main/app/stats/total-time/page.tsx +10 -10
- main/app/trend-routes/page.tsx +9 -9
- main/public/fonts/nanum-square-round/NanumSquareRoundB.woff2 +3 -0
- main/public/fonts/nanum-square-round/NanumSquareRoundR.woff2 +3 -0
- main/public/fonts/nanum-square-round/OFL.txt +91 -0
- main/public/fonts/nanum-square-round/README.md +19 -0
- main/public/icon.svg +1 -1
- main/public/manifest.webmanifest +1 -1
- main/public/placeholders/logo.svg +1 -1
- main/public/placeholders/social-login.svg +5 -5
- main/tailwind.config.js +1 -0
- main/tests/runBackground.browser.cjs +1 -1
.gitattributes
CHANGED
|
@@ -49,3 +49,5 @@ main/public/lobby-backgrounds/cloudy-illustration.png filter=lfs diff=lfs merge=
|
|
| 49 |
main/public/lobby-backgrounds/rainy-illustration.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
main/public/lobby-backgrounds/snowy-illustration.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
main/public/lobby-backgrounds/sunny-illustration.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 49 |
main/public/lobby-backgrounds/rainy-illustration.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
main/public/lobby-backgrounds/snowy-illustration.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
main/public/lobby-backgrounds/sunny-illustration.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
main/public/fonts/nanum-square-round/NanumSquareRoundB.woff2 filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
main/public/fonts/nanum-square-round/NanumSquareRoundR.woff2 filter=lfs diff=lfs merge=lfs -text
|
main/app/_components/ActiveRunGuard.tsx
CHANGED
|
@@ -152,25 +152,25 @@ export default function ActiveRunGuard({ children }: { children: ReactNode }) {
|
|
| 152 |
<h2 id="active-run-resume-title" className="text-lg font-bold text-black">
|
| 153 |
์งํ ์ค์ด๋ ๋ฌ๋์ด ์์ด์
|
| 154 |
</h2>
|
| 155 |
-
<p className="mt-2 text-sm leading-6 text-[#
|
| 156 |
์ด์ ์ ์ข
๋ฃ๋์ง ์์ ๋ฌ๋ ๊ธฐ๋ก์ ์ฐพ์์ต๋๋ค. ์ด์ด์ ์งํํ ๊น์?
|
| 157 |
</p>
|
| 158 |
{resumeCandidate ? (
|
| 159 |
-
<p className="mt-3 rounded-lg bg-[#
|
| 160 |
{resumeCandidate.distanceKm.toFixed(2)}km ยท {elapsedMinutes}๋ถ ์งํ
|
| 161 |
</p>
|
| 162 |
) : null}
|
| 163 |
<div className="mt-6 flex gap-3">
|
| 164 |
<button
|
| 165 |
type="button"
|
| 166 |
-
className="min-h-11 flex-1 rounded-lg border border-black/10 px-4 text-sm font-bold text-[#
|
| 167 |
onClick={continueWithoutResuming}
|
| 168 |
>
|
| 169 |
๋์ค์
|
| 170 |
</button>
|
| 171 |
<button
|
| 172 |
type="button"
|
| 173 |
-
className="min-h-11 flex-1 rounded-lg bg-[#
|
| 174 |
onClick={resumeRun}
|
| 175 |
>
|
| 176 |
๋ฌ๋ ์ฌ๊ฐ
|
|
|
|
| 152 |
<h2 id="active-run-resume-title" className="text-lg font-bold text-black">
|
| 153 |
์งํ ์ค์ด๋ ๋ฌ๋์ด ์์ด์
|
| 154 |
</h2>
|
| 155 |
+
<p className="mt-2 text-sm leading-6 text-[#525252]">
|
| 156 |
์ด์ ์ ์ข
๋ฃ๋์ง ์์ ๋ฌ๋ ๊ธฐ๋ก์ ์ฐพ์์ต๋๋ค. ์ด์ด์ ์งํํ ๊น์?
|
| 157 |
</p>
|
| 158 |
{resumeCandidate ? (
|
| 159 |
+
<p className="mt-3 rounded-lg bg-[#fafafa] px-3 py-2 text-sm font-semibold text-[#111111]">
|
| 160 |
{resumeCandidate.distanceKm.toFixed(2)}km ยท {elapsedMinutes}๋ถ ์งํ
|
| 161 |
</p>
|
| 162 |
) : null}
|
| 163 |
<div className="mt-6 flex gap-3">
|
| 164 |
<button
|
| 165 |
type="button"
|
| 166 |
+
className="min-h-11 flex-1 rounded-lg border border-black/10 px-4 text-sm font-bold text-[#525252] transition hover:bg-black/5"
|
| 167 |
onClick={continueWithoutResuming}
|
| 168 |
>
|
| 169 |
๋์ค์
|
| 170 |
</button>
|
| 171 |
<button
|
| 172 |
type="button"
|
| 173 |
+
className="min-h-11 flex-1 rounded-lg bg-[#111111] px-4 text-sm font-bold text-white transition hover:bg-[#111111]"
|
| 174 |
onClick={resumeRun}
|
| 175 |
>
|
| 176 |
๋ฌ๋ ์ฌ๊ฐ
|
main/app/_components/LeafletMap.tsx
CHANGED
|
@@ -14,6 +14,7 @@ export type MapMarker = {
|
|
| 14 |
position: [number, number];
|
| 15 |
title: string;
|
| 16 |
count?: number;
|
|
|
|
| 17 |
kind?: "location" | "routeStart" | "communityPost" | "sampleDog" | "sampleStar" | "sampleTshirt" | "sampleHeart";
|
| 18 |
};
|
| 19 |
|
|
|
|
| 14 |
position: [number, number];
|
| 15 |
title: string;
|
| 16 |
count?: number;
|
| 17 |
+
color?: string;
|
| 18 |
kind?: "location" | "routeStart" | "communityPost" | "sampleDog" | "sampleStar" | "sampleTshirt" | "sampleHeart";
|
| 19 |
};
|
| 20 |
|
main/app/_components/LeafletMapClient.tsx
CHANGED
|
@@ -25,6 +25,7 @@ type MapMarker = {
|
|
| 25 |
position: [number, number];
|
| 26 |
title: string;
|
| 27 |
count?: number;
|
|
|
|
| 28 |
kind?: "location" | "routeStart" | "communityPost" | "sampleDog" | "sampleStar" | "sampleTshirt" | "sampleHeart";
|
| 29 |
};
|
| 30 |
|
|
@@ -240,8 +241,8 @@ export default function LeafletMapClient({
|
|
| 240 |
: isSample
|
| 241 |
? `<div style="display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:2px solid ${selected ? "#111111" : "#ffffff"};background:${marker.kind === "sampleDog" ? "#f97316" : marker.kind === "sampleTshirt" ? "#0d9488" : marker.kind === "sampleHeart" ? "#e11d48" : "#a855f7"};color:#ffffff;font-size:17px;font-weight:800;box-shadow:0 3px 10px rgba(0,0,0,.24)">${marker.kind === "sampleDog" ? "๐" : marker.kind === "sampleTshirt" ? "๐" : marker.kind === "sampleHeart" ? "โฅ" : "โ
"}</div>`
|
| 242 |
: isCommunityPost
|
| 243 |
-
? `<div style="display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border-radius:17px;border:2px solid ${selected ? "#111111" : "#ffffff"};background:${selected ? "#111111" : "#
|
| 244 |
-
: `<div style="display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border-radius:17px;border:2px solid ${selected ? "#111111" : "#ffffff"};background:${selected ? "#111111" : "#
|
| 245 |
return {
|
| 246 |
marker,
|
| 247 |
icon: divIcon({
|
|
|
|
| 25 |
position: [number, number];
|
| 26 |
title: string;
|
| 27 |
count?: number;
|
| 28 |
+
color?: string;
|
| 29 |
kind?: "location" | "routeStart" | "communityPost" | "sampleDog" | "sampleStar" | "sampleTshirt" | "sampleHeart";
|
| 30 |
};
|
| 31 |
|
|
|
|
| 241 |
: isSample
|
| 242 |
? `<div style="display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:2px solid ${selected ? "#111111" : "#ffffff"};background:${marker.kind === "sampleDog" ? "#f97316" : marker.kind === "sampleTshirt" ? "#0d9488" : marker.kind === "sampleHeart" ? "#e11d48" : "#a855f7"};color:#ffffff;font-size:17px;font-weight:800;box-shadow:0 3px 10px rgba(0,0,0,.24)">${marker.kind === "sampleDog" ? "๐" : marker.kind === "sampleTshirt" ? "๐" : marker.kind === "sampleHeart" ? "โฅ" : "โ
"}</div>`
|
| 243 |
: isCommunityPost
|
| 244 |
+
? `<div style="display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border-radius:17px;border:2px solid ${selected ? "#111111" : "#ffffff"};background:${selected ? "#111111" : marker.color ?? "#111111"};color:#ffffff;font-size:12px;font-weight:800;box-shadow:0 3px 10px rgba(0,0,0,.24)">P${count}</div>`
|
| 245 |
+
: `<div style="display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border-radius:17px;border:2px solid ${selected ? "#111111" : "#ffffff"};background:${selected ? "#111111" : "#e5e5e5"};color:${selected ? "#ffffff" : "#111111"};font-size:12px;font-weight:700;box-shadow:0 3px 10px rgba(0,0,0,.24)">${count}</div>`;
|
| 246 |
return {
|
| 247 |
marker,
|
| 248 |
icon: divIcon({
|
main/app/_components/LoginRequiredDialog.tsx
CHANGED
|
@@ -22,20 +22,20 @@ export default function LoginRequiredDialog({
|
|
| 22 |
<h2 id="login-required-title" className="text-lg font-bold text-black">
|
| 23 |
๋ก๊ทธ์ธ์ด ํ์ํด์
|
| 24 |
</h2>
|
| 25 |
-
<p className="mt-2 text-sm leading-6 text-[#
|
| 26 |
๋ก๊ทธ์ธ ํ ์ด์ฉํ ์ ์์ด์. ๋ก๊ทธ์ธ ํ๋ฉด์ผ๋ก ์ด๋ํ ๊น์?
|
| 27 |
</p>
|
| 28 |
<div className="mt-6 flex gap-3">
|
| 29 |
<button
|
| 30 |
type="button"
|
| 31 |
-
className="min-h-11 flex-1 rounded-lg border border-black/10 px-4 text-sm font-bold text-[#
|
| 32 |
onClick={onDismiss}
|
| 33 |
>
|
| 34 |
๋์ค์
|
| 35 |
</button>
|
| 36 |
<button
|
| 37 |
type="button"
|
| 38 |
-
className="min-h-11 flex-1 rounded-lg bg-[#
|
| 39 |
onClick={() => router.push("/login")}
|
| 40 |
>
|
| 41 |
๋ก๊ทธ์ธํ๊ธฐ
|
|
|
|
| 22 |
<h2 id="login-required-title" className="text-lg font-bold text-black">
|
| 23 |
๋ก๊ทธ์ธ์ด ํ์ํด์
|
| 24 |
</h2>
|
| 25 |
+
<p className="mt-2 text-sm leading-6 text-[#525252]">
|
| 26 |
๋ก๊ทธ์ธ ํ ์ด์ฉํ ์ ์์ด์. ๋ก๊ทธ์ธ ํ๋ฉด์ผ๋ก ์ด๋ํ ๊น์?
|
| 27 |
</p>
|
| 28 |
<div className="mt-6 flex gap-3">
|
| 29 |
<button
|
| 30 |
type="button"
|
| 31 |
+
className="min-h-11 flex-1 rounded-lg border border-black/10 px-4 text-sm font-bold text-[#525252] transition hover:bg-black/5"
|
| 32 |
onClick={onDismiss}
|
| 33 |
>
|
| 34 |
๋์ค์
|
| 35 |
</button>
|
| 36 |
<button
|
| 37 |
type="button"
|
| 38 |
+
className="min-h-11 flex-1 rounded-lg bg-[#111111] px-4 text-sm font-bold text-white transition hover:bg-[#111111]"
|
| 39 |
onClick={() => router.push("/login")}
|
| 40 |
>
|
| 41 |
๋ก๊ทธ์ธํ๊ธฐ
|
main/app/_components/ManualRouteMapClient.tsx
CHANGED
|
@@ -230,7 +230,7 @@ export default function ManualRouteMapClient({
|
|
| 230 |
divIcon({
|
| 231 |
className: "manual-current-location-marker",
|
| 232 |
html:
|
| 233 |
-
'<div style="height:18px;width:18px;border-radius:9999px;background:#
|
| 234 |
iconSize: [18, 18],
|
| 235 |
iconAnchor: [9, 9],
|
| 236 |
}),
|
|
|
|
| 230 |
divIcon({
|
| 231 |
className: "manual-current-location-marker",
|
| 232 |
html:
|
| 233 |
+
'<div style="height:18px;width:18px;border-radius:9999px;background:#111111;border:3px solid white;box-shadow:0 0 0 2px rgba(117, 117, 117,0.35);"></div>',
|
| 234 |
iconSize: [18, 18],
|
| 235 |
iconAnchor: [9, 9],
|
| 236 |
}),
|
main/app/_components/MotionDialog.tsx
CHANGED
|
@@ -13,6 +13,7 @@ export default function MotionDialog({
|
|
| 13 |
keepMounted = false,
|
| 14 |
slide = false,
|
| 15 |
swipeToDismiss = false,
|
|
|
|
| 16 |
onDismiss,
|
| 17 |
}: {
|
| 18 |
open: boolean;
|
|
@@ -24,6 +25,7 @@ export default function MotionDialog({
|
|
| 24 |
keepMounted?: boolean;
|
| 25 |
slide?: boolean;
|
| 26 |
swipeToDismiss?: boolean;
|
|
|
|
| 27 |
onDismiss?: () => void;
|
| 28 |
}) {
|
| 29 |
const handlePanelDragEnd = (
|
|
@@ -49,6 +51,11 @@ export default function MotionDialog({
|
|
| 49 |
animate={{ opacity: open ? 1 : 0 }}
|
| 50 |
exit={{ opacity: 0 }}
|
| 51 |
transition={motionPresets.overlay}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
>
|
| 53 |
<motion.div
|
| 54 |
className={panelClassName}
|
|
|
|
| 13 |
keepMounted = false,
|
| 14 |
slide = false,
|
| 15 |
swipeToDismiss = false,
|
| 16 |
+
dismissOnBackdrop = false,
|
| 17 |
onDismiss,
|
| 18 |
}: {
|
| 19 |
open: boolean;
|
|
|
|
| 25 |
keepMounted?: boolean;
|
| 26 |
slide?: boolean;
|
| 27 |
swipeToDismiss?: boolean;
|
| 28 |
+
dismissOnBackdrop?: boolean;
|
| 29 |
onDismiss?: () => void;
|
| 30 |
}) {
|
| 31 |
const handlePanelDragEnd = (
|
|
|
|
| 51 |
animate={{ opacity: open ? 1 : 0 }}
|
| 52 |
exit={{ opacity: 0 }}
|
| 53 |
transition={motionPresets.overlay}
|
| 54 |
+
onClick={(event) => {
|
| 55 |
+
if (dismissOnBackdrop && event.target === event.currentTarget) {
|
| 56 |
+
onDismiss?.();
|
| 57 |
+
}
|
| 58 |
+
}}
|
| 59 |
>
|
| 60 |
<motion.div
|
| 61 |
className={panelClassName}
|
main/app/_components/NavigationLoadingOverlay.tsx
CHANGED
|
@@ -567,7 +567,7 @@ export default function NavigationLoadingOverlay() {
|
|
| 567 |
aria-hidden="true"
|
| 568 |
>
|
| 569 |
<motion.div
|
| 570 |
-
className="h-full origin-left bg-[#
|
| 571 |
initial={{ scaleX: 0 }}
|
| 572 |
animate={{ scaleX: hasProgress ? progressPercent / 100 : 0 }}
|
| 573 |
transition={{ duration: 0.18, ease: [0.16, 1, 0.3, 1] }}
|
|
|
|
| 567 |
aria-hidden="true"
|
| 568 |
>
|
| 569 |
<motion.div
|
| 570 |
+
className="h-full origin-left bg-[#111111]"
|
| 571 |
initial={{ scaleX: 0 }}
|
| 572 |
animate={{ scaleX: hasProgress ? progressPercent / 100 : 0 }}
|
| 573 |
transition={{ duration: 0.18, ease: [0.16, 1, 0.3, 1] }}
|
main/app/_components/NearbySampleRoutesCard.tsx
CHANGED
|
@@ -133,7 +133,7 @@ export default function NearbySampleRoutesCard({
|
|
| 133 |
opacity: 0.65,
|
| 134 |
}))
|
| 135 |
: selectedPost?.map?.polyline && selectedPost.map.polyline.length > 1
|
| 136 |
-
? [{ points: selectedPost.map.polyline, color: "#
|
| 137 |
: [];
|
| 138 |
|
| 139 |
useEffect(() => {
|
|
@@ -197,10 +197,10 @@ export default function NearbySampleRoutesCard({
|
|
| 197 |
|
| 198 |
return (
|
| 199 |
<section id={id} className="overflow-hidden rounded-[28px] border border-black/10 bg-white shadow-[0_18px_45px_rgba(0,0,0,0.06)]">
|
| 200 |
-
<div className="relative h-[330px] bg-[#
|
| 201 |
{isWaitingForLocation ? (
|
| 202 |
-
<div className="flex h-full w-full flex-col items-center justify-center gap-3 bg-[#
|
| 203 |
-
<div className="h-9 w-9 animate-spin rounded-full border-4 border-[#
|
| 204 |
<p className="text-sm font-bold text-[#111]">ํ์ฌ ์์น ํ์ธ ์ค</p>
|
| 205 |
<p className="max-w-[260px] text-xs leading-5 text-[#666]">์์น ๊ถํ์ ํ์ฉํ๋ฉด ๋ด ์ฃผ๋ณ ์ง๋๋ก ๋ฐ๋ก ์ด๋ํฉ๋๋ค.</p>
|
| 206 |
</div>
|
|
@@ -231,7 +231,7 @@ export default function NearbySampleRoutesCard({
|
|
| 231 |
type="button"
|
| 232 |
aria-pressed={mapLocation === "result"}
|
| 233 |
onClick={() => setMapLocation("result")}
|
| 234 |
-
className={`min-h-9 rounded-full px-3 text-xs font-bold transition ${mapLocation === "result" ? "bg-[#
|
| 235 |
>
|
| 236 |
ํ์ฌ ๊ฒฐ๊ณผ
|
| 237 |
</button>
|
|
@@ -239,7 +239,7 @@ export default function NearbySampleRoutesCard({
|
|
| 239 |
type="button"
|
| 240 |
aria-pressed={mapLocation === "gangnam"}
|
| 241 |
onClick={() => setMapLocation("gangnam")}
|
| 242 |
-
className={`min-h-9 rounded-full px-3 text-xs font-bold transition ${mapLocation === "gangnam" ? "bg-[#
|
| 243 |
>
|
| 244 |
๊ฐ๋จ ์ํ
|
| 245 |
</button>
|
|
|
|
| 133 |
opacity: 0.65,
|
| 134 |
}))
|
| 135 |
: selectedPost?.map?.polyline && selectedPost.map.polyline.length > 1
|
| 136 |
+
? [{ points: selectedPost.map.polyline, color: "#111111", weight: 5, opacity: 0.9 }]
|
| 137 |
: [];
|
| 138 |
|
| 139 |
useEffect(() => {
|
|
|
|
| 197 |
|
| 198 |
return (
|
| 199 |
<section id={id} className="overflow-hidden rounded-[28px] border border-black/10 bg-white shadow-[0_18px_45px_rgba(0,0,0,0.06)]">
|
| 200 |
+
<div className="relative h-[330px] bg-[#f5f5f5] sm:h-[420px]">
|
| 201 |
{isWaitingForLocation ? (
|
| 202 |
+
<div className="flex h-full w-full flex-col items-center justify-center gap-3 bg-[#fafafa] px-6 text-center">
|
| 203 |
+
<div className="h-9 w-9 animate-spin rounded-full border-4 border-[#e5e5e5] border-t-[#111111]" />
|
| 204 |
<p className="text-sm font-bold text-[#111]">ํ์ฌ ์์น ํ์ธ ์ค</p>
|
| 205 |
<p className="max-w-[260px] text-xs leading-5 text-[#666]">์์น ๊ถํ์ ํ์ฉํ๋ฉด ๋ด ์ฃผ๋ณ ์ง๋๋ก ๋ฐ๋ก ์ด๋ํฉ๋๋ค.</p>
|
| 206 |
</div>
|
|
|
|
| 231 |
type="button"
|
| 232 |
aria-pressed={mapLocation === "result"}
|
| 233 |
onClick={() => setMapLocation("result")}
|
| 234 |
+
className={`min-h-9 rounded-full px-3 text-xs font-bold transition ${mapLocation === "result" ? "bg-[#111111] text-white" : "text-[#111111] hover:bg-[#fafafa]"}`}
|
| 235 |
>
|
| 236 |
ํ์ฌ ๊ฒฐ๊ณผ
|
| 237 |
</button>
|
|
|
|
| 239 |
type="button"
|
| 240 |
aria-pressed={mapLocation === "gangnam"}
|
| 241 |
onClick={() => setMapLocation("gangnam")}
|
| 242 |
+
className={`min-h-9 rounded-full px-3 text-xs font-bold transition ${mapLocation === "gangnam" ? "bg-[#111111] text-white" : "text-[#111111] hover:bg-[#fafafa]"}`}
|
| 243 |
>
|
| 244 |
๊ฐ๋จ ์ํ
|
| 245 |
</button>
|
main/app/_components/RunStartNoticeModal.tsx
CHANGED
|
@@ -70,7 +70,7 @@ export default function RunStartNoticeModal({
|
|
| 70 |
๋ค๋ง ์์น ์ฌ๋ฐ์, ์์น GPS, ํฐ-์์น ์ค์๊ฐ ์ฐ๋, ์์น์์์ ์ผ์์ ์ง/์ฌ๊ฐ/์ข
๋ฃ
|
| 71 |
๋๊ธฐํ๋ Android ์ฑ์์๋ง ์ฌ์ฉํ ์ ์์ต๋๋ค.
|
| 72 |
</p>
|
| 73 |
-
<p className="rounded-xl bg-[#
|
| 74 |
์น์ผ๋ก ๊ณ์ํ๋ฉด ์ฌ๋ฐ์์ฒ๋ผ ๋ธ๋ผ์ฐ์ ์์ ์ฝ์ ์ ์๋ ์ ๋ณด๋ ํ์๋์ง ์๊ฑฐ๋
|
| 75 |
์ถ์ ๊ฐ์ผ๋ก ํ์๋ ์ ์์ต๋๋ค.
|
| 76 |
</p>
|
|
|
|
| 70 |
๋ค๋ง ์์น ์ฌ๋ฐ์, ์์น GPS, ํฐ-์์น ์ค์๊ฐ ์ฐ๋, ์์น์์์ ์ผ์์ ์ง/์ฌ๊ฐ/์ข
๋ฃ
|
| 71 |
๋๊ธฐํ๋ Android ์ฑ์์๋ง ์ฌ์ฉํ ์ ์์ต๋๋ค.
|
| 72 |
</p>
|
| 73 |
+
<p className="rounded-xl bg-[#fafafa] px-3 py-2 text-xs text-[#666]">
|
| 74 |
์น์ผ๋ก ๊ณ์ํ๋ฉด ์ฌ๋ฐ์์ฒ๋ผ ๋ธ๋ผ์ฐ์ ์์ ์ฝ์ ์ ์๋ ์ ๋ณด๋ ํ์๋์ง ์๊ฑฐ๋
|
| 75 |
์ถ์ ๊ฐ์ผ๋ก ํ์๋ ์ ์์ต๋๋ค.
|
| 76 |
</p>
|
main/app/_components/SideNav.tsx
CHANGED
|
@@ -313,7 +313,7 @@ export default function SideNav({
|
|
| 313 |
</div>
|
| 314 |
|
| 315 |
<div className="flex-1 overflow-y-auto px-3 py-3 pb-24">
|
| 316 |
-
<div className="mb-4 border-b border-[#
|
| 317 |
<p className="text-xs text-black/60">์๋
ํ์ธ์</p>
|
| 318 |
<p className="mt-1 text-sm font-bold text-black">{displayName}</p>
|
| 319 |
</div>
|
|
@@ -329,9 +329,9 @@ export default function SideNav({
|
|
| 329 |
const itemClassName = [
|
| 330 |
"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-sm font-medium",
|
| 331 |
isLogout
|
| 332 |
-
? "mt-1 border-t border-[#
|
| 333 |
: isActive
|
| 334 |
-
? "bg-
|
| 335 |
: "text-black/70 hover:bg-black/5",
|
| 336 |
].join(" ");
|
| 337 |
|
|
|
|
| 313 |
</div>
|
| 314 |
|
| 315 |
<div className="flex-1 overflow-y-auto px-3 py-3 pb-24">
|
| 316 |
+
<div className="mb-4 border-b border-[#e5e5e5] pb-3">
|
| 317 |
<p className="text-xs text-black/60">์๋
ํ์ธ์</p>
|
| 318 |
<p className="mt-1 text-sm font-bold text-black">{displayName}</p>
|
| 319 |
</div>
|
|
|
|
| 329 |
const itemClassName = [
|
| 330 |
"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-sm font-medium",
|
| 331 |
isLogout
|
| 332 |
+
? "mt-1 border-t border-[#e5e5e5] pt-2.5 text-neutral-700 hover:bg-neutral-100"
|
| 333 |
: isActive
|
| 334 |
+
? "bg-neutral-50 text-neutral-600"
|
| 335 |
: "text-black/70 hover:bg-black/5",
|
| 336 |
].join(" ");
|
| 337 |
|
main/app/_components/WearableConnectionStatus.tsx
CHANGED
|
@@ -78,11 +78,11 @@ export default function WearableConnectionStatus() {
|
|
| 78 |
};
|
| 79 |
const [title, detail] = labels[state];
|
| 80 |
|
| 81 |
-
return <section className="rounded-2xl border border-[#
|
| 82 |
<div className="flex items-center justify-between gap-3">
|
| 83 |
-
<div className="flex min-w-0 items-center gap-2"><span className={`h-2.5 w-2.5 shrink-0 rounded-full ${connected ? "bg-[#18a957]" : paired ? "bg-[#e9a23b]" : "bg-[#
|
| 84 |
-
<button type="button" onClick={state === "bridge-unavailable" ? reconnectNativeWearBridge : refresh} className="shrink-0 rounded-lg border border-black/10 bg-white px-2.5 py-1.5 text-xs font-semibold text-[#
|
| 85 |
</div>
|
| 86 |
-
{status?.sessionActive && <p className="mt-2 text-xs text-[#
|
| 87 |
</section>;
|
| 88 |
}
|
|
|
|
| 78 |
};
|
| 79 |
const [title, detail] = labels[state];
|
| 80 |
|
| 81 |
+
return <section className="rounded-2xl border border-[#e5e5e5] bg-[#fafafa] px-4 py-3 shadow-sm" aria-live="polite">
|
| 82 |
<div className="flex items-center justify-between gap-3">
|
| 83 |
+
<div className="flex min-w-0 items-center gap-2"><span className={`h-2.5 w-2.5 shrink-0 rounded-full ${connected ? "bg-[#18a957]" : paired ? "bg-[#e9a23b]" : "bg-[#a3a3a3]"}`} /><div><p className="text-sm font-semibold text-black">{title}</p><p className="mt-0.5 text-xs text-[#525252]">{detail}</p></div></div>
|
| 84 |
+
<button type="button" onClick={state === "bridge-unavailable" ? reconnectNativeWearBridge : refresh} className="shrink-0 rounded-lg border border-black/10 bg-white px-2.5 py-1.5 text-xs font-semibold text-[#111111]">{state === "bridge-unavailable" ? "์ฑ ํต์ ๋ณต๊ตฌ" : "์๋ก๊ณ ์นจ"}</button>
|
| 85 |
</div>
|
| 86 |
+
{status?.sessionActive && <p className="mt-2 text-xs text-[#525252]">ํ์ฌ ๋ฌ๋ ์ธ์
์์น ์์ : {status.sessionReceived ? "ํ์ธ๋จ" : "์์ง ํ์ธ๋์ง ์์"}</p>}
|
| 87 |
</section>;
|
| 88 |
}
|
main/app/_components/WebLocationPermission.tsx
CHANGED
|
@@ -173,7 +173,7 @@ export default function WebLocationPermission({ onPosition, onBusyChange }: {
|
|
| 173 |
onClick={() => requestRef.current()}
|
| 174 |
aria-label={busy ? "ํ์ฌ ์์น ํ์ธ ์ค" : "ํ์ฌ ์์น ๋ค์ ํ์ธ"}
|
| 175 |
title={busy ? "ํ์ฌ ์์น ํ์ธ ์ค" : "ํ์ฌ ์์น ๋ค์ ํ์ธ"}
|
| 176 |
-
className="inline-flex size-8 shrink-0 items-center justify-center rounded-full bg-
|
| 177 |
>
|
| 178 |
<svg aria-hidden="true" viewBox="0 0 24 24" className="size-4" fill="none" stroke="currentColor" strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round">
|
| 179 |
<path d="M12 21s6-5.1 6-11a6 6 0 1 0-12 0c0 5.9 6 11 6 11Z" />
|
|
@@ -182,7 +182,7 @@ export default function WebLocationPermission({ onPosition, onBusyChange }: {
|
|
| 182 |
</button>
|
| 183 |
) : (
|
| 184 |
<button type="button" disabled={busy} onClick={() => requestRef.current()}
|
| 185 |
-
className="mt-3 min-h-11 rounded-xl bg-
|
| 186 |
{busy ? "ํ์ฌ ์์น ํ์ธ ์คโฆ" : "์์น ๊ถํ ์์ฒญ / ๋ค์ ํ์ธ"}
|
| 187 |
</button>
|
| 188 |
);
|
|
@@ -198,7 +198,7 @@ export default function WebLocationPermission({ onPosition, onBusyChange }: {
|
|
| 198 |
return (
|
| 199 |
<>
|
| 200 |
<section aria-label={nativeApp ? "์ฑ ์์น ๊ถํ" : "์น ์์น ๊ถํ"} data-location-status={status}
|
| 201 |
-
className="rounded-2xl border border-
|
| 202 |
<div className="flex items-center justify-between gap-3">
|
| 203 |
<h2 className="font-bold">{nativeApp ? "์ฑ ์์น ๊ถํ" : "์น ์์น ๊ถํ"} {status === "granted" ? "ยท ํ์ฉ๋จ" : "ยท ํ์ธ ํ์"}</h2>
|
| 204 |
{status === "granted" ? requestButton : null}
|
|
|
|
| 173 |
onClick={() => requestRef.current()}
|
| 174 |
aria-label={busy ? "ํ์ฌ ์์น ํ์ธ ์ค" : "ํ์ฌ ์์น ๋ค์ ํ์ธ"}
|
| 175 |
title={busy ? "ํ์ฌ ์์น ํ์ธ ์ค" : "ํ์ฌ ์์น ๋ค์ ํ์ธ"}
|
| 176 |
+
className="inline-flex size-8 shrink-0 items-center justify-center rounded-full bg-black text-white transition active:scale-95 disabled:opacity-60"
|
| 177 |
>
|
| 178 |
<svg aria-hidden="true" viewBox="0 0 24 24" className="size-4" fill="none" stroke="currentColor" strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round">
|
| 179 |
<path d="M12 21s6-5.1 6-11a6 6 0 1 0-12 0c0 5.9 6 11 6 11Z" />
|
|
|
|
| 182 |
</button>
|
| 183 |
) : (
|
| 184 |
<button type="button" disabled={busy} onClick={() => requestRef.current()}
|
| 185 |
+
className="mt-3 min-h-11 rounded-xl bg-black px-4 py-2 text-sm font-bold text-white disabled:opacity-60">
|
| 186 |
{busy ? "ํ์ฌ ์์น ํ์ธ ์คโฆ" : "์์น ๊ถํ ์์ฒญ / ๋ค์ ํ์ธ"}
|
| 187 |
</button>
|
| 188 |
);
|
|
|
|
| 198 |
return (
|
| 199 |
<>
|
| 200 |
<section aria-label={nativeApp ? "์ฑ ์์น ๊ถํ" : "์น ์์น ๊ถํ"} data-location-status={status}
|
| 201 |
+
className="rounded-2xl border border-black/15 bg-white p-4 text-sm text-black">
|
| 202 |
<div className="flex items-center justify-between gap-3">
|
| 203 |
<h2 className="font-bold">{nativeApp ? "์ฑ ์์น ๊ถํ" : "์น ์์น ๊ถํ"} {status === "granted" ? "ยท ํ์ฉ๋จ" : "ยท ํ์ธ ํ์"}</h2>
|
| 204 |
{status === "granted" ? requestButton : null}
|
main/app/_components/YouTubeAudioPlayer.tsx
CHANGED
|
@@ -806,7 +806,7 @@ export default function YouTubeAudioPlayer({
|
|
| 806 |
<div
|
| 807 |
className={
|
| 808 |
className ??
|
| 809 |
-
`rounded-2xl border border-[#
|
| 810 |
compact ? "px-3 py-3" : "px-4 py-4"
|
| 811 |
}`
|
| 812 |
}
|
|
@@ -825,7 +825,7 @@ export default function YouTubeAudioPlayer({
|
|
| 825 |
step={1}
|
| 826 |
value={Math.min(currentSec, Math.max(durationSec, 1))}
|
| 827 |
onChange={(event) => handleSeek(Number(event.target.value))}
|
| 828 |
-
className="h-2 w-full cursor-pointer appearance-none rounded-full bg-white/40 accent-[#
|
| 829 |
disabled={!activeTrack}
|
| 830 |
/>
|
| 831 |
<div className={`mt-1 flex items-center justify-center font-semibold ${compact ? "text-sm" : "text-[18px]"}`}>
|
|
@@ -843,14 +843,14 @@ export default function YouTubeAudioPlayer({
|
|
| 843 |
step={1}
|
| 844 |
value={volume}
|
| 845 |
onChange={(event) => handleVolumeChange(Number(event.target.value))}
|
| 846 |
-
className="h-2 w-full cursor-pointer appearance-none rounded-full bg-white/40 accent-[#
|
| 847 |
aria-label="๋ณผ๋ฅจ"
|
| 848 |
disabled={!activeTrack}
|
| 849 |
/>
|
| 850 |
</div>
|
| 851 |
</div>
|
| 852 |
|
| 853 |
-
<div className="overflow-hidden rounded-md border border-white/20 bg-[#
|
| 854 |
<div className="aspect-square w-full">
|
| 855 |
{thumbnailUrl ? (
|
| 856 |
<img
|
|
@@ -891,7 +891,7 @@ export default function YouTubeAudioPlayer({
|
|
| 891 |
<button
|
| 892 |
type="button"
|
| 893 |
onClick={handleToggle}
|
| 894 |
-
className={`inline-flex items-center justify-center rounded-full bg-white text-[#
|
| 895 |
aria-label={playing ? "์ผ์์ ์ง" : "์ฌ์"}
|
| 896 |
disabled={!activeTrack}
|
| 897 |
>
|
|
@@ -926,7 +926,7 @@ export default function YouTubeAudioPlayer({
|
|
| 926 |
aria-pressed={repeatMode === "one"}
|
| 927 |
className={`rounded-md px-3 py-1.5 text-xs font-semibold ${
|
| 928 |
repeatMode === "one"
|
| 929 |
-
? "bg-white text-[#
|
| 930 |
: "border border-white/40 text-white"
|
| 931 |
}`}
|
| 932 |
>
|
|
@@ -938,7 +938,7 @@ export default function YouTubeAudioPlayer({
|
|
| 938 |
aria-pressed={repeatMode === "all"}
|
| 939 |
className={`rounded-md px-3 py-1.5 text-xs font-semibold ${
|
| 940 |
repeatMode === "all"
|
| 941 |
-
? "bg-white text-[#
|
| 942 |
: "border border-white/40 text-white"
|
| 943 |
}`}
|
| 944 |
>
|
|
@@ -950,7 +950,7 @@ export default function YouTubeAudioPlayer({
|
|
| 950 |
aria-pressed={shuffleEnabled}
|
| 951 |
className={`rounded-md px-3 py-1.5 text-xs font-semibold disabled:opacity-50 ${
|
| 952 |
shuffleEnabled
|
| 953 |
-
? "bg-white text-[#
|
| 954 |
: "border border-white/40 text-white"
|
| 955 |
}`}
|
| 956 |
disabled={baseTracks.length <= 1}
|
|
@@ -960,7 +960,7 @@ export default function YouTubeAudioPlayer({
|
|
| 960 |
<button
|
| 961 |
type="button"
|
| 962 |
onClick={() => void openPlaylistPanel()}
|
| 963 |
-
className="rounded-md bg-white px-3 py-1.5 text-xs font-semibold text-[#
|
| 964 |
disabled={playlistLoading}
|
| 965 |
>
|
| 966 |
์ฌ์๋ชฉ๋ก
|
|
@@ -991,7 +991,7 @@ export default function YouTubeAudioPlayer({
|
|
| 991 |
<AnimatePresence>
|
| 992 |
{playlistPanelOpen ? (
|
| 993 |
<motion.div
|
| 994 |
-
className="mt-3 overflow-hidden rounded-lg border border-white/20 bg-[#
|
| 995 |
initial={{ opacity: 0, y: -8, scale: 0.99 }}
|
| 996 |
animate={{ opacity: 1, y: 0, scale: 1 }}
|
| 997 |
exit={{ opacity: 0, y: -5, scale: 0.995 }}
|
|
|
|
| 806 |
<div
|
| 807 |
className={
|
| 808 |
className ??
|
| 809 |
+
`rounded-2xl border border-[#404040] bg-[#262626] text-white shadow-[inset_0_0_0_1px_rgba(255,255,255,0.05)] ${
|
| 810 |
compact ? "px-3 py-3" : "px-4 py-4"
|
| 811 |
}`
|
| 812 |
}
|
|
|
|
| 825 |
step={1}
|
| 826 |
value={Math.min(currentSec, Math.max(durationSec, 1))}
|
| 827 |
onChange={(event) => handleSeek(Number(event.target.value))}
|
| 828 |
+
className="h-2 w-full cursor-pointer appearance-none rounded-full bg-white/40 accent-[#d4d4d4]"
|
| 829 |
disabled={!activeTrack}
|
| 830 |
/>
|
| 831 |
<div className={`mt-1 flex items-center justify-center font-semibold ${compact ? "text-sm" : "text-[18px]"}`}>
|
|
|
|
| 843 |
step={1}
|
| 844 |
value={volume}
|
| 845 |
onChange={(event) => handleVolumeChange(Number(event.target.value))}
|
| 846 |
+
className="h-2 w-full cursor-pointer appearance-none rounded-full bg-white/40 accent-[#d4d4d4]"
|
| 847 |
aria-label="๋ณผ๋ฅจ"
|
| 848 |
disabled={!activeTrack}
|
| 849 |
/>
|
| 850 |
</div>
|
| 851 |
</div>
|
| 852 |
|
| 853 |
+
<div className="overflow-hidden rounded-md border border-white/20 bg-[#171717]">
|
| 854 |
<div className="aspect-square w-full">
|
| 855 |
{thumbnailUrl ? (
|
| 856 |
<img
|
|
|
|
| 891 |
<button
|
| 892 |
type="button"
|
| 893 |
onClick={handleToggle}
|
| 894 |
+
className={`inline-flex items-center justify-center rounded-full bg-white text-[#262626] disabled:opacity-50 ${compact ? "h-10 w-10" : "h-12 w-12"}`}
|
| 895 |
aria-label={playing ? "์ผ์์ ์ง" : "์ฌ์"}
|
| 896 |
disabled={!activeTrack}
|
| 897 |
>
|
|
|
|
| 926 |
aria-pressed={repeatMode === "one"}
|
| 927 |
className={`rounded-md px-3 py-1.5 text-xs font-semibold ${
|
| 928 |
repeatMode === "one"
|
| 929 |
+
? "bg-white text-[#262626]"
|
| 930 |
: "border border-white/40 text-white"
|
| 931 |
}`}
|
| 932 |
>
|
|
|
|
| 938 |
aria-pressed={repeatMode === "all"}
|
| 939 |
className={`rounded-md px-3 py-1.5 text-xs font-semibold ${
|
| 940 |
repeatMode === "all"
|
| 941 |
+
? "bg-white text-[#262626]"
|
| 942 |
: "border border-white/40 text-white"
|
| 943 |
}`}
|
| 944 |
>
|
|
|
|
| 950 |
aria-pressed={shuffleEnabled}
|
| 951 |
className={`rounded-md px-3 py-1.5 text-xs font-semibold disabled:opacity-50 ${
|
| 952 |
shuffleEnabled
|
| 953 |
+
? "bg-white text-[#262626]"
|
| 954 |
: "border border-white/40 text-white"
|
| 955 |
}`}
|
| 956 |
disabled={baseTracks.length <= 1}
|
|
|
|
| 960 |
<button
|
| 961 |
type="button"
|
| 962 |
onClick={() => void openPlaylistPanel()}
|
| 963 |
+
className="rounded-md bg-white px-3 py-1.5 text-xs font-semibold text-[#262626]"
|
| 964 |
disabled={playlistLoading}
|
| 965 |
>
|
| 966 |
์ฌ์๋ชฉ๋ก
|
|
|
|
| 991 |
<AnimatePresence>
|
| 992 |
{playlistPanelOpen ? (
|
| 993 |
<motion.div
|
| 994 |
+
className="mt-3 overflow-hidden rounded-lg border border-white/20 bg-[#404040] p-3"
|
| 995 |
initial={{ opacity: 0, y: -8, scale: 0.99 }}
|
| 996 |
animate={{ opacity: 1, y: 0, scale: 1 }}
|
| 997 |
exit={{ opacity: 0, y: -5, scale: 0.995 }}
|
main/app/change-password/page.tsx
CHANGED
|
@@ -184,7 +184,7 @@ export default function ChangePasswordPage() {
|
|
| 184 |
<style jsx>{`
|
| 185 |
.page {
|
| 186 |
min-height: 100vh;
|
| 187 |
-
background: #
|
| 188 |
}
|
| 189 |
|
| 190 |
.body {
|
|
@@ -252,7 +252,7 @@ export default function ChangePasswordPage() {
|
|
| 252 |
|
| 253 |
.valueBox:focus {
|
| 254 |
outline: none;
|
| 255 |
-
box-shadow: 0 0 0 2px #
|
| 256 |
}
|
| 257 |
|
| 258 |
.errorMsg {
|
|
@@ -297,14 +297,14 @@ export default function ChangePasswordPage() {
|
|
| 297 |
padding: 10px 16px;
|
| 298 |
border-radius: 8px;
|
| 299 |
border: none;
|
| 300 |
-
background: #
|
| 301 |
color: white;
|
| 302 |
cursor: pointer;
|
| 303 |
font-weight: 500;
|
| 304 |
}
|
| 305 |
|
| 306 |
.confirmButton:hover {
|
| 307 |
-
background: #
|
| 308 |
}
|
| 309 |
|
| 310 |
.confirmButton:disabled {
|
|
|
|
| 184 |
<style jsx>{`
|
| 185 |
.page {
|
| 186 |
min-height: 100vh;
|
| 187 |
+
background: #fafafa;
|
| 188 |
}
|
| 189 |
|
| 190 |
.body {
|
|
|
|
| 252 |
|
| 253 |
.valueBox:focus {
|
| 254 |
outline: none;
|
| 255 |
+
box-shadow: 0 0 0 2px #111111;
|
| 256 |
}
|
| 257 |
|
| 258 |
.errorMsg {
|
|
|
|
| 297 |
padding: 10px 16px;
|
| 298 |
border-radius: 8px;
|
| 299 |
border: none;
|
| 300 |
+
background: #111111;
|
| 301 |
color: white;
|
| 302 |
cursor: pointer;
|
| 303 |
font-weight: 500;
|
| 304 |
}
|
| 305 |
|
| 306 |
.confirmButton:hover {
|
| 307 |
+
background: #111111;
|
| 308 |
}
|
| 309 |
|
| 310 |
.confirmButton:disabled {
|
main/app/community/new/page.tsx
CHANGED
|
@@ -353,7 +353,7 @@ function CommunityNewPageContent() {
|
|
| 353 |
panelClassName="w-full max-w-sm rounded-2xl bg-white p-6 text-center shadow-xl"
|
| 354 |
role="status"
|
| 355 |
>
|
| 356 |
-
<div className="mx-auto h-8 w-8 animate-spin rounded-full border-4 border-[#
|
| 357 |
<p className="mt-4 text-base font-bold text-black">๊ฒ์๊ธ์ ์ ์ฅํ๊ณ ์์ด์</p>
|
| 358 |
<p className="mt-1 text-sm text-[#666]">์๋ฃ๋ ๋๊น์ง ์ ์๋ง ๊ธฐ๋ค๋ ค ์ฃผ์ธ์.</p>
|
| 359 |
</MotionDialog>
|
|
|
|
| 353 |
panelClassName="w-full max-w-sm rounded-2xl bg-white p-6 text-center shadow-xl"
|
| 354 |
role="status"
|
| 355 |
>
|
| 356 |
+
<div className="mx-auto h-8 w-8 animate-spin rounded-full border-4 border-[#f5f5f5] border-t-[#111111]" />
|
| 357 |
<p className="mt-4 text-base font-bold text-black">๊ฒ์๊ธ์ ์ ์ฅํ๊ณ ์์ด์</p>
|
| 358 |
<p className="mt-1 text-sm text-[#666]">์๋ฃ๋ ๋๊น์ง ์ ์๋ง ๊ธฐ๋ค๋ ค ์ฃผ์ธ์.</p>
|
| 359 |
</MotionDialog>
|
main/app/globals.css
CHANGED
|
@@ -3,42 +3,34 @@
|
|
| 3 |
@tailwind utilities;
|
| 4 |
|
| 5 |
@font-face {
|
| 6 |
-
font-family: "
|
| 7 |
font-style: normal;
|
| 8 |
-
font-weight:
|
| 9 |
font-display: swap;
|
| 10 |
-
src: url("
|
| 11 |
}
|
| 12 |
|
| 13 |
@font-face {
|
| 14 |
-
font-family: "
|
| 15 |
font-style: normal;
|
| 16 |
-
font-weight:
|
| 17 |
font-display: swap;
|
| 18 |
-
src: url("
|
| 19 |
-
}
|
| 20 |
-
|
| 21 |
-
@font-face {
|
| 22 |
-
font-family: "Gmarket Sans";
|
| 23 |
-
font-style: normal;
|
| 24 |
-
font-weight: 700;
|
| 25 |
-
font-display: swap;
|
| 26 |
-
src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff");
|
| 27 |
}
|
| 28 |
|
| 29 |
:root {
|
| 30 |
-
--rts-font-sans: "
|
| 31 |
--rts-font-heading: var(--rts-font-sans);
|
| 32 |
--rts-app-background: linear-gradient(180deg, rgba(237, 240, 235, 0.52) 0%, rgba(247, 248, 244, 0.78) 52%, rgba(255, 255, 255, 0.92) 100%), url("/lobby-backgrounds/cloudy-illustration.png");
|
| 33 |
}
|
| 34 |
|
| 35 |
:root[data-rts-theme="night"] .rts-app-topbar {
|
| 36 |
-
border-color: rgba(
|
| 37 |
-
background: rgba(
|
| 38 |
}
|
| 39 |
|
| 40 |
:root[data-rts-theme="night"] .rts-app-topbar h1 {
|
| 41 |
-
color: #
|
| 42 |
}
|
| 43 |
|
| 44 |
:root[data-rts-theme="night"] .rts-app-bottomnav {
|
|
@@ -52,7 +44,7 @@
|
|
| 52 |
}
|
| 53 |
|
| 54 |
:root[data-rts-theme="night"] .rts-page {
|
| 55 |
-
color: #
|
| 56 |
}
|
| 57 |
|
| 58 |
:root[data-rts-theme="night"] .rts-page .rts-card,
|
|
@@ -66,23 +58,23 @@
|
|
| 66 |
:root[data-rts-theme="night"] .rts-page [class~="bg-white/80"],
|
| 67 |
:root[data-rts-theme="night"] .rts-page [class~="bg-white/70"],
|
| 68 |
:root[data-rts-theme="night"] .rts-page [class~="bg-white/95"] {
|
| 69 |
-
border-color: rgba(
|
| 70 |
-
background-color: rgba(
|
| 71 |
-
box-shadow: 0 14px 34px rgba(
|
| 72 |
}
|
| 73 |
|
| 74 |
:root[data-rts-theme="night"] .rts-page .text-black,
|
| 75 |
-
:root[data-rts-theme="night"] .rts-page [class*="text-[#
|
| 76 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#111"],
|
| 77 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#16211B"] {
|
| 78 |
-
color: #
|
| 79 |
}
|
| 80 |
|
| 81 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#63736A"],
|
| 82 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#3D4A42"],
|
| 83 |
-
:root[data-rts-theme="night"] .rts-page [class*="text-[#
|
| 84 |
-
:root[data-rts-theme="night"] .rts-page [class*="text-[#
|
| 85 |
-
color: #
|
| 86 |
}
|
| 87 |
|
| 88 |
@layer base {
|
|
@@ -92,6 +84,10 @@
|
|
| 92 |
box-sizing: border-box;
|
| 93 |
}
|
| 94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
body {
|
| 96 |
margin: 0;
|
| 97 |
font-family: var(--rts-font-sans);
|
|
@@ -110,6 +106,7 @@
|
|
| 110 |
select,
|
| 111 |
textarea {
|
| 112 |
@apply appearance-none bg-transparent border-0 outline-none;
|
|
|
|
| 113 |
}
|
| 114 |
|
| 115 |
img {
|
|
@@ -119,6 +116,19 @@
|
|
| 119 |
}
|
| 120 |
}
|
| 121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
@layer components {
|
| 123 |
.all-\[unset\] {
|
| 124 |
all: unset;
|
|
@@ -149,8 +159,8 @@
|
|
| 149 |
--rts-muted-2: #8a8a8a;
|
| 150 |
--rts-line: #e5e5e5;
|
| 151 |
--rts-line-strong: #111111;
|
| 152 |
-
--rts-accent: #
|
| 153 |
-
--rts-accent-soft: #
|
| 154 |
--rts-card-radius: 28px;
|
| 155 |
--rts-inner-radius: 18px;
|
| 156 |
--rts-shell: 1120px;
|
|
@@ -364,8 +374,8 @@
|
|
| 364 |
.rts-input:focus,
|
| 365 |
.rts-select:focus,
|
| 366 |
.rts-textarea:focus {
|
| 367 |
-
border-color: #
|
| 368 |
-
box-shadow: 0 0 0 3px rgba(
|
| 369 |
}
|
| 370 |
|
| 371 |
.rts-primary-button,
|
|
@@ -390,7 +400,7 @@
|
|
| 390 |
.rts-primary-button {
|
| 391 |
border: 0;
|
| 392 |
background: var(--rts-accent);
|
| 393 |
-
color:
|
| 394 |
}
|
| 395 |
|
| 396 |
.rts-primary-button:active,
|
|
|
|
| 3 |
@tailwind utilities;
|
| 4 |
|
| 5 |
@font-face {
|
| 6 |
+
font-family: "NanumSquareRound";
|
| 7 |
font-style: normal;
|
| 8 |
+
font-weight: 100 500;
|
| 9 |
font-display: swap;
|
| 10 |
+
src: url("/fonts/nanum-square-round/NanumSquareRoundR.woff2") format("woff2");
|
| 11 |
}
|
| 12 |
|
| 13 |
@font-face {
|
| 14 |
+
font-family: "NanumSquareRound";
|
| 15 |
font-style: normal;
|
| 16 |
+
font-weight: 600 900;
|
| 17 |
font-display: swap;
|
| 18 |
+
src: url("/fonts/nanum-square-round/NanumSquareRoundB.woff2") format("woff2");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
:root {
|
| 22 |
+
--rts-font-sans: "NanumSquareRound", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
| 23 |
--rts-font-heading: var(--rts-font-sans);
|
| 24 |
--rts-app-background: linear-gradient(180deg, rgba(237, 240, 235, 0.52) 0%, rgba(247, 248, 244, 0.78) 52%, rgba(255, 255, 255, 0.92) 100%), url("/lobby-backgrounds/cloudy-illustration.png");
|
| 25 |
}
|
| 26 |
|
| 27 |
:root[data-rts-theme="night"] .rts-app-topbar {
|
| 28 |
+
border-color: rgba(208, 208, 208, 0.28);
|
| 29 |
+
background: rgba(238, 238, 238, 0.34);
|
| 30 |
}
|
| 31 |
|
| 32 |
:root[data-rts-theme="night"] .rts-app-topbar h1 {
|
| 33 |
+
color: #111111 !important;
|
| 34 |
}
|
| 35 |
|
| 36 |
:root[data-rts-theme="night"] .rts-app-bottomnav {
|
|
|
|
| 44 |
}
|
| 45 |
|
| 46 |
:root[data-rts-theme="night"] .rts-page {
|
| 47 |
+
color: #111111;
|
| 48 |
}
|
| 49 |
|
| 50 |
:root[data-rts-theme="night"] .rts-page .rts-card,
|
|
|
|
| 58 |
:root[data-rts-theme="night"] .rts-page [class~="bg-white/80"],
|
| 59 |
:root[data-rts-theme="night"] .rts-page [class~="bg-white/70"],
|
| 60 |
:root[data-rts-theme="night"] .rts-page [class~="bg-white/95"] {
|
| 61 |
+
border-color: rgba(240, 240, 240, 0.72) !important;
|
| 62 |
+
background-color: rgba(238, 238, 238, 0.70) !important;
|
| 63 |
+
box-shadow: 0 14px 34px rgba(61, 61, 61, 0.16);
|
| 64 |
}
|
| 65 |
|
| 66 |
:root[data-rts-theme="night"] .rts-page .text-black,
|
| 67 |
+
:root[data-rts-theme="night"] .rts-page [class*="text-[#111111"],
|
| 68 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#111"],
|
| 69 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#16211B"] {
|
| 70 |
+
color: #111111 !important;
|
| 71 |
}
|
| 72 |
|
| 73 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#63736A"],
|
| 74 |
:root[data-rts-theme="night"] .rts-page [class*="text-[#3D4A42"],
|
| 75 |
+
:root[data-rts-theme="night"] .rts-page [class*="text-[#525252"],
|
| 76 |
+
:root[data-rts-theme="night"] .rts-page [class*="text-[#737373"] {
|
| 77 |
+
color: #525252 !important;
|
| 78 |
}
|
| 79 |
|
| 80 |
@layer base {
|
|
|
|
| 84 |
box-sizing: border-box;
|
| 85 |
}
|
| 86 |
|
| 87 |
+
html {
|
| 88 |
+
font-family: var(--rts-font-sans);
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
body {
|
| 92 |
margin: 0;
|
| 93 |
font-family: var(--rts-font-sans);
|
|
|
|
| 106 |
select,
|
| 107 |
textarea {
|
| 108 |
@apply appearance-none bg-transparent border-0 outline-none;
|
| 109 |
+
font-family: var(--rts-font-sans);
|
| 110 |
}
|
| 111 |
|
| 112 |
img {
|
|
|
|
| 116 |
}
|
| 117 |
}
|
| 118 |
|
| 119 |
+
.leaflet-container {
|
| 120 |
+
font-family: var(--rts-font-sans);
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.leaflet-container a,
|
| 124 |
+
.leaflet-container .leaflet-control a {
|
| 125 |
+
color: var(--rts-text);
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
.leaflet-container .leaflet-attribution-flag {
|
| 129 |
+
filter: grayscale(1);
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
@layer components {
|
| 133 |
.all-\[unset\] {
|
| 134 |
all: unset;
|
|
|
|
| 159 |
--rts-muted-2: #8a8a8a;
|
| 160 |
--rts-line: #e5e5e5;
|
| 161 |
--rts-line-strong: #111111;
|
| 162 |
+
--rts-accent: #111111;
|
| 163 |
+
--rts-accent-soft: #fafafa;
|
| 164 |
--rts-card-radius: 28px;
|
| 165 |
--rts-inner-radius: 18px;
|
| 166 |
--rts-shell: 1120px;
|
|
|
|
| 374 |
.rts-input:focus,
|
| 375 |
.rts-select:focus,
|
| 376 |
.rts-textarea:focus {
|
| 377 |
+
border-color: #111111;
|
| 378 |
+
box-shadow: 0 0 0 3px rgba(216, 216, 216, 0.8);
|
| 379 |
}
|
| 380 |
|
| 381 |
.rts-primary-button,
|
|
|
|
| 400 |
.rts-primary-button {
|
| 401 |
border: 0;
|
| 402 |
background: var(--rts-accent);
|
| 403 |
+
color: #ffffff;
|
| 404 |
}
|
| 405 |
|
| 406 |
.rts-primary-button:active,
|
main/app/layout.tsx
CHANGED
|
@@ -31,7 +31,7 @@ export const viewport: Viewport = {
|
|
| 31 |
width: "device-width",
|
| 32 |
initialScale: 1,
|
| 33 |
viewportFit: "cover",
|
| 34 |
-
themeColor: "#
|
| 35 |
};
|
| 36 |
|
| 37 |
export default function RootLayout({
|
|
@@ -43,8 +43,11 @@ export default function RootLayout({
|
|
| 43 |
<html lang="ko">
|
| 44 |
<head>
|
| 45 |
<link
|
| 46 |
-
rel="
|
| 47 |
-
href="
|
|
|
|
|
|
|
|
|
|
| 48 |
/>
|
| 49 |
</head>
|
| 50 |
<body>
|
|
|
|
| 31 |
width: "device-width",
|
| 32 |
initialScale: 1,
|
| 33 |
viewportFit: "cover",
|
| 34 |
+
themeColor: "#111111",
|
| 35 |
};
|
| 36 |
|
| 37 |
export default function RootLayout({
|
|
|
|
| 43 |
<html lang="ko">
|
| 44 |
<head>
|
| 45 |
<link
|
| 46 |
+
rel="preload"
|
| 47 |
+
href="/fonts/nanum-square-round/NanumSquareRoundR.woff2"
|
| 48 |
+
as="font"
|
| 49 |
+
type="font/woff2"
|
| 50 |
+
crossOrigin="anonymous"
|
| 51 |
/>
|
| 52 |
</head>
|
| 53 |
<body>
|
main/app/loading-preview/page.tsx
CHANGED
|
@@ -60,7 +60,7 @@ export default function LoadingPreviewPage() {
|
|
| 60 |
<button
|
| 61 |
type="button"
|
| 62 |
onClick={() => startPreview("login")}
|
| 63 |
-
className="h-11 rounded-full bg-[#
|
| 64 |
>
|
| 65 |
๋ก๊ทธ์ธ ํ์
๋ณด๊ธฐ
|
| 66 |
</button>
|
|
@@ -92,7 +92,7 @@ export default function LoadingPreviewPage() {
|
|
| 92 |
|
| 93 |
<Link
|
| 94 |
href="/"
|
| 95 |
-
className="mt-6 inline-flex text-sm text-[#
|
| 96 |
>
|
| 97 |
ํ์ผ๋ก ๋์๊ฐ๊ธฐ
|
| 98 |
</Link>
|
|
|
|
| 60 |
<button
|
| 61 |
type="button"
|
| 62 |
onClick={() => startPreview("login")}
|
| 63 |
+
className="h-11 rounded-full bg-[#111111] text-sm font-semibold text-white"
|
| 64 |
>
|
| 65 |
๋ก๊ทธ์ธ ํ์
๋ณด๊ธฐ
|
| 66 |
</button>
|
|
|
|
| 92 |
|
| 93 |
<Link
|
| 94 |
href="/"
|
| 95 |
+
className="mt-6 inline-flex text-sm text-[#111111] underline underline-offset-2"
|
| 96 |
>
|
| 97 |
ํ์ผ๋ก ๋์๊ฐ๊ธฐ
|
| 98 |
</Link>
|
main/app/lobby/page.tsx
CHANGED
|
@@ -77,9 +77,9 @@ const WEATHER_TEXT: Record<WeatherCondition, { label: string }> = {
|
|
| 77 |
|
| 78 |
const WEATHER_ICON_TONE: Record<WeatherCondition, string> = {
|
| 79 |
sunny: "text-[#F5A524]",
|
| 80 |
-
rainy: "text-[#
|
| 81 |
-
cloudy: "text-[#
|
| 82 |
-
snowy: "text-[#
|
| 83 |
};
|
| 84 |
|
| 85 |
const WEATHER_SCENE: Record<WeatherCondition, { background: string }> = {
|
|
@@ -89,7 +89,7 @@ const WEATHER_SCENE: Record<WeatherCondition, { background: string }> = {
|
|
| 89 |
},
|
| 90 |
rainy: {
|
| 91 |
background:
|
| 92 |
-
"linear-gradient(180deg, rgba(
|
| 93 |
},
|
| 94 |
cloudy: {
|
| 95 |
background:
|
|
@@ -97,13 +97,13 @@ const WEATHER_SCENE: Record<WeatherCondition, { background: string }> = {
|
|
| 97 |
},
|
| 98 |
snowy: {
|
| 99 |
background:
|
| 100 |
-
"linear-gradient(180deg, rgba(
|
| 101 |
},
|
| 102 |
};
|
| 103 |
|
| 104 |
const NIGHT_SCENE = {
|
| 105 |
background:
|
| 106 |
-
"radial-gradient(circle at 78% 14%, rgba(250, 239, 191, 0.46) 0 2%, transparent 12%), linear-gradient(180deg, rgba(
|
| 107 |
};
|
| 108 |
|
| 109 |
const QUICK_ACTIONS = [
|
|
@@ -852,7 +852,7 @@ export default function Page() {
|
|
| 852 |
<button
|
| 853 |
type="button"
|
| 854 |
onClick={handleStartFreeRun}
|
| 855 |
-
className="flex h-11 items-center justify-center gap-1 rounded-xl bg-[#
|
| 856 |
>
|
| 857 |
์์ ๋ฌ๋
|
| 858 |
<ArrowRightIcon className="h-4 w-4" />
|
|
@@ -860,7 +860,7 @@ export default function Page() {
|
|
| 860 |
<button
|
| 861 |
type="button"
|
| 862 |
onClick={handleStartRouteSearch}
|
| 863 |
-
className="flex h-11 items-center justify-center gap-1 rounded-xl bg-[#
|
| 864 |
>
|
| 865 |
์ฝ์ค ๋ง๋ค๊ธฐ
|
| 866 |
<ArrowRightIcon className="h-4 w-4" />
|
|
@@ -884,10 +884,10 @@ export default function Page() {
|
|
| 884 |
className="flex min-h-[64px] flex-col items-center justify-center gap-1 rounded-xl bg-white/72 transition hover:bg-white active:scale-[0.98] sm:min-h-[66px] lg:min-h-[82px] lg:gap-2"
|
| 885 |
aria-label={action.label}
|
| 886 |
>
|
| 887 |
-
<span className="flex h-8 w-8 items-center justify-center text-[#
|
| 888 |
<Icon className="h-5 w-5" />
|
| 889 |
</span>
|
| 890 |
-
<span className="text-[11px] font-semibold text-[#
|
| 891 |
{action.label}
|
| 892 |
</span>
|
| 893 |
</button>
|
|
@@ -898,11 +898,11 @@ export default function Page() {
|
|
| 898 |
|
| 899 |
<section className="rounded-[18px] border border-white/75 bg-white/74 p-3 shadow-sm backdrop-blur-md lg:p-5">
|
| 900 |
<div className="flex items-center justify-between">
|
| 901 |
-
<h2 className="text-base font-bold text-[#
|
| 902 |
<button
|
| 903 |
type="button"
|
| 904 |
onClick={() => void requireLogin(() => router.push("/saved-routes"))}
|
| 905 |
-
className="flex items-center gap-1 rounded-full bg-[#
|
| 906 |
>
|
| 907 |
์ ์ฒด
|
| 908 |
</button>
|
|
@@ -944,7 +944,7 @@ export default function Page() {
|
|
| 944 |
className="isolate overflow-hidden rounded-2xl border border-black/10 bg-white/95 text-left shadow-sm transition hover:shadow-md focus:outline-none focus:ring-2 focus:ring-black/20 active:scale-[0.99] [clip-path:inset(0_round_16px)]"
|
| 945 |
aria-label={isCompletedRoute ? `${route.route_title} ์๋ฃํ ๋ฃจํธ ๋ณด๊ธฐ` : `${route.route_title} ๋ค์ ๋ฌ๋ฆฌ๊ธฐ`}
|
| 946 |
>
|
| 947 |
-
<div className="relative h-14 w-full overflow-hidden rounded-t-2xl bg-[#
|
| 948 |
{hasPolyline ? (
|
| 949 |
<LeafletMap
|
| 950 |
center={mapCenter}
|
|
@@ -972,10 +972,10 @@ export default function Page() {
|
|
| 972 |
</div>
|
| 973 |
|
| 974 |
<div className="flex min-h-[34px] items-center justify-between gap-1.5 rounded-b-2xl border-t border-black/5 bg-white/95 px-2 py-1.5 max-[700px]:min-h-[30px] max-[700px]:py-1 sm:px-3">
|
| 975 |
-
<span className="min-w-0 truncate text-xs font-bold text-[#
|
| 976 |
{formatLabel(route.animal_label)}
|
| 977 |
</span>
|
| 978 |
-
<span className="shrink-0 text-xs font-bold text-[#
|
| 979 |
{formatCompletedAt(route.completed_at)}
|
| 980 |
</span>
|
| 981 |
</div>
|
|
@@ -984,7 +984,7 @@ export default function Page() {
|
|
| 984 |
})}
|
| 985 |
|
| 986 |
{!isRecentLoading && recentRoutes.length === 0 && (
|
| 987 |
-
<div className="rounded-xl border border-dashed border-black/15 bg-[#FAFCFB] px-4 py-8 text-center text-sm font-bold text-[#
|
| 988 |
๊ธฐ๋ก ์์
|
| 989 |
</div>
|
| 990 |
)}
|
|
@@ -1035,7 +1035,7 @@ export default function Page() {
|
|
| 1035 |
type="button"
|
| 1036 |
onClick={handleConfirmAppExit}
|
| 1037 |
disabled={isExitRequested}
|
| 1038 |
-
className="h-12 rounded-xl bg-[#
|
| 1039 |
>
|
| 1040 |
{isExitRequested ? "์ข
๋ฃ ์ค" : "์"}
|
| 1041 |
</button>
|
|
|
|
| 77 |
|
| 78 |
const WEATHER_ICON_TONE: Record<WeatherCondition, string> = {
|
| 79 |
sunny: "text-[#F5A524]",
|
| 80 |
+
rainy: "text-[#111111]",
|
| 81 |
+
cloudy: "text-[#737373]",
|
| 82 |
+
snowy: "text-[#111111]",
|
| 83 |
};
|
| 84 |
|
| 85 |
const WEATHER_SCENE: Record<WeatherCondition, { background: string }> = {
|
|
|
|
| 89 |
},
|
| 90 |
rainy: {
|
| 91 |
background:
|
| 92 |
+
"linear-gradient(180deg, rgba(233, 233, 233, 0.50) 0%, rgba(245, 245, 245, 0.76) 52%, rgba(255, 255, 255, 0.92) 100%), url('/lobby-backgrounds/rainy-illustration.png')",
|
| 93 |
},
|
| 94 |
cloudy: {
|
| 95 |
background:
|
|
|
|
| 97 |
},
|
| 98 |
snowy: {
|
| 99 |
background:
|
| 100 |
+
"linear-gradient(180deg, rgba(239, 239, 239, 0.48) 0%, rgba(249, 249, 249, 0.78) 52%, rgba(255, 255, 255, 0.93) 100%), url('/lobby-backgrounds/snowy-illustration.png')",
|
| 101 |
},
|
| 102 |
};
|
| 103 |
|
| 104 |
const NIGHT_SCENE = {
|
| 105 |
background:
|
| 106 |
+
"radial-gradient(circle at 78% 14%, rgba(250, 239, 191, 0.46) 0 2%, transparent 12%), linear-gradient(180deg, rgba(73, 73, 73, 0.42) 0%, rgba(106, 106, 106, 0.34) 52%, rgba(82, 82, 82, 0.44) 100%), url('/lobby-backgrounds/cloudy-illustration.png')",
|
| 107 |
};
|
| 108 |
|
| 109 |
const QUICK_ACTIONS = [
|
|
|
|
| 852 |
<button
|
| 853 |
type="button"
|
| 854 |
onClick={handleStartFreeRun}
|
| 855 |
+
className="flex h-11 items-center justify-center gap-1 rounded-xl bg-[#111111] px-3 text-xs font-bold text-white shadow-[0_8px_18px_rgba(65, 65, 65,0.18)] transition active:scale-[0.98] sm:h-12 sm:text-sm lg:h-14"
|
| 856 |
>
|
| 857 |
์์ ๋ฌ๋
|
| 858 |
<ArrowRightIcon className="h-4 w-4" />
|
|
|
|
| 860 |
<button
|
| 861 |
type="button"
|
| 862 |
onClick={handleStartRouteSearch}
|
| 863 |
+
className="flex h-11 items-center justify-center gap-1 rounded-xl bg-[#111111] px-3 text-xs font-bold text-white transition hover:bg-[#111111] active:scale-[0.98] sm:h-12 sm:text-sm lg:h-14"
|
| 864 |
>
|
| 865 |
์ฝ์ค ๋ง๋ค๊ธฐ
|
| 866 |
<ArrowRightIcon className="h-4 w-4" />
|
|
|
|
| 884 |
className="flex min-h-[64px] flex-col items-center justify-center gap-1 rounded-xl bg-white/72 transition hover:bg-white active:scale-[0.98] sm:min-h-[66px] lg:min-h-[82px] lg:gap-2"
|
| 885 |
aria-label={action.label}
|
| 886 |
>
|
| 887 |
+
<span className="flex h-8 w-8 items-center justify-center text-[#111111]">
|
| 888 |
<Icon className="h-5 w-5" />
|
| 889 |
</span>
|
| 890 |
+
<span className="text-[11px] font-semibold text-[#404040]">
|
| 891 |
{action.label}
|
| 892 |
</span>
|
| 893 |
</button>
|
|
|
|
| 898 |
|
| 899 |
<section className="rounded-[18px] border border-white/75 bg-white/74 p-3 shadow-sm backdrop-blur-md lg:p-5">
|
| 900 |
<div className="flex items-center justify-between">
|
| 901 |
+
<h2 className="text-base font-bold text-[#111111]">์ต๊ทผ ๋ฃจํธ</h2>
|
| 902 |
<button
|
| 903 |
type="button"
|
| 904 |
onClick={() => void requireLogin(() => router.push("/saved-routes"))}
|
| 905 |
+
className="flex items-center gap-1 rounded-full bg-[#fafafa] px-3 py-1.5 text-xs font-semibold text-[#525252] transition hover:bg-[#f5f5f5] active:scale-[0.98]"
|
| 906 |
>
|
| 907 |
์ ์ฒด
|
| 908 |
</button>
|
|
|
|
| 944 |
className="isolate overflow-hidden rounded-2xl border border-black/10 bg-white/95 text-left shadow-sm transition hover:shadow-md focus:outline-none focus:ring-2 focus:ring-black/20 active:scale-[0.99] [clip-path:inset(0_round_16px)]"
|
| 945 |
aria-label={isCompletedRoute ? `${route.route_title} ์๋ฃํ ๋ฃจํธ ๋ณด๊ธฐ` : `${route.route_title} ๋ค์ ๋ฌ๋ฆฌ๊ธฐ`}
|
| 946 |
>
|
| 947 |
+
<div className="relative h-14 w-full overflow-hidden rounded-t-2xl bg-[#f5f5f5] max-[700px]:h-12 sm:h-[72px]">
|
| 948 |
{hasPolyline ? (
|
| 949 |
<LeafletMap
|
| 950 |
center={mapCenter}
|
|
|
|
| 972 |
</div>
|
| 973 |
|
| 974 |
<div className="flex min-h-[34px] items-center justify-between gap-1.5 rounded-b-2xl border-t border-black/5 bg-white/95 px-2 py-1.5 max-[700px]:min-h-[30px] max-[700px]:py-1 sm:px-3">
|
| 975 |
+
<span className="min-w-0 truncate text-xs font-bold text-[#111111] sm:text-sm">
|
| 976 |
{formatLabel(route.animal_label)}
|
| 977 |
</span>
|
| 978 |
+
<span className="shrink-0 text-xs font-bold text-[#737373]">
|
| 979 |
{formatCompletedAt(route.completed_at)}
|
| 980 |
</span>
|
| 981 |
</div>
|
|
|
|
| 984 |
})}
|
| 985 |
|
| 986 |
{!isRecentLoading && recentRoutes.length === 0 && (
|
| 987 |
+
<div className="rounded-xl border border-dashed border-black/15 bg-[#FAFCFB] px-4 py-8 text-center text-sm font-bold text-[#737373]">
|
| 988 |
๊ธฐ๋ก ์์
|
| 989 |
</div>
|
| 990 |
)}
|
|
|
|
| 1035 |
type="button"
|
| 1036 |
onClick={handleConfirmAppExit}
|
| 1037 |
disabled={isExitRequested}
|
| 1038 |
+
className="h-12 rounded-xl bg-[#111111] text-sm font-bold text-white disabled:opacity-60"
|
| 1039 |
>
|
| 1040 |
{isExitRequested ? "์ข
๋ฃ ์ค" : "์"}
|
| 1041 |
</button>
|
main/app/login/page.tsx
CHANGED
|
@@ -253,7 +253,7 @@ export default function Page() {
|
|
| 253 |
};
|
| 254 |
|
| 255 |
return (
|
| 256 |
-
<main className="rts-auth-page flex h-[100dvh] overflow-hidden px-6 py-4 text-[#
|
| 257 |
<div className="flex w-full max-w-3xl flex-col items-center gap-4 sm:gap-10">
|
| 258 |
<header className="w-full">
|
| 259 |
<Link
|
|
@@ -268,22 +268,22 @@ export default function Page() {
|
|
| 268 |
/>
|
| 269 |
|
| 270 |
<div className="flex flex-col items-center text-center">
|
| 271 |
-
<h1 className="[font-family:'Inter-Bold',Helvetica] font-bold text-[#
|
| 272 |
Run The Shape
|
| 273 |
</h1>
|
| 274 |
-
<p className="[font-family:'Inter-Regular',Helvetica] font-normal text-[#
|
| 275 |
๊ณ์ ์ผ๋ก ๋ฌ๋์ ์์ํ์ธ์
|
| 276 |
</p>
|
| 277 |
</div>
|
| 278 |
</Link>
|
| 279 |
</header>
|
| 280 |
|
| 281 |
-
<section className="w-full max-w-md rounded-2xl border border-white/80 bg-white/88 px-6 py-5 shadow-[0_12px_32px_rgba(
|
| 282 |
<form onSubmit={handleSubmit} noValidate className="flex flex-col items-center gap-4 sm:gap-5">
|
| 283 |
<div className="w-full">
|
| 284 |
<label
|
| 285 |
htmlFor="email"
|
| 286 |
-
className="block text-left [font-family:'Inter-Regular',Helvetica] font-semibold text-[#
|
| 287 |
>
|
| 288 |
์ด๋ฉ์ผ
|
| 289 |
</label>
|
|
@@ -295,14 +295,14 @@ export default function Page() {
|
|
| 295 |
value={email}
|
| 296 |
onChange={(event) => setEmail(event.target.value)}
|
| 297 |
aria-label="์ด๋ฉ์ผ"
|
| 298 |
-
className="mt-2 h-10 w-full rounded-lg border border-[#
|
| 299 |
/>
|
| 300 |
</div>
|
| 301 |
|
| 302 |
<div className="w-full">
|
| 303 |
<label
|
| 304 |
htmlFor="password"
|
| 305 |
-
className="block text-left [font-family:'Inter-Regular',Helvetica] font-semibold text-[#
|
| 306 |
>
|
| 307 |
๋น๋ฐ๋ฒํธ
|
| 308 |
</label>
|
|
@@ -314,13 +314,13 @@ export default function Page() {
|
|
| 314 |
value={password}
|
| 315 |
onChange={(event) => setPassword(event.target.value)}
|
| 316 |
aria-label="๋น๋ฐ๋ฒํธ"
|
| 317 |
-
className="mt-2 h-10 w-full rounded-lg border border-[#
|
| 318 |
/>
|
| 319 |
</div>
|
| 320 |
|
| 321 |
<div className="w-full flex items-center justify-between text-xs">
|
| 322 |
-
<span className="text-[#
|
| 323 |
-
<Link href="/password-reset" className="font-semibold text-
|
| 324 |
๋น๋ฐ๋ฒํธ ์ฌ์ค์
|
| 325 |
</Link>
|
| 326 |
</div>
|
|
@@ -328,7 +328,7 @@ export default function Page() {
|
|
| 328 |
<button
|
| 329 |
type="submit"
|
| 330 |
disabled={isSubmitting || isGoogleSubmitting}
|
| 331 |
-
className="inline-flex h-10 w-full items-center justify-center overflow-hidden rounded-lg bg-
|
| 332 |
aria-label="๋ก๊ทธ์ธ"
|
| 333 |
>
|
| 334 |
<span className="[font-family:'Inter-Bold',Helvetica] font-bold text-white text-xl text-center whitespace-nowrap tracking-[0] leading-[normal]">
|
|
@@ -337,7 +337,7 @@ export default function Page() {
|
|
| 337 |
</button>
|
| 338 |
<Link
|
| 339 |
href="/signup"
|
| 340 |
-
className="-my-2 inline-flex min-h-8 items-center justify-center rounded-md px-3 text-sm font-bold text-
|
| 341 |
>
|
| 342 |
์์ง ๊ณ์ ์ด ์์ผ์ ๊ฐ์? ํ์๊ฐ์
|
| 343 |
</Link>
|
|
@@ -346,7 +346,7 @@ export default function Page() {
|
|
| 346 |
|
| 347 |
<div className="mt-4 flex items-center justify-center gap-3 sm:mt-6" role="separator" aria-label="๋๋">
|
| 348 |
<img className="w-full max-w-[120px] h-px object-cover" alt="" src="/placeholders/line.svg" />
|
| 349 |
-
<div className="[font-family:'Inter-Regular',Helvetica] font-normal text-[#
|
| 350 |
๋๋
|
| 351 |
</div>
|
| 352 |
<img className="w-full max-w-[120px] h-px object-cover" alt="" src="/placeholders/line.svg" />
|
|
|
|
| 253 |
};
|
| 254 |
|
| 255 |
return (
|
| 256 |
+
<main className="rts-auth-page flex h-[100dvh] overflow-hidden px-6 py-4 text-[#111111] sm:px-10 sm:py-10 items-center justify-center">
|
| 257 |
<div className="flex w-full max-w-3xl flex-col items-center gap-4 sm:gap-10">
|
| 258 |
<header className="w-full">
|
| 259 |
<Link
|
|
|
|
| 268 |
/>
|
| 269 |
|
| 270 |
<div className="flex flex-col items-center text-center">
|
| 271 |
+
<h1 className="[font-family:'Inter-Bold',Helvetica] font-bold text-[#111111] text-2xl sm:text-3xl md:text-[34px] tracking-[0] leading-[normal]">
|
| 272 |
Run The Shape
|
| 273 |
</h1>
|
| 274 |
+
<p className="[font-family:'Inter-Regular',Helvetica] font-normal text-[#404040] text-base sm:text-xl tracking-[0] leading-[normal]">
|
| 275 |
๊ณ์ ์ผ๋ก ๋ฌ๋์ ์์ํ์ธ์
|
| 276 |
</p>
|
| 277 |
</div>
|
| 278 |
</Link>
|
| 279 |
</header>
|
| 280 |
|
| 281 |
+
<section className="w-full max-w-md rounded-2xl border border-white/80 bg-white/88 px-6 py-5 shadow-[0_12px_32px_rgba(24, 24, 24,0.08)] backdrop-blur-md sm:px-10 sm:py-8">
|
| 282 |
<form onSubmit={handleSubmit} noValidate className="flex flex-col items-center gap-4 sm:gap-5">
|
| 283 |
<div className="w-full">
|
| 284 |
<label
|
| 285 |
htmlFor="email"
|
| 286 |
+
className="block text-left [font-family:'Inter-Regular',Helvetica] font-semibold text-[#171717] text-sm tracking-[0] leading-[normal]"
|
| 287 |
>
|
| 288 |
์ด๋ฉ์ผ
|
| 289 |
</label>
|
|
|
|
| 295 |
value={email}
|
| 296 |
onChange={(event) => setEmail(event.target.value)}
|
| 297 |
aria-label="์ด๋ฉ์ผ"
|
| 298 |
+
className="mt-2 h-10 w-full rounded-lg border border-[#a3a3a3] bg-white px-3 text-[#111111] [font-family:'Inter-Regular',Helvetica] text-sm placeholder:text-[#737373] focus:border-black focus:ring-2 focus:ring-black/15 sm:h-11"
|
| 299 |
/>
|
| 300 |
</div>
|
| 301 |
|
| 302 |
<div className="w-full">
|
| 303 |
<label
|
| 304 |
htmlFor="password"
|
| 305 |
+
className="block text-left [font-family:'Inter-Regular',Helvetica] font-semibold text-[#171717] text-sm tracking-[0] leading-[normal]"
|
| 306 |
>
|
| 307 |
๋น๋ฐ๋ฒํธ
|
| 308 |
</label>
|
|
|
|
| 314 |
value={password}
|
| 315 |
onChange={(event) => setPassword(event.target.value)}
|
| 316 |
aria-label="๋น๋ฐ๋ฒํธ"
|
| 317 |
+
className="mt-2 h-10 w-full rounded-lg border border-[#a3a3a3] bg-white px-3 text-[#111111] [font-family:'Inter-Regular',Helvetica] text-sm placeholder:text-[#737373] focus:border-black focus:ring-2 focus:ring-black/15 sm:h-11"
|
| 318 |
/>
|
| 319 |
</div>
|
| 320 |
|
| 321 |
<div className="w-full flex items-center justify-between text-xs">
|
| 322 |
+
<span className="text-[#525252]">๋น๋ฐ๋ฒํธ๋ฅผ ์์ผ์
จ๋์?</span>
|
| 323 |
+
<Link href="/password-reset" className="font-semibold text-black underline underline-offset-2">
|
| 324 |
๋น๋ฐ๋ฒํธ ์ฌ์ค์
|
| 325 |
</Link>
|
| 326 |
</div>
|
|
|
|
| 328 |
<button
|
| 329 |
type="submit"
|
| 330 |
disabled={isSubmitting || isGoogleSubmitting}
|
| 331 |
+
className="inline-flex h-10 w-full items-center justify-center overflow-hidden rounded-lg bg-black transition-colors hover:bg-neutral-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-black disabled:opacity-60 sm:h-[44px]"
|
| 332 |
aria-label="๋ก๊ทธ์ธ"
|
| 333 |
>
|
| 334 |
<span className="[font-family:'Inter-Bold',Helvetica] font-bold text-white text-xl text-center whitespace-nowrap tracking-[0] leading-[normal]">
|
|
|
|
| 337 |
</button>
|
| 338 |
<Link
|
| 339 |
href="/signup"
|
| 340 |
+
className="-my-2 inline-flex min-h-8 items-center justify-center rounded-md px-3 text-sm font-bold text-black underline underline-offset-2 transition-colors hover:bg-neutral-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-black"
|
| 341 |
>
|
| 342 |
์์ง ๊ณ์ ์ด ์์ผ์ ๊ฐ์? ํ์๊ฐ์
|
| 343 |
</Link>
|
|
|
|
| 346 |
|
| 347 |
<div className="mt-4 flex items-center justify-center gap-3 sm:mt-6" role="separator" aria-label="๋๋">
|
| 348 |
<img className="w-full max-w-[120px] h-px object-cover" alt="" src="/placeholders/line.svg" />
|
| 349 |
+
<div className="[font-family:'Inter-Regular',Helvetica] font-normal text-[#525252] text-xs text-center tracking-[0] leading-[normal]">
|
| 350 |
๋๋
|
| 351 |
</div>
|
| 352 |
<img className="w-full max-w-[120px] h-px object-cover" alt="" src="/placeholders/line.svg" />
|
main/app/manual-route/page.tsx
CHANGED
|
@@ -600,7 +600,7 @@ function ManualRoutePageContent() {
|
|
| 600 |
onClick={() => setDrawingEnabled(true)}
|
| 601 |
className={`h-10 rounded-full px-4 text-sm font-semibold ${
|
| 602 |
drawingEnabled
|
| 603 |
-
? "bg-[#
|
| 604 |
: "border border-[#e5e5e5] bg-white text-black"
|
| 605 |
}`}
|
| 606 |
>
|
|
@@ -611,7 +611,7 @@ function ManualRoutePageContent() {
|
|
| 611 |
onClick={() => setDrawingEnabled(false)}
|
| 612 |
className={`h-10 rounded-full px-4 text-sm font-semibold ${
|
| 613 |
!drawingEnabled
|
| 614 |
-
? "bg-[#
|
| 615 |
: "border border-[#e5e5e5] bg-white text-black"
|
| 616 |
}`}
|
| 617 |
>
|
|
|
|
| 600 |
onClick={() => setDrawingEnabled(true)}
|
| 601 |
className={`h-10 rounded-full px-4 text-sm font-semibold ${
|
| 602 |
drawingEnabled
|
| 603 |
+
? "bg-[#e5e5e5] text-black"
|
| 604 |
: "border border-[#e5e5e5] bg-white text-black"
|
| 605 |
}`}
|
| 606 |
>
|
|
|
|
| 611 |
onClick={() => setDrawingEnabled(false)}
|
| 612 |
className={`h-10 rounded-full px-4 text-sm font-semibold ${
|
| 613 |
!drawingEnabled
|
| 614 |
+
? "bg-[#e5e5e5] text-black"
|
| 615 |
: "border border-[#e5e5e5] bg-white text-black"
|
| 616 |
}`}
|
| 617 |
>
|
main/app/my-posts/page.tsx
CHANGED
|
@@ -337,7 +337,7 @@ function MyPostCard({
|
|
| 337 |
|
| 338 |
return (
|
| 339 |
<article className="rts-card rts-card-clip relative z-0">
|
| 340 |
-
<div className="relative z-0 h-40 w-full overflow-hidden bg-[#
|
| 341 |
<LeafletMap center={center} route={route} className="relative z-0 h-full w-full" zoom={14} />
|
| 342 |
</div>
|
| 343 |
|
|
@@ -349,7 +349,7 @@ function MyPostCard({
|
|
| 349 |
{post.title || "์ ๋ชฉ ์์"}
|
| 350 |
</h3>
|
| 351 |
|
| 352 |
-
<div className="flex shrink-0 items-center gap-1 rounded-full bg-[#
|
| 353 |
<span>์ข์์</span>
|
| 354 |
<span>{formatCount(likeCount)}</span>
|
| 355 |
</div>
|
|
@@ -366,15 +366,15 @@ function MyPostCard({
|
|
| 366 |
</p>
|
| 367 |
|
| 368 |
<div className="flex flex-wrap items-center gap-2">
|
| 369 |
-
<span className="inline-flex items-center gap-1 rounded-full bg-[#
|
| 370 |
์กฐํ <strong className="text-black">{formatCount(viewCount)}</strong>
|
| 371 |
</span>
|
| 372 |
-
<span className="inline-flex items-center gap-1 rounded-full bg-[#
|
| 373 |
์ข์์ <strong className="text-black">{formatCount(likeCount)}</strong>
|
| 374 |
</span>
|
| 375 |
</div>
|
| 376 |
|
| 377 |
-
<div className="grid grid-cols-2 gap-2 rounded-xl bg-[#
|
| 378 |
<div className="text-xs text-[#555]">
|
| 379 |
์๊ฐ <span className="ml-1 font-semibold text-black">{safeStats.time}</span>
|
| 380 |
</div>
|
|
@@ -410,7 +410,7 @@ function MyPostCard({
|
|
| 410 |
<button
|
| 411 |
type="button"
|
| 412 |
onClick={() => onDelete(post)}
|
| 413 |
-
className="inline-flex h-10 items-center justify-center rounded-full border border-
|
| 414 |
>
|
| 415 |
์ญ์
|
| 416 |
</button>
|
|
@@ -556,7 +556,7 @@ export default function MyPostsPage() {
|
|
| 556 |
<main className="rts-page">
|
| 557 |
|
| 558 |
<section className="rts-shell flex flex-col gap-6">
|
| 559 |
-
<section className="rts-card bg-[#
|
| 560 |
<div className="flex flex-col gap-3">
|
| 561 |
<h1 className="text-2xl font-bold leading-snug text-black sm:text-3xl">
|
| 562 |
๋ด ๊ฒ์๊ธ
|
|
@@ -568,7 +568,7 @@ export default function MyPostsPage() {
|
|
| 568 |
</section>
|
| 569 |
|
| 570 |
{errorMessage ? (
|
| 571 |
-
<div className="rounded-[18px] border border-[#
|
| 572 |
{errorMessage}
|
| 573 |
</div>
|
| 574 |
) : null}
|
|
@@ -584,11 +584,11 @@ export default function MyPostsPage() {
|
|
| 584 |
<section className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
|
| 585 |
{Array.from({ length: 3 }).map((_, index) => (
|
| 586 |
<article key={index} className="rts-card rts-card-clip">
|
| 587 |
-
<div className="h-36 w-full animate-pulse bg-[#
|
| 588 |
<div className="flex flex-col gap-3 px-4 py-4">
|
| 589 |
-
<div className="h-4 w-2/3 animate-pulse rounded bg-[#
|
| 590 |
-
<div className="h-3 w-full animate-pulse rounded bg-[#
|
| 591 |
-
<div className="h-10 w-full animate-pulse rounded-xl bg-[#
|
| 592 |
</div>
|
| 593 |
</article>
|
| 594 |
))}
|
|
|
|
| 337 |
|
| 338 |
return (
|
| 339 |
<article className="rts-card rts-card-clip relative z-0">
|
| 340 |
+
<div className="relative z-0 h-40 w-full overflow-hidden bg-[#fafafa]">
|
| 341 |
<LeafletMap center={center} route={route} className="relative z-0 h-full w-full" zoom={14} />
|
| 342 |
</div>
|
| 343 |
|
|
|
|
| 349 |
{post.title || "์ ๋ชฉ ์์"}
|
| 350 |
</h3>
|
| 351 |
|
| 352 |
+
<div className="flex shrink-0 items-center gap-1 rounded-full bg-[#fafafa] px-2 py-1 text-[11px] font-semibold text-black">
|
| 353 |
<span>์ข์์</span>
|
| 354 |
<span>{formatCount(likeCount)}</span>
|
| 355 |
</div>
|
|
|
|
| 366 |
</p>
|
| 367 |
|
| 368 |
<div className="flex flex-wrap items-center gap-2">
|
| 369 |
+
<span className="inline-flex items-center gap-1 rounded-full bg-[#fafafa] px-2.5 py-1 text-xs font-semibold text-[#555]">
|
| 370 |
์กฐํ <strong className="text-black">{formatCount(viewCount)}</strong>
|
| 371 |
</span>
|
| 372 |
+
<span className="inline-flex items-center gap-1 rounded-full bg-[#fafafa] px-2.5 py-1 text-xs font-semibold text-[#555]">
|
| 373 |
์ข์์ <strong className="text-black">{formatCount(likeCount)}</strong>
|
| 374 |
</span>
|
| 375 |
</div>
|
| 376 |
|
| 377 |
+
<div className="grid grid-cols-2 gap-2 rounded-xl bg-[#fafafa] px-3 py-2">
|
| 378 |
<div className="text-xs text-[#555]">
|
| 379 |
์๊ฐ <span className="ml-1 font-semibold text-black">{safeStats.time}</span>
|
| 380 |
</div>
|
|
|
|
| 410 |
<button
|
| 411 |
type="button"
|
| 412 |
onClick={() => onDelete(post)}
|
| 413 |
+
className="inline-flex h-10 items-center justify-center rounded-full border border-neutral-200 bg-neutral-50 px-3 text-sm font-semibold text-neutral-600"
|
| 414 |
>
|
| 415 |
์ญ์
|
| 416 |
</button>
|
|
|
|
| 556 |
<main className="rts-page">
|
| 557 |
|
| 558 |
<section className="rts-shell flex flex-col gap-6">
|
| 559 |
+
<section className="rts-card bg-[#fafafa]">
|
| 560 |
<div className="flex flex-col gap-3">
|
| 561 |
<h1 className="text-2xl font-bold leading-snug text-black sm:text-3xl">
|
| 562 |
๋ด ๊ฒ์๊ธ
|
|
|
|
| 568 |
</section>
|
| 569 |
|
| 570 |
{errorMessage ? (
|
| 571 |
+
<div className="rounded-[18px] border border-[#e5e5e5] bg-[#fafafa] px-4 py-3 text-sm text-[#111111]">
|
| 572 |
{errorMessage}
|
| 573 |
</div>
|
| 574 |
) : null}
|
|
|
|
| 584 |
<section className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
|
| 585 |
{Array.from({ length: 3 }).map((_, index) => (
|
| 586 |
<article key={index} className="rts-card rts-card-clip">
|
| 587 |
+
<div className="h-36 w-full animate-pulse bg-[#fafafa]" />
|
| 588 |
<div className="flex flex-col gap-3 px-4 py-4">
|
| 589 |
+
<div className="h-4 w-2/3 animate-pulse rounded bg-[#fafafa]" />
|
| 590 |
+
<div className="h-3 w-full animate-pulse rounded bg-[#fafafa]" />
|
| 591 |
+
<div className="h-10 w-full animate-pulse rounded-xl bg-[#fafafa]" />
|
| 592 |
</div>
|
| 593 |
</article>
|
| 594 |
))}
|
main/app/mypage/page.tsx
CHANGED
|
@@ -593,7 +593,7 @@ export default function Page() {
|
|
| 593 |
height: 28px;
|
| 594 |
border: 1px solid #e5e5e5;
|
| 595 |
border-radius: 999px;
|
| 596 |
-
background: #
|
| 597 |
color: #111111;
|
| 598 |
display: flex;
|
| 599 |
align-items: center;
|
|
@@ -644,7 +644,7 @@ export default function Page() {
|
|
| 644 |
|
| 645 |
.profileChangeButton {
|
| 646 |
border: none;
|
| 647 |
-
background: #
|
| 648 |
color: #111;
|
| 649 |
}
|
| 650 |
|
|
@@ -690,11 +690,11 @@ export default function Page() {
|
|
| 690 |
}
|
| 691 |
|
| 692 |
.card:nth-child(odd) {
|
| 693 |
-
border-right: 1px solid rgba(
|
| 694 |
}
|
| 695 |
|
| 696 |
.card:nth-child(-n + 2) {
|
| 697 |
-
border-bottom: 1px solid rgba(
|
| 698 |
}
|
| 699 |
|
| 700 |
.card label {
|
|
@@ -705,7 +705,7 @@ export default function Page() {
|
|
| 705 |
}
|
| 706 |
|
| 707 |
.valueBox {
|
| 708 |
-
background: rgba(
|
| 709 |
border-radius: 18px;
|
| 710 |
padding: 10px 12px;
|
| 711 |
font-size: 15px;
|
|
@@ -735,7 +735,7 @@ export default function Page() {
|
|
| 735 |
height: 40px;
|
| 736 |
padding: 0 16px;
|
| 737 |
border-radius: 999px;
|
| 738 |
-
background-color: #
|
| 739 |
color: #111111;
|
| 740 |
border: none;
|
| 741 |
font-size: 14px;
|
|
@@ -788,7 +788,7 @@ export default function Page() {
|
|
| 788 |
align-items: flex-start;
|
| 789 |
margin-top: 14px;
|
| 790 |
padding-top: 14px;
|
| 791 |
-
border-top: 1px solid rgba(
|
| 792 |
gap: 10px;
|
| 793 |
}
|
| 794 |
|
|
@@ -896,11 +896,11 @@ export default function Page() {
|
|
| 896 |
}
|
| 897 |
|
| 898 |
.card:not(:last-child) {
|
| 899 |
-
border-bottom: 1px solid rgba(
|
| 900 |
}
|
| 901 |
|
| 902 |
.card:nth-child(2) {
|
| 903 |
-
border-bottom: 1px solid rgba(
|
| 904 |
}
|
| 905 |
|
| 906 |
.valueBox {
|
|
|
|
| 593 |
height: 28px;
|
| 594 |
border: 1px solid #e5e5e5;
|
| 595 |
border-radius: 999px;
|
| 596 |
+
background: #e5e5e5;
|
| 597 |
color: #111111;
|
| 598 |
display: flex;
|
| 599 |
align-items: center;
|
|
|
|
| 644 |
|
| 645 |
.profileChangeButton {
|
| 646 |
border: none;
|
| 647 |
+
background: #e5e5e5;
|
| 648 |
color: #111;
|
| 649 |
}
|
| 650 |
|
|
|
|
| 690 |
}
|
| 691 |
|
| 692 |
.card:nth-child(odd) {
|
| 693 |
+
border-right: 1px solid rgba(24, 24, 24, 0.1);
|
| 694 |
}
|
| 695 |
|
| 696 |
.card:nth-child(-n + 2) {
|
| 697 |
+
border-bottom: 1px solid rgba(24, 24, 24, 0.1);
|
| 698 |
}
|
| 699 |
|
| 700 |
.card label {
|
|
|
|
| 705 |
}
|
| 706 |
|
| 707 |
.valueBox {
|
| 708 |
+
background: rgba(248, 248, 248, 0.9);
|
| 709 |
border-radius: 18px;
|
| 710 |
padding: 10px 12px;
|
| 711 |
font-size: 15px;
|
|
|
|
| 735 |
height: 40px;
|
| 736 |
padding: 0 16px;
|
| 737 |
border-radius: 999px;
|
| 738 |
+
background-color: #e5e5e5;
|
| 739 |
color: #111111;
|
| 740 |
border: none;
|
| 741 |
font-size: 14px;
|
|
|
|
| 788 |
align-items: flex-start;
|
| 789 |
margin-top: 14px;
|
| 790 |
padding-top: 14px;
|
| 791 |
+
border-top: 1px solid rgba(24, 24, 24, 0.1);
|
| 792 |
gap: 10px;
|
| 793 |
}
|
| 794 |
|
|
|
|
| 896 |
}
|
| 897 |
|
| 898 |
.card:not(:last-child) {
|
| 899 |
+
border-bottom: 1px solid rgba(24, 24, 24, 0.1);
|
| 900 |
}
|
| 901 |
|
| 902 |
.card:nth-child(2) {
|
| 903 |
+
border-bottom: 1px solid rgba(24, 24, 24, 0.1);
|
| 904 |
}
|
| 905 |
|
| 906 |
.valueBox {
|
main/app/page.tsx
CHANGED
|
@@ -70,7 +70,7 @@ export default function Page() {
|
|
| 70 |
<div className="-mt-4 sm:-mt-5 flex flex-col items-center w-full gap-2">
|
| 71 |
<Link
|
| 72 |
href="/login"
|
| 73 |
-
className="w-full max-w-[320px] sm:w-[260px] h-[52px] bg-[#
|
| 74 |
aria-label="๋ก๊ทธ์ธ"
|
| 75 |
>
|
| 76 |
<span className="[font-family:'Inter-Black',Helvetica] font-black text-white text-xl text-center tracking-[0] leading-[normal] whitespace-nowrap">
|
|
|
|
| 70 |
<div className="-mt-4 sm:-mt-5 flex flex-col items-center w-full gap-2">
|
| 71 |
<Link
|
| 72 |
href="/login"
|
| 73 |
+
className="w-full max-w-[320px] sm:w-[260px] h-[52px] bg-[#111111] rounded-[20px] overflow-hidden cursor-pointer transition-opacity hover:opacity-90 active:opacity-80 inline-flex items-center justify-center"
|
| 74 |
aria-label="๋ก๊ทธ์ธ"
|
| 75 |
>
|
| 76 |
<span className="[font-family:'Inter-Black',Helvetica] font-black text-white text-xl text-center tracking-[0] leading-[normal] whitespace-nowrap">
|
main/app/password-reset/page.tsx
CHANGED
|
@@ -255,7 +255,7 @@ function PasswordResetPageContent() {
|
|
| 255 |
type="button"
|
| 256 |
onClick={handleRequestReset}
|
| 257 |
disabled={isSubmitting}
|
| 258 |
-
className="mt-5 h-[44px] w-full rounded bg-[#
|
| 259 |
>
|
| 260 |
{isSubmitting ? "์ ์ก ์ค..." : "์ธ์ฆ ๋ฉ์ผ ๋ณด๋ด๊ธฐ"}
|
| 261 |
</button>
|
|
@@ -301,7 +301,7 @@ function PasswordResetPageContent() {
|
|
| 301 |
type="button"
|
| 302 |
onClick={handleConfirmReset}
|
| 303 |
disabled={isSubmitting}
|
| 304 |
-
className="mt-5 h-[44px] w-full rounded bg-[#
|
| 305 |
>
|
| 306 |
{isSubmitting ? "์ฒ๋ฆฌ ์ค..." : "๋น๋ฐ๋ฒํธ ์ฌ์ค์ "}
|
| 307 |
</button>
|
|
@@ -318,7 +318,7 @@ function PasswordResetPageContent() {
|
|
| 318 |
<div className="mt-6 text-right">
|
| 319 |
<Link
|
| 320 |
href="/login"
|
| 321 |
-
className="text-sm text-[#
|
| 322 |
>
|
| 323 |
๋ก๊ทธ์ธ์ผ๋ก ๋์๊ฐ๊ธฐ
|
| 324 |
</Link>
|
|
@@ -336,7 +336,7 @@ function PasswordResetPageContent() {
|
|
| 336 |
<button
|
| 337 |
type="button"
|
| 338 |
onClick={handleResetSuccessConfirm}
|
| 339 |
-
className="mt-6 h-[44px] w-full rounded bg-[#
|
| 340 |
>
|
| 341 |
ํ์ธ
|
| 342 |
</button>
|
|
|
|
| 255 |
type="button"
|
| 256 |
onClick={handleRequestReset}
|
| 257 |
disabled={isSubmitting}
|
| 258 |
+
className="mt-5 h-[44px] w-full rounded bg-[#111111] text-white transition-colors hover:bg-[#111111] disabled:opacity-60"
|
| 259 |
>
|
| 260 |
{isSubmitting ? "์ ์ก ์ค..." : "์ธ์ฆ ๋ฉ์ผ ๋ณด๋ด๊ธฐ"}
|
| 261 |
</button>
|
|
|
|
| 301 |
type="button"
|
| 302 |
onClick={handleConfirmReset}
|
| 303 |
disabled={isSubmitting}
|
| 304 |
+
className="mt-5 h-[44px] w-full rounded bg-[#111111] text-white transition-colors hover:bg-[#111111] disabled:opacity-60"
|
| 305 |
>
|
| 306 |
{isSubmitting ? "์ฒ๋ฆฌ ์ค..." : "๋น๋ฐ๋ฒํธ ์ฌ์ค์ "}
|
| 307 |
</button>
|
|
|
|
| 318 |
<div className="mt-6 text-right">
|
| 319 |
<Link
|
| 320 |
href="/login"
|
| 321 |
+
className="text-sm text-[#111111] underline underline-offset-2"
|
| 322 |
>
|
| 323 |
๋ก๊ทธ์ธ์ผ๋ก ๋์๊ฐ๊ธฐ
|
| 324 |
</Link>
|
|
|
|
| 336 |
<button
|
| 337 |
type="button"
|
| 338 |
onClick={handleResetSuccessConfirm}
|
| 339 |
+
className="mt-6 h-[44px] w-full rounded bg-[#111111] text-white transition-colors hover:bg-[#111111]"
|
| 340 |
>
|
| 341 |
ํ์ธ
|
| 342 |
</button>
|
main/app/recent-shared-routes/page.tsx
CHANGED
|
@@ -30,7 +30,7 @@ type SortType = "latest" | "achievement";
|
|
| 30 |
function SearchIcon() {
|
| 31 |
return (
|
| 32 |
<svg
|
| 33 |
-
className="h-4 w-4 shrink-0 text-[#
|
| 34 |
viewBox="0 0 24 24"
|
| 35 |
fill="none"
|
| 36 |
stroke="currentColor"
|
|
@@ -124,7 +124,7 @@ function RouteCard({
|
|
| 124 |
|
| 125 |
return (
|
| 126 |
<article className="rts-card rts-card-clip relative z-0">
|
| 127 |
-
<div className="relative z-0 h-40 w-full overflow-hidden bg-[#
|
| 128 |
<LeafletMap
|
| 129 |
center={center}
|
| 130 |
route={route}
|
|
@@ -145,11 +145,11 @@ function RouteCard({
|
|
| 145 |
disabled={isTogglingLike}
|
| 146 |
aria-pressed={likedByMe}
|
| 147 |
aria-label={`${post.title} ${likedByMe ? "์ข์์ ์ทจ์" : "์ข์์"}`}
|
| 148 |
-
className={`flex shrink-0 items-center gap-1 rounded-full bg-[#
|
| 149 |
-
likedByMe ? "text-[#
|
| 150 |
}`}
|
| 151 |
>
|
| 152 |
-
<span className={likedByMe ? "text-[#
|
| 153 |
{likedByMe ? "โฅ" : "โก"}
|
| 154 |
</span>
|
| 155 |
<span>{formatCount(likeCount)}</span>
|
|
@@ -167,11 +167,11 @@ function RouteCard({
|
|
| 167 |
</p>
|
| 168 |
|
| 169 |
<div className="flex flex-wrap items-center gap-2">
|
| 170 |
-
<span className="inline-flex items-center gap-1 rounded-full bg-[#
|
| 171 |
์กฐํ์ <strong className="text-black">{formatCount(viewCount)}</strong>
|
| 172 |
</span>
|
| 173 |
|
| 174 |
-
<span className="inline-flex items-center gap-1 rounded-full bg-[#
|
| 175 |
์ข์์ <strong className="text-black">{formatCount(likeCount)}</strong>
|
| 176 |
</span>
|
| 177 |
</div>
|
|
@@ -187,7 +187,7 @@ function RouteCard({
|
|
| 187 |
</span>
|
| 188 |
</div>
|
| 189 |
|
| 190 |
-
<div className="grid grid-cols-2 gap-2 rounded-xl bg-[#
|
| 191 |
<div className="text-xs text-[#555]">
|
| 192 |
์๊ฐ <span className="ml-1 font-semibold text-black">{post.stats.time}</span>
|
| 193 |
</div>
|
|
@@ -343,24 +343,24 @@ function RecentSharedRoutesPageContent() {
|
|
| 343 |
|
| 344 |
<MotionPopover
|
| 345 |
open={posted}
|
| 346 |
-
className="rounded-[18px] border border-[#
|
| 347 |
>
|
| 348 |
๊ฒ์๊ธ์ด ์ ์ฅ๋์์ต๋๋ค.
|
| 349 |
</MotionPopover>
|
| 350 |
|
| 351 |
<section className="flex w-full flex-col gap-2">
|
| 352 |
<section
|
| 353 |
-
className="rounded-[20px] border border-[#
|
| 354 |
aria-label="์ต๊ทผ ๊ณต์ ๋ฃจํธ ํ์"
|
| 355 |
>
|
| 356 |
-
<div className="flex items-center justify-between gap-3 border-b border-[#
|
| 357 |
-
<div className="flex w-fit rounded-full border border-[#
|
| 358 |
<button
|
| 359 |
type="button"
|
| 360 |
role="tab"
|
| 361 |
aria-selected={!isMineScope}
|
| 362 |
onClick={() => changeScope("all")}
|
| 363 |
-
className={`w-[88px] rounded-full px-2 py-2 text-sm font-bold transition ${!isMineScope ? "bg-[#
|
| 364 |
>
|
| 365 |
์ ์ฒด ๊ธ
|
| 366 |
</button>
|
|
@@ -369,7 +369,7 @@ function RecentSharedRoutesPageContent() {
|
|
| 369 |
role="tab"
|
| 370 |
aria-selected={isMineScope}
|
| 371 |
onClick={() => changeScope("mine")}
|
| 372 |
-
className={`w-[88px] rounded-full px-2 py-2 text-sm font-bold transition ${isMineScope ? "bg-[#
|
| 373 |
>
|
| 374 |
๋ด ๊ฒ์๊ธ
|
| 375 |
</button>
|
|
@@ -421,7 +421,7 @@ function RecentSharedRoutesPageContent() {
|
|
| 421 |
setIsSortOpen(false);
|
| 422 |
}}
|
| 423 |
className={`w-full px-4 py-3 text-left text-sm hover:bg-[#f5f5f5] ${
|
| 424 |
-
sortType === "latest" ? "font-semibold text-[#
|
| 425 |
}`}
|
| 426 |
>
|
| 427 |
์ต์ ์
|
|
@@ -437,7 +437,7 @@ function RecentSharedRoutesPageContent() {
|
|
| 437 |
}}
|
| 438 |
className={`w-full px-4 py-3 text-left text-sm hover:bg-[#f5f5f5] ${
|
| 439 |
sortType === "achievement"
|
| 440 |
-
? "font-semibold text-[#
|
| 441 |
: "text-black"
|
| 442 |
}`}
|
| 443 |
>
|
|
@@ -450,7 +450,7 @@ function RecentSharedRoutesPageContent() {
|
|
| 450 |
</section>
|
| 451 |
|
| 452 |
<div className="relative z-0 flex items-center justify-between">
|
| 453 |
-
<span className="text-sm font-semibold text-[#
|
| 454 |
</div>
|
| 455 |
|
| 456 |
{filteredRoutes.length === 0 ? (
|
|
|
|
| 30 |
function SearchIcon() {
|
| 31 |
return (
|
| 32 |
<svg
|
| 33 |
+
className="h-4 w-4 shrink-0 text-[#525252]"
|
| 34 |
viewBox="0 0 24 24"
|
| 35 |
fill="none"
|
| 36 |
stroke="currentColor"
|
|
|
|
| 124 |
|
| 125 |
return (
|
| 126 |
<article className="rts-card rts-card-clip relative z-0">
|
| 127 |
+
<div className="relative z-0 h-40 w-full overflow-hidden bg-[#fafafa]">
|
| 128 |
<LeafletMap
|
| 129 |
center={center}
|
| 130 |
route={route}
|
|
|
|
| 145 |
disabled={isTogglingLike}
|
| 146 |
aria-pressed={likedByMe}
|
| 147 |
aria-label={`${post.title} ${likedByMe ? "์ข์์ ์ทจ์" : "์ข์์"}`}
|
| 148 |
+
className={`flex shrink-0 items-center gap-1 rounded-full bg-[#fafafa] px-2 py-1 text-[11px] font-semibold text-black transition hover:bg-[#f5f5f5] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#111111] disabled:cursor-wait disabled:opacity-60 ${
|
| 149 |
+
likedByMe ? "text-[#111111]" : ""
|
| 150 |
}`}
|
| 151 |
>
|
| 152 |
+
<span className={likedByMe ? "text-[#111111]" : "text-[#111111]"}>
|
| 153 |
{likedByMe ? "โฅ" : "โก"}
|
| 154 |
</span>
|
| 155 |
<span>{formatCount(likeCount)}</span>
|
|
|
|
| 167 |
</p>
|
| 168 |
|
| 169 |
<div className="flex flex-wrap items-center gap-2">
|
| 170 |
+
<span className="inline-flex items-center gap-1 rounded-full bg-[#fafafa] px-2.5 py-1 text-xs font-semibold text-[#555]">
|
| 171 |
์กฐํ์ <strong className="text-black">{formatCount(viewCount)}</strong>
|
| 172 |
</span>
|
| 173 |
|
| 174 |
+
<span className="inline-flex items-center gap-1 rounded-full bg-[#fafafa] px-2.5 py-1 text-xs font-semibold text-[#555]">
|
| 175 |
์ข์์ <strong className="text-black">{formatCount(likeCount)}</strong>
|
| 176 |
</span>
|
| 177 |
</div>
|
|
|
|
| 187 |
</span>
|
| 188 |
</div>
|
| 189 |
|
| 190 |
+
<div className="grid grid-cols-2 gap-2 rounded-xl bg-[#fafafa] px-3 py-2">
|
| 191 |
<div className="text-xs text-[#555]">
|
| 192 |
์๊ฐ <span className="ml-1 font-semibold text-black">{post.stats.time}</span>
|
| 193 |
</div>
|
|
|
|
| 343 |
|
| 344 |
<MotionPopover
|
| 345 |
open={posted}
|
| 346 |
+
className="rounded-[18px] border border-[#e5e5e5] bg-[#fafafa] px-4 py-3 text-sm text-[#111111]"
|
| 347 |
>
|
| 348 |
๊ฒ์๊ธ์ด ์ ์ฅ๋์์ต๋๋ค.
|
| 349 |
</MotionPopover>
|
| 350 |
|
| 351 |
<section className="flex w-full flex-col gap-2">
|
| 352 |
<section
|
| 353 |
+
className="rounded-[20px] border border-[#e5e5e5] bg-white p-3 shadow-[0_8px_20px_rgba(65, 65, 65,0.05)] sm:p-4"
|
| 354 |
aria-label="์ต๊ทผ ๊ณต์ ๋ฃจํธ ํ์"
|
| 355 |
>
|
| 356 |
+
<div className="flex items-center justify-between gap-3 border-b border-[#f5f5f5] pb-3">
|
| 357 |
+
<div className="flex w-fit rounded-full border border-[#e5e5e5] bg-[#fafafa]" role="tablist" aria-label="์ปค๋ฎค๋ํฐ ๊ฒ์๊ธ ๋ฒ์">
|
| 358 |
<button
|
| 359 |
type="button"
|
| 360 |
role="tab"
|
| 361 |
aria-selected={!isMineScope}
|
| 362 |
onClick={() => changeScope("all")}
|
| 363 |
+
className={`w-[88px] rounded-full px-2 py-2 text-sm font-bold transition ${!isMineScope ? "bg-[#fafafa] text-[#111111]" : "text-[#555] hover:bg-[#fafafa]"}`}
|
| 364 |
>
|
| 365 |
์ ์ฒด ๊ธ
|
| 366 |
</button>
|
|
|
|
| 369 |
role="tab"
|
| 370 |
aria-selected={isMineScope}
|
| 371 |
onClick={() => changeScope("mine")}
|
| 372 |
+
className={`w-[88px] rounded-full px-2 py-2 text-sm font-bold transition ${isMineScope ? "bg-[#fafafa] text-[#111111]" : "text-[#555] hover:bg-[#fafafa]"}`}
|
| 373 |
>
|
| 374 |
๋ด ๊ฒ์๊ธ
|
| 375 |
</button>
|
|
|
|
| 421 |
setIsSortOpen(false);
|
| 422 |
}}
|
| 423 |
className={`w-full px-4 py-3 text-left text-sm hover:bg-[#f5f5f5] ${
|
| 424 |
+
sortType === "latest" ? "font-semibold text-[#111111]" : "text-black"
|
| 425 |
}`}
|
| 426 |
>
|
| 427 |
์ต์ ์
|
|
|
|
| 437 |
}}
|
| 438 |
className={`w-full px-4 py-3 text-left text-sm hover:bg-[#f5f5f5] ${
|
| 439 |
sortType === "achievement"
|
| 440 |
+
? "font-semibold text-[#111111]"
|
| 441 |
: "text-black"
|
| 442 |
}`}
|
| 443 |
>
|
|
|
|
| 450 |
</section>
|
| 451 |
|
| 452 |
<div className="relative z-0 flex items-center justify-between">
|
| 453 |
+
<span className="text-sm font-semibold text-[#404040]">์ด {filteredRoutes.length}๊ฐ</span>
|
| 454 |
</div>
|
| 455 |
|
| 456 |
{filteredRoutes.length === 0 ? (
|
main/app/route-results/page.tsx
CHANGED
|
@@ -523,10 +523,10 @@ function RouteResultsPageContent() {
|
|
| 523 |
</AnimatePresence>
|
| 524 |
|
| 525 |
{result?.generation_mode === "gatv2_next_edge_experiment" ? (
|
| 526 |
-
<p className="mt-4 rounded-xl bg-[#
|
| 527 |
) : null}
|
| 528 |
{result?.ranking_mode === "gpx_ranker_experiment" ? (
|
| 529 |
-
<p className="mt-4 rounded-xl bg-[#
|
| 530 |
) : null}
|
| 531 |
{result && experimentalCandidateRanker && result.ranking_mode !== "gpx_ranker_experiment" ? (
|
| 532 |
<p className="mt-4 rounded-xl bg-[#fff4df] px-3 py-2 text-sm font-semibold text-[#754d08]">์ด๋ฒ ๊ฒฐ๊ณผ๋ ๋๋ก๋ง ๋์ฒด ๊ฒฝ๋ก๋ก, GPX ํ์ต ์์๊ฐ ์ ์ฉ๋์ง ์์์ต๋๋ค.</p>
|
|
@@ -661,7 +661,7 @@ function RouteResultsPageContent() {
|
|
| 661 |
<button
|
| 662 |
type="button"
|
| 663 |
onClick={() => setIsNearbySampleRoutesOpen(true)}
|
| 664 |
-
className="mx-auto inline-flex min-h-12 items-center justify-center rounded-full border border-[#
|
| 665 |
>
|
| 666 |
์ํ๋ ๊ฒฝ๋ก๊ฐ ์์ผ์ ๊ฐ์?
|
| 667 |
</button>
|
|
|
|
| 523 |
</AnimatePresence>
|
| 524 |
|
| 525 |
{result?.generation_mode === "gatv2_next_edge_experiment" ? (
|
| 526 |
+
<p className="mt-4 rounded-xl bg-[#fafafa] px-3 py-2 text-sm font-bold text-[#111111]">GATv2 ์คํ ๋ชจ๋ธ๋ก ์์ฑํ ๊ฒฝ๋ก์
๋๋ค.</p>
|
| 527 |
) : null}
|
| 528 |
{result?.ranking_mode === "gpx_ranker_experiment" ? (
|
| 529 |
+
<p className="mt-4 rounded-xl bg-[#fafafa] px-3 py-2 text-sm font-bold text-[#111111]">GPX ํ์ต ๋ชจ๋ธ๋ก ๋ชจ์์ด ๋น์ทํ ๊ฒฝ๋ก์ ์์๋ฅผ ๋น๊ตํ์ต๋๋ค.</p>
|
| 530 |
) : null}
|
| 531 |
{result && experimentalCandidateRanker && result.ranking_mode !== "gpx_ranker_experiment" ? (
|
| 532 |
<p className="mt-4 rounded-xl bg-[#fff4df] px-3 py-2 text-sm font-semibold text-[#754d08]">์ด๋ฒ ๊ฒฐ๊ณผ๋ ๋๋ก๋ง ๋์ฒด ๊ฒฝ๋ก๋ก, GPX ํ์ต ์์๊ฐ ์ ์ฉ๋์ง ์์์ต๋๋ค.</p>
|
|
|
|
| 661 |
<button
|
| 662 |
type="button"
|
| 663 |
onClick={() => setIsNearbySampleRoutesOpen(true)}
|
| 664 |
+
className="mx-auto inline-flex min-h-12 items-center justify-center rounded-full border border-[#111111] bg-white px-5 py-3 text-sm font-extrabold text-[#111111] shadow-[0_8px_20px_rgba(65, 65, 65,0.18)] transition hover:bg-[#fafafa] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#111111] active:scale-[0.98]"
|
| 665 |
>
|
| 666 |
์ํ๋ ๊ฒฝ๋ก๊ฐ ์์ผ์ ๊ฐ์?
|
| 667 |
</button>
|
main/app/route-search/page.tsx
CHANGED
|
@@ -612,6 +612,7 @@ function RouteSearchPageContent() {
|
|
| 612 |
title: post.title || "๊ฒ์๋ฌผ ๋ฃจํธ",
|
| 613 |
count: index + 1,
|
| 614 |
kind: "communityPost",
|
|
|
|
| 615 |
}));
|
| 616 |
const displayedSamples = sampleGalleryLabel ? galleryMapSamples : nearbySamples.map(({ sample }) => sample);
|
| 617 |
const visibleSamples = selectedSample && !displayedSamples.some((sample) => sample.id === selectedSample.id)
|
|
@@ -626,7 +627,7 @@ function RouteSearchPageContent() {
|
|
| 626 |
const previewDiscovery = discoveryCandidates.find((candidate) => candidate.label === previewDiscoveryLabel);
|
| 627 |
const selectedMapRoutes: MapRouteLayer[] =
|
| 628 |
previewDiscovery?.route_coords && previewDiscovery.route_coords.length > 1
|
| 629 |
-
? [{ points: previewDiscovery.route_coords, color: "#
|
| 630 |
: selectedSample?.route && selectedSample.route.length > 1
|
| 631 |
? [{ points: selectedSample.route, color: selectedSample.label === "dog" ? "#f97316" : selectedSample.label === "t_shirt" ? "#0d9488" : selectedSample.label === "heart" ? "#e11d48" : "#a855f7", weight: 5, opacity: 0.95 }]
|
| 632 |
: sampleGalleryLabel
|
|
@@ -640,7 +641,7 @@ function RouteSearchPageContent() {
|
|
| 640 |
? [
|
| 641 |
{
|
| 642 |
points: selectedPost.map.polyline,
|
| 643 |
-
color: "#
|
| 644 |
weight: 5,
|
| 645 |
opacity: 0.9,
|
| 646 |
},
|
|
@@ -980,10 +981,10 @@ function RouteSearchPageContent() {
|
|
| 980 |
<section className="mx-auto grid w-full max-w-[1120px] gap-5 px-4 pb-8 pt-5 sm:px-8 lg:grid-cols-[minmax(0,1fr)_390px] lg:items-start lg:pb-12">
|
| 981 |
<div className="contents lg:grid lg:gap-5">
|
| 982 |
<section className="order-3 overflow-hidden rounded-[28px] border border-black/10 bg-white shadow-[0_18px_45px_rgba(0,0,0,0.06)] lg:order-none">
|
| 983 |
-
<div className="relative h-[330px] bg-[#
|
| 984 |
{isWaitingForCurrentLocation ? (
|
| 985 |
-
<div className="flex h-full w-full flex-col items-center justify-center gap-3 bg-[#
|
| 986 |
-
<div className="h-9 w-9 animate-spin rounded-full border-4 border-
|
| 987 |
<p className="text-sm font-bold text-[#111]">ํ์ฌ ์์น ํ์ธ ์ค</p>
|
| 988 |
<p className="max-w-[260px] text-xs leading-5 text-[#666]">
|
| 989 |
์์น ๊ถํ์ ํ์ฉํ๋ฉด ๋ด ์ฃผ๋ณ ์ง๋๋ก ๋ฐ๋ก ์ด๋ํฉ๋๋ค.
|
|
@@ -1015,11 +1016,11 @@ function RouteSearchPageContent() {
|
|
| 1015 |
๊ฒฝ๋ก ๋ฏธ๋ฆฌ๋ณด๊ธฐ
|
| 1016 |
</div>
|
| 1017 |
</div>
|
| 1018 |
-
<div className="border-t border-black/10 bg-[#
|
| 1019 |
<p className="text-sm font-bold text-[#111]">์ง๋์์ ํ ์ ์ ์ฐ์ด ๋ชจ์ ์ฐพ๊ธฐ</p>
|
| 1020 |
-
<p className="mt-1 text-xs text-[#
|
| 1021 |
-
{discoveryLoading && <p className="mt-3 text-sm text-
|
| 1022 |
-
{outlineSelection && <p className="mt-2 text-xs text-[#
|
| 1023 |
AI ์ค๊ณฝ ์ ๋ณ: {outlineSelection.mode.startsWith("learned_") ? "์ฌ์ฉ ์ค" : "์ ์ฒด ํ์"} ยท ์ ์ฅ ์ค๊ณฝ {Object.values(outlineSelection.considered).reduce((sum, count) => sum + count, 0).toLocaleString()}๊ฐ ๊ฒํ ยท ๋๋ก ๊ฒฝ๋ก ํ๋ณด {Object.values(outlineSelection.routed).reduce((sum, count) => sum + count, 0)}๊ฐ
|
| 1024 |
</p>}
|
| 1025 |
{discoveryError && <p role="alert" className="mt-3 text-sm text-red-600">{discoveryError}</p>}
|
|
@@ -1029,14 +1030,14 @@ function RouteSearchPageContent() {
|
|
| 1029 |
return <button key={candidate.label} type="button"
|
| 1030 |
disabled={!candidate.available}
|
| 1031 |
onClick={() => setPreviewDiscoveryLabel(candidate.label)}
|
| 1032 |
-
className={`rounded-xl border p-2 text-left text-xs ${candidate.available ? "border-
|
| 1033 |
<span className="block font-bold">{label}</span>
|
| 1034 |
<span className="mt-1 block">{candidate.available ? `์ ์ฌ๋ ${Math.round(candidate.shape_similarity * 100)}์ ` : "์ ํฉํ ๊ฒฝ๋ก ์์"}</span>
|
| 1035 |
</button>;
|
| 1036 |
})}
|
| 1037 |
</div>}
|
| 1038 |
{previewDiscovery?.available && discoveryPoint && <button type="button"
|
| 1039 |
-
className="mt-3 w-full rounded-full bg-
|
| 1040 |
onClick={() => router.push(prepareCoursePreview({
|
| 1041 |
id: `discovered-${previewDiscovery.label}-${Date.now()}`,
|
| 1042 |
title: `${previewDiscovery.label === "dog" ? "๊ฐ์์ง" : previewDiscovery.label === "symbol_star" ? "๋ณ" : previewDiscovery.label === "heart" ? "ํํธ" : previewDiscovery.label === "candle" ? "์์ด" : previewDiscovery.label === "christmas_tree_trunk" ? "ํธ๋ฆฌ" : "ํฐ์
์ธ "} ๋ชจ์ ์ฝ์ค`,
|
|
@@ -1145,9 +1146,9 @@ function RouteSearchPageContent() {
|
|
| 1145 |
</section>
|
| 1146 |
</div>
|
| 1147 |
|
| 1148 |
-
<aside className="order-2
|
| 1149 |
<section className={`relative rounded-[28px] border border-black/10 bg-white p-5 shadow-[0_18px_45px_rgba(0,0,0,0.06)] ${
|
| 1150 |
-
isRegionPickerOpen || isDistrictPickerOpen ? "z-[2500]" : "z-0"
|
| 1151 |
}`}>
|
| 1152 |
<div className="flex items-center justify-between gap-3">
|
| 1153 |
<h2 className="text-xl font-bold">์ด๋์ ๋ฌ๋ฆด๊น์?</h2>
|
|
@@ -1198,8 +1199,8 @@ function RouteSearchPageContent() {
|
|
| 1198 |
}}
|
| 1199 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1200 |
isSelected
|
| 1201 |
-
? "bg-
|
| 1202 |
-
: "text-black hover:bg-[#
|
| 1203 |
}`}
|
| 1204 |
>
|
| 1205 |
{region.label}
|
|
@@ -1248,8 +1249,8 @@ function RouteSearchPageContent() {
|
|
| 1248 |
}}
|
| 1249 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1250 |
isSelected
|
| 1251 |
-
? "bg-
|
| 1252 |
-
: "text-black hover:bg-[#
|
| 1253 |
}`}
|
| 1254 |
>
|
| 1255 |
{district.label}
|
|
@@ -1301,14 +1302,10 @@ function RouteSearchPageContent() {
|
|
| 1301 |
}} />
|
| 1302 |
{geoError ? <p className="text-sm text-red-600">{geoError}</p> : null}
|
| 1303 |
</div>
|
| 1304 |
-
|
| 1305 |
-
|
| 1306 |
-
<section className={`relative rounded-[28px] border border-black/10 bg-white p-5 shadow-[0_18px_45px_rgba(0,0,0,0.06)] ${
|
| 1307 |
-
isShapePickerOpen || isDistancePickerOpen ? "z-[2500]" : "z-0"
|
| 1308 |
-
}`}>
|
| 1309 |
-
<h2 className="text-xl font-bold">๋ชจ์๊ณผ ๊ฑฐ๋ฆฌ</h2>
|
| 1310 |
|
| 1311 |
-
|
| 1312 |
<label className="grid gap-2">
|
| 1313 |
<span className="text-sm font-bold">๋ชจ์</span>
|
| 1314 |
<div className="relative">
|
|
@@ -1346,8 +1343,8 @@ function RouteSearchPageContent() {
|
|
| 1346 |
}}
|
| 1347 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1348 |
isSelected
|
| 1349 |
-
? "bg-
|
| 1350 |
-
: "text-black hover:bg-[#
|
| 1351 |
}`}
|
| 1352 |
>
|
| 1353 |
{shape.label}
|
|
@@ -1396,8 +1393,8 @@ function RouteSearchPageContent() {
|
|
| 1396 |
}}
|
| 1397 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1398 |
isSelected
|
| 1399 |
-
? "bg-
|
| 1400 |
-
: "text-black hover:bg-[#
|
| 1401 |
}`}
|
| 1402 |
>
|
| 1403 |
{distance}km
|
|
@@ -1469,29 +1466,30 @@ function RouteSearchPageContent() {
|
|
| 1469 |
</div>
|
| 1470 |
</details>
|
| 1471 |
|
| 1472 |
-
|
|
|
|
| 1473 |
</div>
|
| 1474 |
-
</section>
|
| 1475 |
|
| 1476 |
-
<
|
| 1477 |
<div className="flex min-w-0 items-center justify-between gap-3">
|
| 1478 |
-
<p className="shrink-0 text-[11px] font-bold text-
|
| 1479 |
-
<p className="min-w-0 truncate text-right text-[11px] font-bold text-[#
|
| 1480 |
</div>
|
| 1481 |
<p className="mt-2 text-sm font-bold leading-5 text-[#111]">{routePlanText}</p>
|
| 1482 |
-
</
|
| 1483 |
|
| 1484 |
-
<
|
| 1485 |
-
<p className="
|
| 1486 |
-
<p className="mt-1
|
| 1487 |
<button
|
| 1488 |
type="button"
|
| 1489 |
onClick={handleRouteSearch}
|
| 1490 |
disabled={isNavigating}
|
| 1491 |
-
className="mt-4 flex h-[52px] w-full items-center justify-center rounded-full bg-
|
| 1492 |
>
|
| 1493 |
{isNavigating ? "๊ฒฝ๋ก ์์ฑ ์ค..." : "๊ฒฝ๋ก ์์ฑํ๊ธฐ"}
|
| 1494 |
</button>
|
|
|
|
| 1495 |
</section>
|
| 1496 |
</aside>
|
| 1497 |
</section>
|
|
|
|
| 612 |
title: post.title || "๊ฒ์๋ฌผ ๋ฃจํธ",
|
| 613 |
count: index + 1,
|
| 614 |
kind: "communityPost",
|
| 615 |
+
color: "#111111",
|
| 616 |
}));
|
| 617 |
const displayedSamples = sampleGalleryLabel ? galleryMapSamples : nearbySamples.map(({ sample }) => sample);
|
| 618 |
const visibleSamples = selectedSample && !displayedSamples.some((sample) => sample.id === selectedSample.id)
|
|
|
|
| 627 |
const previewDiscovery = discoveryCandidates.find((candidate) => candidate.label === previewDiscoveryLabel);
|
| 628 |
const selectedMapRoutes: MapRouteLayer[] =
|
| 629 |
previewDiscovery?.route_coords && previewDiscovery.route_coords.length > 1
|
| 630 |
+
? [{ points: previewDiscovery.route_coords, color: "#111111", weight: 5, opacity: 0.95 }]
|
| 631 |
: selectedSample?.route && selectedSample.route.length > 1
|
| 632 |
? [{ points: selectedSample.route, color: selectedSample.label === "dog" ? "#f97316" : selectedSample.label === "t_shirt" ? "#0d9488" : selectedSample.label === "heart" ? "#e11d48" : "#a855f7", weight: 5, opacity: 0.95 }]
|
| 633 |
: sampleGalleryLabel
|
|
|
|
| 641 |
? [
|
| 642 |
{
|
| 643 |
points: selectedPost.map.polyline,
|
| 644 |
+
color: "#111111",
|
| 645 |
weight: 5,
|
| 646 |
opacity: 0.9,
|
| 647 |
},
|
|
|
|
| 981 |
<section className="mx-auto grid w-full max-w-[1120px] gap-5 px-4 pb-8 pt-5 sm:px-8 lg:grid-cols-[minmax(0,1fr)_390px] lg:items-start lg:pb-12">
|
| 982 |
<div className="contents lg:grid lg:gap-5">
|
| 983 |
<section className="order-3 overflow-hidden rounded-[28px] border border-black/10 bg-white shadow-[0_18px_45px_rgba(0,0,0,0.06)] lg:order-none">
|
| 984 |
+
<div className="relative h-[330px] bg-[#f5f5f5] sm:h-[420px]">
|
| 985 |
{isWaitingForCurrentLocation ? (
|
| 986 |
+
<div className="flex h-full w-full flex-col items-center justify-center gap-3 bg-[#f5f5f5] px-6 text-center">
|
| 987 |
+
<div className="h-9 w-9 animate-spin rounded-full border-4 border-black/10 border-t-black" />
|
| 988 |
<p className="text-sm font-bold text-[#111]">ํ์ฌ ์์น ํ์ธ ์ค</p>
|
| 989 |
<p className="max-w-[260px] text-xs leading-5 text-[#666]">
|
| 990 |
์์น ๊ถํ์ ํ์ฉํ๋ฉด ๋ด ์ฃผ๋ณ ์ง๋๋ก ๋ฐ๋ก ์ด๋ํฉ๋๋ค.
|
|
|
|
| 1016 |
๊ฒฝ๋ก ๋ฏธ๋ฆฌ๋ณด๊ธฐ
|
| 1017 |
</div>
|
| 1018 |
</div>
|
| 1019 |
+
<div className="border-t border-black/10 bg-[#f5f5f5] px-4 py-4">
|
| 1020 |
<p className="text-sm font-bold text-[#111]">์ง๋์์ ํ ์ ์ ์ฐ์ด ๋ชจ์ ์ฐพ๊ธฐ</p>
|
| 1021 |
+
<p className="mt-1 text-xs text-[#525252]">์ ํํ ์ ์์ ๋ฐ๊ฒฝ 2km ์์ ๋๋ก๋ก ๊ฐ์์งยท๋ณยทํฐ์
์ธ ยทํํธยท์์ดยทํธ๋ฆฌ ๊ฒฝ๋ก๋ฅผ ํจ๊ป ์ฐพ์ต๋๋ค. ๊ฒฝ๋ก์ ์ด๊ธธ์ด๋ ์ ํํ์ง ์์ต๋๋ค.</p>
|
| 1022 |
+
{discoveryLoading && <p className="mt-3 text-sm text-black">AI๊ฐ ์ ๋งํ GPX ์ค๊ณฝ์ ๊ณ ๋ฅด๊ณ ๋๋ก ๊ฒฝ๋ก๋ฅผ ํ์ธํ๋ ์ค...</p>}
|
| 1023 |
+
{outlineSelection && <p className="mt-2 text-xs text-[#525252]">
|
| 1024 |
AI ์ค๊ณฝ ์ ๋ณ: {outlineSelection.mode.startsWith("learned_") ? "์ฌ์ฉ ์ค" : "์ ์ฒด ํ์"} ยท ์ ์ฅ ์ค๊ณฝ {Object.values(outlineSelection.considered).reduce((sum, count) => sum + count, 0).toLocaleString()}๊ฐ ๊ฒํ ยท ๋๋ก ๊ฒฝ๋ก ํ๋ณด {Object.values(outlineSelection.routed).reduce((sum, count) => sum + count, 0)}๊ฐ
|
| 1025 |
</p>}
|
| 1026 |
{discoveryError && <p role="alert" className="mt-3 text-sm text-red-600">{discoveryError}</p>}
|
|
|
|
| 1030 |
return <button key={candidate.label} type="button"
|
| 1031 |
disabled={!candidate.available}
|
| 1032 |
onClick={() => setPreviewDiscoveryLabel(candidate.label)}
|
| 1033 |
+
className={`rounded-xl border p-2 text-left text-xs ${candidate.available ? "border-black/25 bg-white" : "border-black/10 bg-[#ebebeb] text-[#666]"}`}>
|
| 1034 |
<span className="block font-bold">{label}</span>
|
| 1035 |
<span className="mt-1 block">{candidate.available ? `์ ์ฌ๋ ${Math.round(candidate.shape_similarity * 100)}์ ` : "์ ํฉํ ๊ฒฝ๋ก ์์"}</span>
|
| 1036 |
</button>;
|
| 1037 |
})}
|
| 1038 |
</div>}
|
| 1039 |
{previewDiscovery?.available && discoveryPoint && <button type="button"
|
| 1040 |
+
className="mt-3 w-full rounded-full bg-black px-4 py-3 text-sm font-bold text-white"
|
| 1041 |
onClick={() => router.push(prepareCoursePreview({
|
| 1042 |
id: `discovered-${previewDiscovery.label}-${Date.now()}`,
|
| 1043 |
title: `${previewDiscovery.label === "dog" ? "๊ฐ์์ง" : previewDiscovery.label === "symbol_star" ? "๋ณ" : previewDiscovery.label === "heart" ? "ํํธ" : previewDiscovery.label === "candle" ? "์์ด" : previewDiscovery.label === "christmas_tree_trunk" ? "ํธ๋ฆฌ" : "ํฐ์
์ธ "} ๋ชจ์ ์ฝ์ค`,
|
|
|
|
| 1146 |
</section>
|
| 1147 |
</div>
|
| 1148 |
|
| 1149 |
+
<aside className="order-2 lg:sticky lg:top-5 lg:order-none">
|
| 1150 |
<section className={`relative rounded-[28px] border border-black/10 bg-white p-5 shadow-[0_18px_45px_rgba(0,0,0,0.06)] ${
|
| 1151 |
+
isRegionPickerOpen || isDistrictPickerOpen || isShapePickerOpen || isDistancePickerOpen ? "z-[2500]" : "z-0"
|
| 1152 |
}`}>
|
| 1153 |
<div className="flex items-center justify-between gap-3">
|
| 1154 |
<h2 className="text-xl font-bold">์ด๋์ ๋ฌ๋ฆด๊น์?</h2>
|
|
|
|
| 1199 |
}}
|
| 1200 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1201 |
isSelected
|
| 1202 |
+
? "bg-black text-white"
|
| 1203 |
+
: "text-black hover:bg-[#f5f5f5]"
|
| 1204 |
}`}
|
| 1205 |
>
|
| 1206 |
{region.label}
|
|
|
|
| 1249 |
}}
|
| 1250 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1251 |
isSelected
|
| 1252 |
+
? "bg-black text-white"
|
| 1253 |
+
: "text-black hover:bg-[#f5f5f5]"
|
| 1254 |
}`}
|
| 1255 |
>
|
| 1256 |
{district.label}
|
|
|
|
| 1302 |
}} />
|
| 1303 |
{geoError ? <p className="text-sm text-red-600">{geoError}</p> : null}
|
| 1304 |
</div>
|
| 1305 |
+
<div className="mt-6 border-t border-black/10 pt-6">
|
| 1306 |
+
<h2 className="text-xl font-bold">๋ชจ์๊ณผ ๊ฑฐ๋ฆฌ</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1307 |
|
| 1308 |
+
<div className="mt-4 grid gap-4">
|
| 1309 |
<label className="grid gap-2">
|
| 1310 |
<span className="text-sm font-bold">๋ชจ์</span>
|
| 1311 |
<div className="relative">
|
|
|
|
| 1343 |
}}
|
| 1344 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1345 |
isSelected
|
| 1346 |
+
? "bg-black text-white"
|
| 1347 |
+
: "text-black hover:bg-[#f5f5f5]"
|
| 1348 |
}`}
|
| 1349 |
>
|
| 1350 |
{shape.label}
|
|
|
|
| 1393 |
}}
|
| 1394 |
className={`flex h-11 w-full items-center px-4 text-left text-sm font-semibold ${
|
| 1395 |
isSelected
|
| 1396 |
+
? "bg-black text-white"
|
| 1397 |
+
: "text-black hover:bg-[#f5f5f5]"
|
| 1398 |
}`}
|
| 1399 |
>
|
| 1400 |
{distance}km
|
|
|
|
| 1466 |
</div>
|
| 1467 |
</details>
|
| 1468 |
|
| 1469 |
+
{formError ? <p className="text-sm text-red-600">{formError}</p> : null}
|
| 1470 |
+
</div>
|
| 1471 |
</div>
|
|
|
|
| 1472 |
|
| 1473 |
+
<div className="mt-6 rounded-2xl bg-[#f5f5f5] px-4 py-3">
|
| 1474 |
<div className="flex min-w-0 items-center justify-between gap-3">
|
| 1475 |
+
<p className="shrink-0 text-[11px] font-bold text-black">์์ฑ ์์ </p>
|
| 1476 |
+
<p className="min-w-0 truncate text-right text-[11px] font-bold text-[#525252]">{selectedSummary}</p>
|
| 1477 |
</div>
|
| 1478 |
<p className="mt-2 text-sm font-bold leading-5 text-[#111]">{routePlanText}</p>
|
| 1479 |
+
</div>
|
| 1480 |
|
| 1481 |
+
<div className="mt-5 border-t border-black/10 pt-5">
|
| 1482 |
+
<p className="text-xs font-bold text-[#737373]">์ ํํ ์กฐ๊ฑด</p>
|
| 1483 |
+
<p className="mt-1 text-sm font-bold text-black">{selectedSummary}</p>
|
| 1484 |
<button
|
| 1485 |
type="button"
|
| 1486 |
onClick={handleRouteSearch}
|
| 1487 |
disabled={isNavigating}
|
| 1488 |
+
className="mt-4 flex h-[52px] w-full items-center justify-center rounded-full bg-black px-5 text-base font-bold text-white shadow-[0_10px_24px_rgba(0,0,0,0.16)] transition active:scale-[0.98] disabled:opacity-60"
|
| 1489 |
>
|
| 1490 |
{isNavigating ? "๊ฒฝ๋ก ์์ฑ ์ค..." : "๊ฒฝ๋ก ์์ฑํ๊ธฐ"}
|
| 1491 |
</button>
|
| 1492 |
+
</div>
|
| 1493 |
</section>
|
| 1494 |
</aside>
|
| 1495 |
</section>
|
main/app/route/[id]/page.tsx
CHANGED
|
@@ -362,7 +362,7 @@ export default function Page() {
|
|
| 362 |
type="button"
|
| 363 |
onClick={() => void handleDelete()}
|
| 364 |
disabled={isSubmittingAction}
|
| 365 |
-
className="inline-flex h-[40px] items-center justify-center rounded-xl border border-
|
| 366 |
>
|
| 367 |
์ญ์
|
| 368 |
</button>
|
|
@@ -374,7 +374,7 @@ export default function Page() {
|
|
| 374 |
</section>
|
| 375 |
|
| 376 |
<section className="rts-card rts-card-clip">
|
| 377 |
-
<div className="h-[320px] w-full bg-[#
|
| 378 |
<LeafletMap
|
| 379 |
center={route.map?.center ?? DEFAULT_MAP_CENTER}
|
| 380 |
route={route.map?.polyline}
|
|
@@ -400,7 +400,7 @@ export default function Page() {
|
|
| 400 |
["์กฐํ์", String(views)],
|
| 401 |
].map(([label, value]) => (
|
| 402 |
<div key={label} className="min-w-0 py-1">
|
| 403 |
-
<p className="text-xs font-semibold text-[#
|
| 404 |
<p className="mt-1 truncate text-base font-bold text-[#222]">{value}</p>
|
| 405 |
</div>
|
| 406 |
))}
|
|
@@ -427,7 +427,7 @@ export default function Page() {
|
|
| 427 |
{tags.map((tag) => (
|
| 428 |
<span
|
| 429 |
key={tag}
|
| 430 |
-
className="rounded-full bg-[#
|
| 431 |
>
|
| 432 |
#{tag}
|
| 433 |
</span>
|
|
@@ -446,7 +446,7 @@ export default function Page() {
|
|
| 446 |
<button
|
| 447 |
type="button"
|
| 448 |
onClick={() => router.push(isCompletedHistory ? "/lobby" : "/recent-shared-routes")}
|
| 449 |
-
className="inline-flex h-[44px] items-center justify-center rounded-xl bg-[#
|
| 450 |
>
|
| 451 |
{isCompletedHistory ? "๋ก๋น๋ก ๋์๊ฐ๊ธฐ" : "๋ชฉ๋ก์ผ๋ก ๋์๊ฐ๊ธฐ"}
|
| 452 |
</button>
|
|
|
|
| 362 |
type="button"
|
| 363 |
onClick={() => void handleDelete()}
|
| 364 |
disabled={isSubmittingAction}
|
| 365 |
+
className="inline-flex h-[40px] items-center justify-center rounded-xl border border-neutral-200 bg-white px-4 text-sm font-semibold text-neutral-500 transition hover:bg-neutral-50 disabled:opacity-60"
|
| 366 |
>
|
| 367 |
์ญ์
|
| 368 |
</button>
|
|
|
|
| 374 |
</section>
|
| 375 |
|
| 376 |
<section className="rts-card rts-card-clip">
|
| 377 |
+
<div className="h-[320px] w-full bg-[#f5f5f5]">
|
| 378 |
<LeafletMap
|
| 379 |
center={route.map?.center ?? DEFAULT_MAP_CENTER}
|
| 380 |
route={route.map?.polyline}
|
|
|
|
| 400 |
["์กฐํ์", String(views)],
|
| 401 |
].map(([label, value]) => (
|
| 402 |
<div key={label} className="min-w-0 py-1">
|
| 403 |
+
<p className="text-xs font-semibold text-[#737373]">{label}</p>
|
| 404 |
<p className="mt-1 truncate text-base font-bold text-[#222]">{value}</p>
|
| 405 |
</div>
|
| 406 |
))}
|
|
|
|
| 427 |
{tags.map((tag) => (
|
| 428 |
<span
|
| 429 |
key={tag}
|
| 430 |
+
className="rounded-full bg-[#fafafa] px-3 py-1 text-xs font-semibold text-[#444]"
|
| 431 |
>
|
| 432 |
#{tag}
|
| 433 |
</span>
|
|
|
|
| 446 |
<button
|
| 447 |
type="button"
|
| 448 |
onClick={() => router.push(isCompletedHistory ? "/lobby" : "/recent-shared-routes")}
|
| 449 |
+
className="inline-flex h-[44px] items-center justify-center rounded-xl bg-[#fafafa] px-5 text-sm font-semibold text-[#222] transition hover:opacity-90"
|
| 450 |
>
|
| 451 |
{isCompletedHistory ? "๋ก๋น๋ก ๋์๊ฐ๊ธฐ" : "๋ชฉ๋ก์ผ๋ก ๋์๊ฐ๊ธฐ"}
|
| 452 |
</button>
|
main/app/run/[id]/finish/page.tsx
CHANGED
|
@@ -178,7 +178,7 @@ function StarIcon({ active }: { active: boolean }) {
|
|
| 178 |
<svg
|
| 179 |
viewBox="0 0 24 24"
|
| 180 |
className={`h-8 w-8 transition-colors ${
|
| 181 |
-
active ? "fill-[#facc15] text-[#eab308]" : "fill-[#
|
| 182 |
}`}
|
| 183 |
aria-hidden="true"
|
| 184 |
>
|
|
@@ -793,7 +793,7 @@ function RunFinishPageContent() {
|
|
| 793 |
subtitle={isFreeRun ? "์์ ๋ฌ๋ ๊ธฐ๋ก์ ์ ๋ฆฌํ์ด์." : `${routeTitle} ์ฝ์ค์ ๋ฌ๋ ๊ธฐ๋ก์ ์ ๋ฆฌํ์ด์.`}
|
| 794 |
/>
|
| 795 |
{simulateMode && (
|
| 796 |
-
<SectionCard className="text-sm leading-6 text-[#
|
| 797 |
์๋ฎฌ๋ ์ด์
๊ฒฐ๊ณผ์
๋๋ค. ๊ฐ์ธ ์ด๋ ๊ธฐ๋กยทํต๊ณ์๋ ์ ์ฅ๋์ง ์์ผ๋ฉฐ, ์ํ ๋ ๊ฒ์๊ธ๋ก ๊ณต์ ํ ์ ์์ต๋๋ค.
|
| 798 |
</SectionCard>
|
| 799 |
)}
|
|
@@ -843,11 +843,11 @@ function RunFinishPageContent() {
|
|
| 843 |
<div className="min-w-0 flex-1 pb-2">
|
| 844 |
<div className="h-2 overflow-hidden rounded-full bg-black/10">
|
| 845 |
<div
|
| 846 |
-
className="h-full rounded-full bg-[#
|
| 847 |
style={{ width: `${Math.max(0, Math.min(100, displayAchievement))}%` }}
|
| 848 |
/>
|
| 849 |
</div>
|
| 850 |
-
<p className="mt-2 text-right text-xs text-[#
|
| 851 |
</div>
|
| 852 |
</SectionCard>}
|
| 853 |
|
|
@@ -871,7 +871,7 @@ function RunFinishPageContent() {
|
|
| 871 |
);
|
| 872 |
})}
|
| 873 |
</div>
|
| 874 |
-
<p className="mt-2 text-xs leading-5 text-[#
|
| 875 |
{pendingRating !== null && !runSessionId
|
| 876 |
? "๋ฌ๋ ๊ธฐ๋ก์ ํ์ธํ๋ ์ค์
๋๋ค. ์ ํํ ๋ณ์ ์ ์๋์ผ๋ก ์ ์ฅ๋ฉ๋๋ค."
|
| 877 |
: isSavingRating
|
|
@@ -886,9 +886,9 @@ function RunFinishPageContent() {
|
|
| 886 |
<div className="flex items-start justify-between gap-4">
|
| 887 |
<div>
|
| 888 |
<h2 className="rts-section-title text-lg">๋ฌ๋ ๊ธฐ๋ก</h2>
|
| 889 |
-
<p className="mt-1 max-w-[210px] truncate text-sm font-bold text-[#
|
| 890 |
</div>
|
| 891 |
-
<span className="shrink-0 rounded-full bg-[#
|
| 892 |
{displayDistance}km
|
| 893 |
</span>
|
| 894 |
</div>
|
|
@@ -896,19 +896,19 @@ function RunFinishPageContent() {
|
|
| 896 |
<div className="mt-5 grid grid-cols-2">
|
| 897 |
<div className="px-4 py-3">
|
| 898 |
<p className="text-xl font-bold text-black">{displayTime}</p>
|
| 899 |
-
<p className="mt-1 text-xs font-bold text-[#
|
| 900 |
</div>
|
| 901 |
<div className="px-4 py-3">
|
| 902 |
<p className="text-xl font-bold text-black">{averageSpeedText}</p>
|
| 903 |
-
<p className="mt-1 text-xs font-bold text-[#
|
| 904 |
</div>
|
| 905 |
<div className="px-4 py-3">
|
| 906 |
<p className="text-xl font-bold text-black">{displayCalories}</p>
|
| 907 |
-
<p className="mt-1 text-xs font-bold text-[#
|
| 908 |
</div>
|
| 909 |
<div className="px-4 py-3">
|
| 910 |
<p className="text-xl font-bold text-black">{displayBpm}</p>
|
| 911 |
-
<p className="mt-1 text-xs font-bold text-[#
|
| 912 |
</div>
|
| 913 |
</div>
|
| 914 |
</div>
|
|
@@ -917,7 +917,7 @@ function RunFinishPageContent() {
|
|
| 917 |
type="button"
|
| 918 |
onClick={handleShare}
|
| 919 |
disabled={shareDisabled}
|
| 920 |
-
className="inline-flex h-12 w-full items-center justify-center rounded-full bg-[#
|
| 921 |
>
|
| 922 |
{shareButtonText}
|
| 923 |
</button>
|
|
@@ -933,14 +933,14 @@ function RunFinishPageContent() {
|
|
| 933 |
</SectionCard>
|
| 934 |
|
| 935 |
{runAnalysis && (
|
| 936 |
-
<SectionCard className="border-[#
|
| 937 |
<div className="flex items-start justify-between gap-3">
|
| 938 |
<div>
|
| 939 |
-
<h2 className="text-base font-bold text-[#
|
| 940 |
-
<p className="mt-1 text-sm leading-5 text-[#
|
| 941 |
</div>
|
| 942 |
{runAnalysis.sample_count > 0 && (
|
| 943 |
-
<span className="shrink-0 rounded-full bg-white px-2 py-1 text-xs font-semibold text-[#
|
| 944 |
{runAnalysis.sample_count}๊ฐ ์ํ
|
| 945 |
</span>
|
| 946 |
)}
|
|
@@ -948,10 +948,10 @@ function RunFinishPageContent() {
|
|
| 948 |
|
| 949 |
{runAnalysis.strengths?.length > 0 && (
|
| 950 |
<div className="mt-4">
|
| 951 |
-
<p className="text-xs font-bold text-[#
|
| 952 |
<div className="mt-2 flex flex-col gap-2">
|
| 953 |
{runAnalysis.strengths.map((item) => (
|
| 954 |
-
<div key={item.key} className="rounded-xl bg-white px-3 py-2 text-sm text-[#
|
| 955 |
<span className="font-semibold">{item.title}</span> ยท {item.message}
|
| 956 |
</div>
|
| 957 |
))}
|
|
@@ -961,13 +961,13 @@ function RunFinishPageContent() {
|
|
| 961 |
|
| 962 |
{runAnalysis.focus?.length > 0 && (
|
| 963 |
<div className="mt-4">
|
| 964 |
-
<p className="text-xs font-bold text-[#
|
| 965 |
<div className="mt-2 flex flex-col gap-2">
|
| 966 |
{runAnalysis.focus.map((item) => (
|
| 967 |
-
<div key={item.key} className="rounded-xl border border-[#
|
| 968 |
<p className="font-semibold">{item.title}</p>
|
| 969 |
<p className="mt-1 leading-5">{item.message}</p>
|
| 970 |
-
{item.action && <p className="mt-2 font-medium text-[#
|
| 971 |
</div>
|
| 972 |
))}
|
| 973 |
</div>
|
|
@@ -975,11 +975,11 @@ function RunFinishPageContent() {
|
|
| 975 |
)}
|
| 976 |
|
| 977 |
{runAnalysis.focus?.length === 0 && (
|
| 978 |
-
<p className="mt-4 rounded-xl bg-white px-3 py-3 text-sm leading-5 text-[#
|
| 979 |
{runAnalysis.next_action}
|
| 980 |
</p>
|
| 981 |
)}
|
| 982 |
-
<p className="mt-3 text-xs leading-4 text-[#
|
| 983 |
</SectionCard>
|
| 984 |
)}
|
| 985 |
|
|
|
|
| 178 |
<svg
|
| 179 |
viewBox="0 0 24 24"
|
| 180 |
className={`h-8 w-8 transition-colors ${
|
| 181 |
+
active ? "fill-[#facc15] text-[#eab308]" : "fill-[#e5e5e5] text-[#d4d4d4]"
|
| 182 |
}`}
|
| 183 |
aria-hidden="true"
|
| 184 |
>
|
|
|
|
| 793 |
subtitle={isFreeRun ? "์์ ๋ฌ๋ ๊ธฐ๋ก์ ์ ๋ฆฌํ์ด์." : `${routeTitle} ์ฝ์ค์ ๋ฌ๋ ๊ธฐ๋ก์ ์ ๋ฆฌํ์ด์.`}
|
| 794 |
/>
|
| 795 |
{simulateMode && (
|
| 796 |
+
<SectionCard className="text-sm leading-6 text-[#525252]">
|
| 797 |
์๋ฎฌ๋ ์ด์
๊ฒฐ๊ณผ์
๋๋ค. ๊ฐ์ธ ์ด๋ ๊ธฐ๋กยทํต๊ณ์๋ ์ ์ฅ๋์ง ์์ผ๋ฉฐ, ์ํ ๋ ๊ฒ์๊ธ๋ก ๊ณต์ ํ ์ ์์ต๋๋ค.
|
| 798 |
</SectionCard>
|
| 799 |
)}
|
|
|
|
| 843 |
<div className="min-w-0 flex-1 pb-2">
|
| 844 |
<div className="h-2 overflow-hidden rounded-full bg-black/10">
|
| 845 |
<div
|
| 846 |
+
className="h-full rounded-full bg-[#111111] transition-[width]"
|
| 847 |
style={{ width: `${Math.max(0, Math.min(100, displayAchievement))}%` }}
|
| 848 |
/>
|
| 849 |
</div>
|
| 850 |
+
<p className="mt-2 text-right text-xs text-[#737373]">๋ชฉํ {displayTargetDistance || "-"}km</p>
|
| 851 |
</div>
|
| 852 |
</SectionCard>}
|
| 853 |
|
|
|
|
| 871 |
);
|
| 872 |
})}
|
| 873 |
</div>
|
| 874 |
+
<p className="mt-2 text-xs leading-5 text-[#737373]">
|
| 875 |
{pendingRating !== null && !runSessionId
|
| 876 |
? "๋ฌ๋ ๊ธฐ๋ก์ ํ์ธํ๋ ์ค์
๋๋ค. ์ ํํ ๋ณ์ ์ ์๋์ผ๋ก ์ ์ฅ๋ฉ๋๋ค."
|
| 877 |
: isSavingRating
|
|
|
|
| 886 |
<div className="flex items-start justify-between gap-4">
|
| 887 |
<div>
|
| 888 |
<h2 className="rts-section-title text-lg">๋ฌ๋ ๊ธฐ๋ก</h2>
|
| 889 |
+
<p className="mt-1 max-w-[210px] truncate text-sm font-bold text-[#737373]">{routeTitle}</p>
|
| 890 |
</div>
|
| 891 |
+
<span className="shrink-0 rounded-full bg-[#fafafa] px-3 py-1.5 text-xs font-bold text-[#111111]">
|
| 892 |
{displayDistance}km
|
| 893 |
</span>
|
| 894 |
</div>
|
|
|
|
| 896 |
<div className="mt-5 grid grid-cols-2">
|
| 897 |
<div className="px-4 py-3">
|
| 898 |
<p className="text-xl font-bold text-black">{displayTime}</p>
|
| 899 |
+
<p className="mt-1 text-xs font-bold text-[#737373]">์๊ฐ</p>
|
| 900 |
</div>
|
| 901 |
<div className="px-4 py-3">
|
| 902 |
<p className="text-xl font-bold text-black">{averageSpeedText}</p>
|
| 903 |
+
<p className="mt-1 text-xs font-bold text-[#737373]">ํ๊ท ์๋</p>
|
| 904 |
</div>
|
| 905 |
<div className="px-4 py-3">
|
| 906 |
<p className="text-xl font-bold text-black">{displayCalories}</p>
|
| 907 |
+
<p className="mt-1 text-xs font-bold text-[#737373]">์นผ๋ก๋ฆฌ</p>
|
| 908 |
</div>
|
| 909 |
<div className="px-4 py-3">
|
| 910 |
<p className="text-xl font-bold text-black">{displayBpm}</p>
|
| 911 |
+
<p className="mt-1 text-xs font-bold text-[#737373]">BPM</p>
|
| 912 |
</div>
|
| 913 |
</div>
|
| 914 |
</div>
|
|
|
|
| 917 |
type="button"
|
| 918 |
onClick={handleShare}
|
| 919 |
disabled={shareDisabled}
|
| 920 |
+
className="inline-flex h-12 w-full items-center justify-center rounded-full bg-[#111111] text-sm font-bold text-white shadow-[0_10px_24px_rgba(65, 65, 65,0.22)] disabled:cursor-not-allowed disabled:opacity-60"
|
| 921 |
>
|
| 922 |
{shareButtonText}
|
| 923 |
</button>
|
|
|
|
| 933 |
</SectionCard>
|
| 934 |
|
| 935 |
{runAnalysis && (
|
| 936 |
+
<SectionCard className="border-[#e5e5e5] bg-[#fafafa]">
|
| 937 |
<div className="flex items-start justify-between gap-3">
|
| 938 |
<div>
|
| 939 |
+
<h2 className="text-base font-bold text-[#111111]">์ผ์ ๊ธฐ๋ฐ ๋ฌ๋ ์ฝ์นญ</h2>
|
| 940 |
+
<p className="mt-1 text-sm leading-5 text-[#111111]">{runAnalysis.headline}</p>
|
| 941 |
</div>
|
| 942 |
{runAnalysis.sample_count > 0 && (
|
| 943 |
+
<span className="shrink-0 rounded-full bg-white px-2 py-1 text-xs font-semibold text-[#111111]">
|
| 944 |
{runAnalysis.sample_count}๊ฐ ์ํ
|
| 945 |
</span>
|
| 946 |
)}
|
|
|
|
| 948 |
|
| 949 |
{runAnalysis.strengths?.length > 0 && (
|
| 950 |
<div className="mt-4">
|
| 951 |
+
<p className="text-xs font-bold text-[#111111]">์ ์ ์งํ ์ </p>
|
| 952 |
<div className="mt-2 flex flex-col gap-2">
|
| 953 |
{runAnalysis.strengths.map((item) => (
|
| 954 |
+
<div key={item.key} className="rounded-xl bg-white px-3 py-2 text-sm text-[#111111]">
|
| 955 |
<span className="font-semibold">{item.title}</span> ยท {item.message}
|
| 956 |
</div>
|
| 957 |
))}
|
|
|
|
| 961 |
|
| 962 |
{runAnalysis.focus?.length > 0 && (
|
| 963 |
<div className="mt-4">
|
| 964 |
+
<p className="text-xs font-bold text-[#111111]">๋ค์ ๋ฌ๋์์ ํ ๊ฐ์ง</p>
|
| 965 |
<div className="mt-2 flex flex-col gap-2">
|
| 966 |
{runAnalysis.focus.map((item) => (
|
| 967 |
+
<div key={item.key} className="rounded-xl border border-[#f5f5f5] bg-white px-3 py-3 text-sm text-[#111111]">
|
| 968 |
<p className="font-semibold">{item.title}</p>
|
| 969 |
<p className="mt-1 leading-5">{item.message}</p>
|
| 970 |
+
{item.action && <p className="mt-2 font-medium text-[#111111]">{item.action}</p>}
|
| 971 |
</div>
|
| 972 |
))}
|
| 973 |
</div>
|
|
|
|
| 975 |
)}
|
| 976 |
|
| 977 |
{runAnalysis.focus?.length === 0 && (
|
| 978 |
+
<p className="mt-4 rounded-xl bg-white px-3 py-3 text-sm leading-5 text-[#111111]">
|
| 979 |
{runAnalysis.next_action}
|
| 980 |
</p>
|
| 981 |
)}
|
| 982 |
+
<p className="mt-3 text-xs leading-4 text-[#737373]">{runAnalysis.disclaimer}</p>
|
| 983 |
</SectionCard>
|
| 984 |
)}
|
| 985 |
|
main/app/run/[id]/page.tsx
CHANGED
|
@@ -1947,7 +1947,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 1947 |
{recoveryError && <div role="alert" className="fixed top-16 inset-x-4 z-[6000] rounded bg-amber-100 p-3 text-sm">{recoveryError}</div>}
|
| 1948 |
{!recoveryError && gpsError && <div role="status" className="fixed top-16 inset-x-4 z-[6000] rounded bg-amber-100 p-3 text-sm">{gpsError}</div>}
|
| 1949 |
<section className="relative h-full overflow-hidden">
|
| 1950 |
-
<div className="absolute inset-0 z-0 bg-[#
|
| 1951 |
<div className="h-full w-full">
|
| 1952 |
<div className="relative h-full w-full">
|
| 1953 |
<div className="pointer-events-none absolute left-4 right-4 top-4 z-[600] mx-auto flex max-w-6xl items-center justify-between gap-3 rounded-lg border border-black/10 bg-white/95 px-4 py-3 shadow-sm">
|
|
@@ -1957,7 +1957,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 1957 |
{isFreeRun ? "ํ์ฌ ์์น๋ฅผ ๊ธฐ์ค์ผ๋ก ์์ ๋ฌ๋์ ๊ธฐ๋ก ์ค" : "์ถ์ฒ ๊ฒฝ๋ก์ ์ค์ ์ด๋ ๊ฒฝ๋ก๋ฅผ ํจ๊ป ์ถ์ ์ค"}
|
| 1958 |
</p>
|
| 1959 |
</div>
|
| 1960 |
-
<span className="shrink-0 rounded-full bg-[#
|
| 1961 |
LIVE
|
| 1962 |
</span>
|
| 1963 |
</div>
|
|
@@ -1967,7 +1967,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 1967 |
routes={[
|
| 1968 |
{
|
| 1969 |
points: selectedRoute ?? [],
|
| 1970 |
-
color: "#
|
| 1971 |
weight: 7,
|
| 1972 |
opacity: 0.78,
|
| 1973 |
},
|
|
@@ -2018,7 +2018,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2018 |
|
| 2019 |
<div className="fixed bottom-0 left-0 right-0 z-[1000]">
|
| 2020 |
<div className="mx-auto w-full sm:max-w-6xl px-0 sm:px-10">
|
| 2021 |
-
<div className="rounded-t-[28px] border border-black/10 bg-white shadow-[0_-18px_50px_rgba(
|
| 2022 |
<div className="flex flex-col gap-2 px-4 pb-2 pt-3 sm:px-7">
|
| 2023 |
<div className="flex items-center justify-between gap-3">
|
| 2024 |
<div className="min-w-0">
|
|
@@ -2033,7 +2033,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2033 |
</div>
|
| 2034 |
<button
|
| 2035 |
type="button"
|
| 2036 |
-
className="shrink-0 rounded-full px-2 py-1 text-xs font-bold text-[#
|
| 2037 |
onClick={() => setIsRunDetailsOpen(true)}
|
| 2038 |
>
|
| 2039 |
์์ธ
|
|
@@ -2043,16 +2043,16 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2043 |
{!isFreeRun ? (
|
| 2044 |
<div className="flex items-center gap-2" aria-label={`์งํ๋ฅ ${displayMetrics.progress}`}>
|
| 2045 |
<span className="shrink-0 text-[11px] font-bold text-[#666]">์งํ๋ฅ {displayMetrics.progress}</span>
|
| 2046 |
-
<div className="h-1.5 flex-1 overflow-hidden rounded-full bg-[#
|
| 2047 |
<div
|
| 2048 |
-
className="h-full rounded-full bg-[#
|
| 2049 |
style={{ width: `${achievement}%` }}
|
| 2050 |
/>
|
| 2051 |
</div>
|
| 2052 |
</div>
|
| 2053 |
) : null}
|
| 2054 |
|
| 2055 |
-
<div className="grid grid-cols-[minmax(0,1fr)_minmax(0,1.25fr)_auto] items-stretch gap-2 rounded-2xl bg-[#
|
| 2056 |
<button
|
| 2057 |
ref={attachStopButton}
|
| 2058 |
type="button"
|
|
@@ -2089,7 +2089,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2089 |
type="button"
|
| 2090 |
disabled={startCountdown !== null}
|
| 2091 |
onClick={handlePauseToggle}
|
| 2092 |
-
className="flex h-14 flex-col items-center justify-center gap-1 rounded-xl bg-[#
|
| 2093 |
aria-label={isPaused ? "๋ฌ๋ ์์" : "์ผ์์ ์ง"}
|
| 2094 |
>
|
| 2095 |
{startCountdown !== null ? (
|
|
@@ -2112,7 +2112,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2112 |
</button>
|
| 2113 |
<button
|
| 2114 |
type="button"
|
| 2115 |
-
className="flex h-14 w-14 flex-col items-center justify-center gap-1 rounded-xl border border-[#
|
| 2116 |
onClick={openMusicPlayer}
|
| 2117 |
aria-label="์์
์ด๊ธฐ"
|
| 2118 |
aria-haspopup="dialog"
|
|
@@ -2134,6 +2134,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2134 |
open={isRunDetailsOpen}
|
| 2135 |
keepMounted
|
| 2136 |
onDismiss={() => setIsRunDetailsOpen(false)}
|
|
|
|
| 2137 |
ariaLabelledBy="run-details-title"
|
| 2138 |
panelClassName="relative max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-md overflow-y-auto rounded-[28px] bg-white p-5 shadow-2xl"
|
| 2139 |
>
|
|
@@ -2144,7 +2145,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2144 |
</div>
|
| 2145 |
<button
|
| 2146 |
type="button"
|
| 2147 |
-
className="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-[#
|
| 2148 |
onClick={() => setIsRunDetailsOpen(false)}
|
| 2149 |
aria-label="์์ธ ๊ธฐ๋ก ๋ซ๊ธฐ"
|
| 2150 |
>
|
|
@@ -2161,14 +2162,14 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2161 |
{simulateMode ? (
|
| 2162 |
<div className="rounded-lg border border-[#f2b8b8] bg-[#fff2f2] px-3 py-2 text-xs font-semibold text-[#8a1f1f]">์๋ฎฌ๋ ์ด์
๋ชจ๋๋ก ๋ฌ๋ ๊ฒฝ๋ก๋ฅผ ์๋ ์ฌ์ ์ค</div>
|
| 2163 |
) : (
|
| 2164 |
-
<div className="flex flex-wrap items-center gap-2 rounded-lg border border-black/10 bg-[#
|
| 2165 |
)}
|
| 2166 |
-
<div className="rounded-lg border border-[#
|
| 2167 |
{routeGuidancePlan.length > 0 ? `๊ฒฝ๋ก ์๋ด ๊ฐ๋ฆผ๊ธธ ${routeGuidancePlan.length}๊ฐ๋ฅผ ๊ฐ์งํ์ต๋๋ค.` : "์ด ๊ฒฝ๋ก์์๋ ์์ฑ ์๋ด๊ฐ ํ์ํ ๊ฐ๋ฆผ๊ธธ์ ์ฐพ์ง ๋ชปํ์ต๋๋ค."}
|
| 2168 |
-
{ttsStatus ? <p className="mt-1 text-[#
|
| 2169 |
</div>
|
| 2170 |
-
{stopStatus ? <p role="status" className="rounded-lg bg-
|
| 2171 |
-
<button type="button" onClick={() => void handleDiscardRunAndReturnToLobby()} className="flex h-11 w-full items-center justify-center rounded-full border border-red-300/80 bg-
|
| 2172 |
</div>
|
| 2173 |
</MotionDialog>
|
| 2174 |
|
|
@@ -2188,7 +2189,7 @@ function RunPageContent({ params }: { params: { id: string } }) {
|
|
| 2188 |
</div>
|
| 2189 |
<button
|
| 2190 |
type="button"
|
| 2191 |
-
className="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-[#
|
| 2192 |
onClick={() => setIsMusicPanelOpen(false)}
|
| 2193 |
aria-label="์์
ํ์
๋ซ๊ธฐ"
|
| 2194 |
>
|
|
|
|
| 1947 |
{recoveryError && <div role="alert" className="fixed top-16 inset-x-4 z-[6000] rounded bg-amber-100 p-3 text-sm">{recoveryError}</div>}
|
| 1948 |
{!recoveryError && gpsError && <div role="status" className="fixed top-16 inset-x-4 z-[6000] rounded bg-amber-100 p-3 text-sm">{gpsError}</div>}
|
| 1949 |
<section className="relative h-full overflow-hidden">
|
| 1950 |
+
<div className="absolute inset-0 z-0 bg-[#fafafa]">
|
| 1951 |
<div className="h-full w-full">
|
| 1952 |
<div className="relative h-full w-full">
|
| 1953 |
<div className="pointer-events-none absolute left-4 right-4 top-4 z-[600] mx-auto flex max-w-6xl items-center justify-between gap-3 rounded-lg border border-black/10 bg-white/95 px-4 py-3 shadow-sm">
|
|
|
|
| 1957 |
{isFreeRun ? "ํ์ฌ ์์น๋ฅผ ๊ธฐ์ค์ผ๋ก ์์ ๋ฌ๋์ ๊ธฐ๋ก ์ค" : "์ถ์ฒ ๊ฒฝ๋ก์ ์ค์ ์ด๋ ๊ฒฝ๋ก๋ฅผ ํจ๊ป ์ถ์ ์ค"}
|
| 1958 |
</p>
|
| 1959 |
</div>
|
| 1960 |
+
<span className="shrink-0 rounded-full bg-[#fafafa] px-3 py-1 text-xs font-bold text-[#111111]">
|
| 1961 |
LIVE
|
| 1962 |
</span>
|
| 1963 |
</div>
|
|
|
|
| 1967 |
routes={[
|
| 1968 |
{
|
| 1969 |
points: selectedRoute ?? [],
|
| 1970 |
+
color: "#111111",
|
| 1971 |
weight: 7,
|
| 1972 |
opacity: 0.78,
|
| 1973 |
},
|
|
|
|
| 2018 |
|
| 2019 |
<div className="fixed bottom-0 left-0 right-0 z-[1000]">
|
| 2020 |
<div className="mx-auto w-full sm:max-w-6xl px-0 sm:px-10">
|
| 2021 |
+
<div className="rounded-t-[28px] border border-black/10 bg-white shadow-[0_-18px_50px_rgba(23, 23, 23,0.2)]">
|
| 2022 |
<div className="flex flex-col gap-2 px-4 pb-2 pt-3 sm:px-7">
|
| 2023 |
<div className="flex items-center justify-between gap-3">
|
| 2024 |
<div className="min-w-0">
|
|
|
|
| 2033 |
</div>
|
| 2034 |
<button
|
| 2035 |
type="button"
|
| 2036 |
+
className="shrink-0 rounded-full px-2 py-1 text-xs font-bold text-[#525252] underline underline-offset-2 transition hover:text-[#111111]"
|
| 2037 |
onClick={() => setIsRunDetailsOpen(true)}
|
| 2038 |
>
|
| 2039 |
์์ธ
|
|
|
|
| 2043 |
{!isFreeRun ? (
|
| 2044 |
<div className="flex items-center gap-2" aria-label={`์งํ๋ฅ ${displayMetrics.progress}`}>
|
| 2045 |
<span className="shrink-0 text-[11px] font-bold text-[#666]">์งํ๋ฅ {displayMetrics.progress}</span>
|
| 2046 |
+
<div className="h-1.5 flex-1 overflow-hidden rounded-full bg-[#f5f5f5]">
|
| 2047 |
<div
|
| 2048 |
+
className="h-full rounded-full bg-[#111111] transition-[width] duration-300"
|
| 2049 |
style={{ width: `${achievement}%` }}
|
| 2050 |
/>
|
| 2051 |
</div>
|
| 2052 |
</div>
|
| 2053 |
) : null}
|
| 2054 |
|
| 2055 |
+
<div className="grid grid-cols-[minmax(0,1fr)_minmax(0,1.25fr)_auto] items-stretch gap-2 rounded-2xl bg-[#fafafa] p-2">
|
| 2056 |
<button
|
| 2057 |
ref={attachStopButton}
|
| 2058 |
type="button"
|
|
|
|
| 2089 |
type="button"
|
| 2090 |
disabled={startCountdown !== null}
|
| 2091 |
onClick={handlePauseToggle}
|
| 2092 |
+
className="flex h-14 flex-col items-center justify-center gap-1 rounded-xl bg-[#111111] px-3 text-white shadow-lg shadow-[#111111]/30 transition active:scale-[0.96] disabled:cursor-wait disabled:opacity-80"
|
| 2093 |
aria-label={isPaused ? "๋ฌ๋ ์์" : "์ผ์์ ์ง"}
|
| 2094 |
>
|
| 2095 |
{startCountdown !== null ? (
|
|
|
|
| 2112 |
</button>
|
| 2113 |
<button
|
| 2114 |
type="button"
|
| 2115 |
+
className="flex h-14 w-14 flex-col items-center justify-center gap-1 rounded-xl border border-[#111111]/20 bg-white text-[#111111] shadow-sm transition hover:bg-[#fafafa] active:scale-[0.96]"
|
| 2116 |
onClick={openMusicPlayer}
|
| 2117 |
aria-label="์์
์ด๊ธฐ"
|
| 2118 |
aria-haspopup="dialog"
|
|
|
|
| 2134 |
open={isRunDetailsOpen}
|
| 2135 |
keepMounted
|
| 2136 |
onDismiss={() => setIsRunDetailsOpen(false)}
|
| 2137 |
+
dismissOnBackdrop
|
| 2138 |
ariaLabelledBy="run-details-title"
|
| 2139 |
panelClassName="relative max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-md overflow-y-auto rounded-[28px] bg-white p-5 shadow-2xl"
|
| 2140 |
>
|
|
|
|
| 2145 |
</div>
|
| 2146 |
<button
|
| 2147 |
type="button"
|
| 2148 |
+
className="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-[#fafafa] text-xl text-black transition hover:bg-[#f5f5f5]"
|
| 2149 |
onClick={() => setIsRunDetailsOpen(false)}
|
| 2150 |
aria-label="์์ธ ๊ธฐ๋ก ๋ซ๊ธฐ"
|
| 2151 |
>
|
|
|
|
| 2162 |
{simulateMode ? (
|
| 2163 |
<div className="rounded-lg border border-[#f2b8b8] bg-[#fff2f2] px-3 py-2 text-xs font-semibold text-[#8a1f1f]">์๋ฎฌ๋ ์ด์
๋ชจ๋๋ก ๋ฌ๋ ๊ฒฝ๋ก๋ฅผ ์๋ ์ฌ์ ์ค</div>
|
| 2164 |
) : (
|
| 2165 |
+
<div className="flex flex-wrap items-center gap-2 rounded-lg border border-black/10 bg-[#fafafa] px-3 py-2 text-xs font-semibold text-[#4a4a4a]"><span className="h-2 w-2 rounded-full bg-[#111111]" /><span>GPS ๊ธฐ๋ฐ ์ค์๊ฐ ๊ฑฐ๋ฆฌ ์ถ์ ์ค</span>{place ? <span className="text-[#777]">์ง์ญ {place}</span> : null}</div>
|
| 2166 |
)}
|
| 2167 |
+
<div className="rounded-lg border border-[#e5e5e5] bg-[#fafafa] px-3 py-2 text-xs font-semibold text-[#111111]">
|
| 2168 |
{routeGuidancePlan.length > 0 ? `๊ฒฝ๋ก ์๋ด ๊ฐ๋ฆผ๊ธธ ${routeGuidancePlan.length}๊ฐ๋ฅผ ๊ฐ์งํ์ต๋๋ค.` : "์ด ๊ฒฝ๋ก์์๋ ์์ฑ ์๋ด๊ฐ ํ์ํ ๊ฐ๋ฆผ๊ธธ์ ์ฐพ์ง ๋ชปํ์ต๋๋ค."}
|
| 2169 |
+
{ttsStatus ? <p className="mt-1 text-[#404040]">{ttsStatus.message}</p> : null}
|
| 2170 |
</div>
|
| 2171 |
+
{stopStatus ? <p role="status" className="rounded-lg bg-neutral-50 px-3 py-2 text-sm font-semibold text-neutral-900">{stopStatus}</p> : null}
|
| 2172 |
+
<button type="button" onClick={() => void handleDiscardRunAndReturnToLobby()} className="flex h-11 w-full items-center justify-center rounded-full border border-red-300/80 bg-red-50 px-4 text-sm font-bold text-red-700 transition hover:bg-red-100 active:scale-[0.98]">๋ฌ๋ ์ข
๋ฃํ๊ณ ๋ก๋น๋ก ๋์๊ฐ๊ธฐ</button>
|
| 2173 |
</div>
|
| 2174 |
</MotionDialog>
|
| 2175 |
|
|
|
|
| 2189 |
</div>
|
| 2190 |
<button
|
| 2191 |
type="button"
|
| 2192 |
+
className="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-[#fafafa] text-xl text-black transition hover:bg-[#f5f5f5]"
|
| 2193 |
onClick={() => setIsMusicPanelOpen(false)}
|
| 2194 |
aria-label="์์
ํ์
๋ซ๊ธฐ"
|
| 2195 |
>
|
main/app/running-profile/page.tsx
CHANGED
|
@@ -43,8 +43,8 @@ function trendLabel(trend: Characteristic["trend"]): string {
|
|
| 43 |
function trendStyle(trend: Characteristic["trend"]): string {
|
| 44 |
if (trend === "improving") return "border-[#bfe3ca] bg-[#f2fbf5] text-[#24643a]";
|
| 45 |
if (trend === "needs_attention") return "border-[#f1d0a6] bg-[#fff8ed] text-[#8a5a16]";
|
| 46 |
-
if (trend === "stable") return "border-[#
|
| 47 |
-
return "border-[#
|
| 48 |
}
|
| 49 |
|
| 50 |
export default function RunningProfilePage() {
|
|
@@ -83,7 +83,7 @@ export default function RunningProfilePage() {
|
|
| 83 |
/>
|
| 84 |
|
| 85 |
{loading && (
|
| 86 |
-
<EmptyState className="text-sm text-[#
|
| 87 |
)}
|
| 88 |
{error && (
|
| 89 |
<SectionCard className="border-[#ffd1d1] text-sm text-[#a61d1d]">{error}</SectionCard>
|
|
@@ -95,15 +95,15 @@ export default function RunningProfilePage() {
|
|
| 95 |
<div className="flex flex-wrap items-start justify-between gap-4">
|
| 96 |
<div>
|
| 97 |
<h2 className="text-lg font-bold">์ต๊ทผ ๋ฌ๋ ์์ฝ</h2>
|
| 98 |
-
<p className="mt-2 max-w-2xl text-sm leading-6 text-[#
|
| 99 |
</div>
|
| 100 |
<div className="min-w-[150px]">
|
| 101 |
<p className="text-right text-xs font-bold text-[#555]">
|
| 102 |
์ต๊ทผ ๊ธฐ๋ก {profile.sample_size}ํ ๊ธฐ์ค
|
| 103 |
</p>
|
| 104 |
-
<div className="mt-2 h-2 overflow-hidden rounded-full bg-[#
|
| 105 |
<div
|
| 106 |
-
className="h-full rounded-full bg-[#
|
| 107 |
style={{
|
| 108 |
width: `${Math.min(
|
| 109 |
100,
|
|
@@ -117,7 +117,7 @@ export default function RunningProfilePage() {
|
|
| 117 |
{profile.next_focus && (
|
| 118 |
<div className="mt-5 border-t border-black/10 pt-4 text-sm">
|
| 119 |
<p className="font-bold text-black">๋ค์ ๋ฌ๋ ํฌ์ธํธ: {profile.next_focus.title}</p>
|
| 120 |
-
<p className="mt-1 leading-6 text-[#
|
| 121 |
</div>
|
| 122 |
)}
|
| 123 |
</SectionCard>
|
|
@@ -135,9 +135,9 @@ export default function RunningProfilePage() {
|
|
| 135 |
</span>
|
| 136 |
</div>
|
| 137 |
<p className="mt-4 text-[28px] font-bold leading-none">
|
| 138 |
-
{item.average} <span className="text-sm font-medium text-[#
|
| 139 |
</p>
|
| 140 |
-
<p className="mt-3 text-sm leading-6 text-[#
|
| 141 |
</article>
|
| 142 |
))}
|
| 143 |
</div>
|
|
@@ -146,20 +146,20 @@ export default function RunningProfilePage() {
|
|
| 146 |
|
| 147 |
<SectionCard>
|
| 148 |
<h2 className="text-lg font-bold">๋ค์ ๋ฌ๋์์ ํ์ธํ ๊ฒ</h2>
|
| 149 |
-
<ul className="mt-4 flex flex-col gap-3 text-sm leading-6 text-[#
|
| 150 |
{profile.recommendations.map((recommendation) => (
|
| 151 |
<li key={recommendation} className="flex gap-3">
|
| 152 |
-
<span className="mt-1.5 h-4 w-4 shrink-0 rounded border border-[#
|
| 153 |
<span>{recommendation}</span>
|
| 154 |
</li>
|
| 155 |
))}
|
| 156 |
</ul>
|
| 157 |
{profile.status === "collecting" && (
|
| 158 |
-
<p className="mt-5 border-t border-black/10 pt-4 text-xs leading-5 text-[#
|
| 159 |
์ต๊ทผ {profile.required_sample_size}ํ ์ด์ ์ผ์ ๊ธฐ๋ก์ด ๋ชจ์ด๋ฉด ๋ณํ ์ถ์ธ๊น์ง ๋ ์ ํํ๊ฒ ๋น๊ตํ ์ ์์ด์.
|
| 160 |
</p>
|
| 161 |
)}
|
| 162 |
-
{profile.disclaimer && <p className="mt-4 text-xs leading-5 text-[#
|
| 163 |
</SectionCard>
|
| 164 |
</div>
|
| 165 |
)}
|
|
|
|
| 43 |
function trendStyle(trend: Characteristic["trend"]): string {
|
| 44 |
if (trend === "improving") return "border-[#bfe3ca] bg-[#f2fbf5] text-[#24643a]";
|
| 45 |
if (trend === "needs_attention") return "border-[#f1d0a6] bg-[#fff8ed] text-[#8a5a16]";
|
| 46 |
+
if (trend === "stable") return "border-[#e5e5e5] bg-[#fafafa] text-[#525252]";
|
| 47 |
+
return "border-[#e5e5e5] bg-white text-[#737373]";
|
| 48 |
}
|
| 49 |
|
| 50 |
export default function RunningProfilePage() {
|
|
|
|
| 83 |
/>
|
| 84 |
|
| 85 |
{loading && (
|
| 86 |
+
<EmptyState className="text-sm text-[#737373]">๋ฌ๋ ๊ธฐ๋ก์ ๋ถ๋ฌ์ค๋ ์ค์
๋๋ค...</EmptyState>
|
| 87 |
)}
|
| 88 |
{error && (
|
| 89 |
<SectionCard className="border-[#ffd1d1] text-sm text-[#a61d1d]">{error}</SectionCard>
|
|
|
|
| 95 |
<div className="flex flex-wrap items-start justify-between gap-4">
|
| 96 |
<div>
|
| 97 |
<h2 className="text-lg font-bold">์ต๊ทผ ๋ฌ๋ ์์ฝ</h2>
|
| 98 |
+
<p className="mt-2 max-w-2xl text-sm leading-6 text-[#525252]">{profile.headline}</p>
|
| 99 |
</div>
|
| 100 |
<div className="min-w-[150px]">
|
| 101 |
<p className="text-right text-xs font-bold text-[#555]">
|
| 102 |
์ต๊ทผ ๊ธฐ๋ก {profile.sample_size}ํ ๊ธฐ์ค
|
| 103 |
</p>
|
| 104 |
+
<div className="mt-2 h-2 overflow-hidden rounded-full bg-[#f5f5f5]">
|
| 105 |
<div
|
| 106 |
+
className="h-full rounded-full bg-[#111111]"
|
| 107 |
style={{
|
| 108 |
width: `${Math.min(
|
| 109 |
100,
|
|
|
|
| 117 |
{profile.next_focus && (
|
| 118 |
<div className="mt-5 border-t border-black/10 pt-4 text-sm">
|
| 119 |
<p className="font-bold text-black">๋ค์ ๋ฌ๋ ํฌ์ธํธ: {profile.next_focus.title}</p>
|
| 120 |
+
<p className="mt-1 leading-6 text-[#525252]">{profile.next_focus.action}</p>
|
| 121 |
</div>
|
| 122 |
)}
|
| 123 |
</SectionCard>
|
|
|
|
| 135 |
</span>
|
| 136 |
</div>
|
| 137 |
<p className="mt-4 text-[28px] font-bold leading-none">
|
| 138 |
+
{item.average} <span className="text-sm font-medium text-[#737373]">{item.unit}</span>
|
| 139 |
</p>
|
| 140 |
+
<p className="mt-3 text-sm leading-6 text-[#737373]">{item.summary}</p>
|
| 141 |
</article>
|
| 142 |
))}
|
| 143 |
</div>
|
|
|
|
| 146 |
|
| 147 |
<SectionCard>
|
| 148 |
<h2 className="text-lg font-bold">๋ค์ ๋ฌ๋์์ ํ์ธํ ๊ฒ</h2>
|
| 149 |
+
<ul className="mt-4 flex flex-col gap-3 text-sm leading-6 text-[#525252]">
|
| 150 |
{profile.recommendations.map((recommendation) => (
|
| 151 |
<li key={recommendation} className="flex gap-3">
|
| 152 |
+
<span className="mt-1.5 h-4 w-4 shrink-0 rounded border border-[#d4d4d4] bg-white" aria-hidden="true" />
|
| 153 |
<span>{recommendation}</span>
|
| 154 |
</li>
|
| 155 |
))}
|
| 156 |
</ul>
|
| 157 |
{profile.status === "collecting" && (
|
| 158 |
+
<p className="mt-5 border-t border-black/10 pt-4 text-xs leading-5 text-[#737373]">
|
| 159 |
์ต๊ทผ {profile.required_sample_size}ํ ์ด์ ์ผ์ ๊ธฐ๋ก์ด ๋ชจ์ด๋ฉด ๋ณํ ์ถ์ธ๊น์ง ๋ ์ ํํ๊ฒ ๋น๊ตํ ์ ์์ด์.
|
| 160 |
</p>
|
| 161 |
)}
|
| 162 |
+
{profile.disclaimer && <p className="mt-4 text-xs leading-5 text-[#737373]">{profile.disclaimer}</p>}
|
| 163 |
</SectionCard>
|
| 164 |
</div>
|
| 165 |
)}
|
main/app/saved-routes/page.tsx
CHANGED
|
@@ -162,7 +162,7 @@ export default function SavedRoutesPage() {
|
|
| 162 |
}));
|
| 163 |
const selectedMapRoutes = selected ? [{
|
| 164 |
points: selected.route,
|
| 165 |
-
color: selected.kind === "post" ? "#
|
| 166 |
weight: 5,
|
| 167 |
opacity: 0.95,
|
| 168 |
}] : [];
|
|
@@ -237,7 +237,7 @@ export default function SavedRoutesPage() {
|
|
| 237 |
</div>
|
| 238 |
<span className="shrink-0 text-sm font-bold text-black">{visibleCourses.length}๊ฐ</span>
|
| 239 |
</div>
|
| 240 |
-
<div className="relative h-[280px] overflow-hidden rounded-2xl bg-[#
|
| 241 |
<LeafletMap center={mapCenter} routes={selectedMapRoutes} markers={markers}
|
| 242 |
selectedMarkerId={selectedId} onMarkerClick={(marker) => {
|
| 243 |
const course = visibleCourses.find((item) => item.id === marker.id);
|
|
@@ -276,7 +276,7 @@ export default function SavedRoutesPage() {
|
|
| 276 |
{selectedId === course.id ? "์จ๊ธฐ๊ธฐ" : "์ง๋"}
|
| 277 |
</button>
|
| 278 |
<button type="button" onClick={() => startCourse(course)}
|
| 279 |
-
className="h-9 min-w-0 flex-1 rounded-full bg-[#
|
| 280 |
๋ฌ๋ฆฌ๊ธฐ
|
| 281 |
</button>
|
| 282 |
</div>
|
|
|
|
| 162 |
}));
|
| 163 |
const selectedMapRoutes = selected ? [{
|
| 164 |
points: selected.route,
|
| 165 |
+
color: selected.kind === "post" ? "#111111" : "#16a34a",
|
| 166 |
weight: 5,
|
| 167 |
opacity: 0.95,
|
| 168 |
}] : [];
|
|
|
|
| 237 |
</div>
|
| 238 |
<span className="shrink-0 text-sm font-bold text-black">{visibleCourses.length}๊ฐ</span>
|
| 239 |
</div>
|
| 240 |
+
<div className="relative h-[280px] overflow-hidden rounded-2xl bg-[#fafafa] sm:h-[360px] lg:h-[480px]">
|
| 241 |
<LeafletMap center={mapCenter} routes={selectedMapRoutes} markers={markers}
|
| 242 |
selectedMarkerId={selectedId} onMarkerClick={(marker) => {
|
| 243 |
const course = visibleCourses.find((item) => item.id === marker.id);
|
|
|
|
| 276 |
{selectedId === course.id ? "์จ๊ธฐ๊ธฐ" : "์ง๋"}
|
| 277 |
</button>
|
| 278 |
<button type="button" onClick={() => startCourse(course)}
|
| 279 |
+
className="h-9 min-w-0 flex-1 rounded-full bg-[#111111] text-[11px] font-bold text-white">
|
| 280 |
๋ฌ๋ฆฌ๊ธฐ
|
| 281 |
</button>
|
| 282 |
</div>
|
main/app/signup/page.tsx
CHANGED
|
@@ -296,11 +296,11 @@ export default function Page() {
|
|
| 296 |
? "text-green-600"
|
| 297 |
: verificationTone === "error"
|
| 298 |
? "text-red-600"
|
| 299 |
-
: "text-
|
| 300 |
|
| 301 |
return (
|
| 302 |
<main className="rts-auth-page flex min-h-screen items-center justify-center px-6 py-10 sm:px-10">
|
| 303 |
-
<div className="relative flex w-full max-w-md flex-col items-center gap-6 rounded-2xl border border-white/80 bg-white/88 px-6 py-8 pt-12 shadow-[0_12px_32px_rgba(
|
| 304 |
<Link
|
| 305 |
href="/"
|
| 306 |
className="absolute left-0 top-0 inline-flex items-center gap-2 text-sm text-black hover:opacity-70"
|
|
@@ -340,7 +340,7 @@ export default function Page() {
|
|
| 340 |
type="button"
|
| 341 |
onClick={handleRequestVerificationCode}
|
| 342 |
disabled={isRequestingCode}
|
| 343 |
-
className="h-10 shrink-0 rounded-md border border-
|
| 344 |
>
|
| 345 |
{isRequestingCode ? "์ ์ก ์ค..." : "์ธ์ฆ"}
|
| 346 |
</button>
|
|
@@ -417,8 +417,8 @@ export default function Page() {
|
|
| 417 |
}
|
| 418 |
className={`${
|
| 419 |
isSelected
|
| 420 |
-
? "bg-
|
| 421 |
-
: "bg-white border-[#
|
| 422 |
} flex-1 h-10 border rounded-md inline-flex items-center justify-center transition-colors`}
|
| 423 |
aria-pressed={isSelected}
|
| 424 |
aria-label={`์ฑ๋ณ ${option.label} ์ ํ`}
|
|
@@ -469,10 +469,10 @@ export default function Page() {
|
|
| 469 |
type="button"
|
| 470 |
onClick={handleSubmit}
|
| 471 |
disabled={isSubmitting}
|
| 472 |
-
className="w-full h-11 bg-
|
| 473 |
aria-label="ํ์๊ฐ์
์ ์ถ"
|
| 474 |
>
|
| 475 |
-
<span className="[font-family:'Roboto-Medium',Helvetica] font-medium text-
|
| 476 |
{isSubmitting ? "์ฒ๋ฆฌ ์ค..." : "ํ์๊ฐ์
"}
|
| 477 |
</span>
|
| 478 |
</button>
|
|
|
|
| 296 |
? "text-green-600"
|
| 297 |
: verificationTone === "error"
|
| 298 |
? "text-red-600"
|
| 299 |
+
: "text-black";
|
| 300 |
|
| 301 |
return (
|
| 302 |
<main className="rts-auth-page flex min-h-screen items-center justify-center px-6 py-10 sm:px-10">
|
| 303 |
+
<div className="relative flex w-full max-w-md flex-col items-center gap-6 rounded-2xl border border-white/80 bg-white/88 px-6 py-8 pt-12 shadow-[0_12px_32px_rgba(24, 24, 24,0.08)] backdrop-blur-md sm:px-10">
|
| 304 |
<Link
|
| 305 |
href="/"
|
| 306 |
className="absolute left-0 top-0 inline-flex items-center gap-2 text-sm text-black hover:opacity-70"
|
|
|
|
| 340 |
type="button"
|
| 341 |
onClick={handleRequestVerificationCode}
|
| 342 |
disabled={isRequestingCode}
|
| 343 |
+
className="h-10 shrink-0 rounded-md border border-black bg-black px-4 text-sm font-medium text-white transition-colors hover:bg-neutral-800 disabled:opacity-60"
|
| 344 |
>
|
| 345 |
{isRequestingCode ? "์ ์ก ์ค..." : "์ธ์ฆ"}
|
| 346 |
</button>
|
|
|
|
| 417 |
}
|
| 418 |
className={`${
|
| 419 |
isSelected
|
| 420 |
+
? "bg-black border-black"
|
| 421 |
+
: "bg-white border-[#a3a3a3]"
|
| 422 |
} flex-1 h-10 border rounded-md inline-flex items-center justify-center transition-colors`}
|
| 423 |
aria-pressed={isSelected}
|
| 424 |
aria-label={`์ฑ๋ณ ${option.label} ์ ํ`}
|
|
|
|
| 469 |
type="button"
|
| 470 |
onClick={handleSubmit}
|
| 471 |
disabled={isSubmitting}
|
| 472 |
+
className="w-full h-11 bg-black rounded overflow-hidden inline-flex items-center justify-center transition-colors hover:bg-neutral-800 disabled:opacity-60"
|
| 473 |
aria-label="ํ์๊ฐ์
์ ์ถ"
|
| 474 |
>
|
| 475 |
+
<span className="[font-family:'Roboto-Medium',Helvetica] font-medium text-white text-sm tracking-[0] leading-5 whitespace-nowrap">
|
| 476 |
{isSubmitting ? "์ฒ๋ฆฌ ์ค..." : "ํ์๊ฐ์
"}
|
| 477 |
</span>
|
| 478 |
</button>
|
main/app/stats/complete-number/page.tsx
CHANGED
|
@@ -465,7 +465,7 @@ export default function CompleteCalendarPage() {
|
|
| 465 |
{selectedRoutePolyline.length > 1 ? (
|
| 466 |
<LeafletMap
|
| 467 |
center={selectedRouteCenter}
|
| 468 |
-
routes={[{ points: selectedRoutePolyline, color: "#
|
| 469 |
className="calendarRouteMap h-full w-full"
|
| 470 |
zoom={14}
|
| 471 |
/>
|
|
@@ -663,7 +663,7 @@ export default function CompleteCalendarPage() {
|
|
| 663 |
}
|
| 664 |
|
| 665 |
.monthTitle strong {
|
| 666 |
-
color: #
|
| 667 |
font-size: 16px;
|
| 668 |
}
|
| 669 |
|
|
@@ -708,7 +708,7 @@ export default function CompleteCalendarPage() {
|
|
| 708 |
}
|
| 709 |
|
| 710 |
.weekday.saturday {
|
| 711 |
-
color: #
|
| 712 |
}
|
| 713 |
|
| 714 |
.dateGrid {
|
|
@@ -734,7 +734,7 @@ export default function CompleteCalendarPage() {
|
|
| 734 |
}
|
| 735 |
|
| 736 |
.dateCell:hover {
|
| 737 |
-
background: #
|
| 738 |
}
|
| 739 |
|
| 740 |
.dateCell.emptyCell {
|
|
@@ -744,11 +744,11 @@ export default function CompleteCalendarPage() {
|
|
| 744 |
}
|
| 745 |
|
| 746 |
.dateCell.selected {
|
| 747 |
-
border-color: #
|
| 748 |
box-shadow:
|
| 749 |
-
0 0 0 3px rgba(
|
| 750 |
-
0 8px 20px rgba(
|
| 751 |
-
background: #
|
| 752 |
transform: translateY(-2px);
|
| 753 |
z-index: 2;
|
| 754 |
}
|
|
@@ -786,7 +786,7 @@ export default function CompleteCalendarPage() {
|
|
| 786 |
width: 7px;
|
| 787 |
height: 7px;
|
| 788 |
border-radius: 999px;
|
| 789 |
-
background: #
|
| 790 |
z-index: 4;
|
| 791 |
}
|
| 792 |
|
|
@@ -943,7 +943,7 @@ export default function CompleteCalendarPage() {
|
|
| 943 |
}
|
| 944 |
|
| 945 |
.primaryButton {
|
| 946 |
-
background: #
|
| 947 |
color: #111111;
|
| 948 |
}
|
| 949 |
|
|
@@ -976,8 +976,8 @@ export default function CompleteCalendarPage() {
|
|
| 976 |
}
|
| 977 |
|
| 978 |
textarea:focus {
|
| 979 |
-
border-color: #
|
| 980 |
-
box-shadow: 0 0 0 3px rgba(
|
| 981 |
background: #ffffff;
|
| 982 |
}
|
| 983 |
|
|
@@ -996,7 +996,7 @@ export default function CompleteCalendarPage() {
|
|
| 996 |
}
|
| 997 |
|
| 998 |
.dirtyText {
|
| 999 |
-
color: #
|
| 1000 |
}
|
| 1001 |
|
| 1002 |
.savedText {
|
|
@@ -1028,7 +1028,7 @@ export default function CompleteCalendarPage() {
|
|
| 1028 |
|
| 1029 |
.saveButton {
|
| 1030 |
border: 0;
|
| 1031 |
-
background: #
|
| 1032 |
color: #111111;
|
| 1033 |
}
|
| 1034 |
|
|
@@ -1046,7 +1046,7 @@ export default function CompleteCalendarPage() {
|
|
| 1046 |
margin: 18px 0 0;
|
| 1047 |
padding: 12px;
|
| 1048 |
border-radius: 14px;
|
| 1049 |
-
background: #
|
| 1050 |
display: flex;
|
| 1051 |
align-items: center;
|
| 1052 |
justify-content: space-between;
|
|
@@ -1056,13 +1056,13 @@ export default function CompleteCalendarPage() {
|
|
| 1056 |
.errorBox p {
|
| 1057 |
margin: 0;
|
| 1058 |
font-size: 13px;
|
| 1059 |
-
color: #
|
| 1060 |
}
|
| 1061 |
|
| 1062 |
.errorBox button {
|
| 1063 |
border: 0;
|
| 1064 |
border-radius: 999px;
|
| 1065 |
-
background: #
|
| 1066 |
padding: 7px 12px;
|
| 1067 |
font-size: 12px;
|
| 1068 |
cursor: pointer;
|
|
|
|
| 465 |
{selectedRoutePolyline.length > 1 ? (
|
| 466 |
<LeafletMap
|
| 467 |
center={selectedRouteCenter}
|
| 468 |
+
routes={[{ points: selectedRoutePolyline, color: "#111111", weight: 5 }]}
|
| 469 |
className="calendarRouteMap h-full w-full"
|
| 470 |
zoom={14}
|
| 471 |
/>
|
|
|
|
| 663 |
}
|
| 664 |
|
| 665 |
.monthTitle strong {
|
| 666 |
+
color: #111111;
|
| 667 |
font-size: 16px;
|
| 668 |
}
|
| 669 |
|
|
|
|
| 708 |
}
|
| 709 |
|
| 710 |
.weekday.saturday {
|
| 711 |
+
color: #111111;
|
| 712 |
}
|
| 713 |
|
| 714 |
.dateGrid {
|
|
|
|
| 734 |
}
|
| 735 |
|
| 736 |
.dateCell:hover {
|
| 737 |
+
background: #fafafa;
|
| 738 |
}
|
| 739 |
|
| 740 |
.dateCell.emptyCell {
|
|
|
|
| 744 |
}
|
| 745 |
|
| 746 |
.dateCell.selected {
|
| 747 |
+
border-color: #111111;
|
| 748 |
box-shadow:
|
| 749 |
+
0 0 0 3px rgba(216, 216, 216, 0.95),
|
| 750 |
+
0 8px 20px rgba(135, 135, 135, 0.18);
|
| 751 |
+
background: #fafafa;
|
| 752 |
transform: translateY(-2px);
|
| 753 |
z-index: 2;
|
| 754 |
}
|
|
|
|
| 786 |
width: 7px;
|
| 787 |
height: 7px;
|
| 788 |
border-radius: 999px;
|
| 789 |
+
background: #111111;
|
| 790 |
z-index: 4;
|
| 791 |
}
|
| 792 |
|
|
|
|
| 943 |
}
|
| 944 |
|
| 945 |
.primaryButton {
|
| 946 |
+
background: #e5e5e5;
|
| 947 |
color: #111111;
|
| 948 |
}
|
| 949 |
|
|
|
|
| 976 |
}
|
| 977 |
|
| 978 |
textarea:focus {
|
| 979 |
+
border-color: #111111;
|
| 980 |
+
box-shadow: 0 0 0 3px rgba(216, 216, 216, 0.8);
|
| 981 |
background: #ffffff;
|
| 982 |
}
|
| 983 |
|
|
|
|
| 996 |
}
|
| 997 |
|
| 998 |
.dirtyText {
|
| 999 |
+
color: #111111;
|
| 1000 |
}
|
| 1001 |
|
| 1002 |
.savedText {
|
|
|
|
| 1028 |
|
| 1029 |
.saveButton {
|
| 1030 |
border: 0;
|
| 1031 |
+
background: #e5e5e5;
|
| 1032 |
color: #111111;
|
| 1033 |
}
|
| 1034 |
|
|
|
|
| 1046 |
margin: 18px 0 0;
|
| 1047 |
padding: 12px;
|
| 1048 |
border-radius: 14px;
|
| 1049 |
+
background: #fafafa;
|
| 1050 |
display: flex;
|
| 1051 |
align-items: center;
|
| 1052 |
justify-content: space-between;
|
|
|
|
| 1056 |
.errorBox p {
|
| 1057 |
margin: 0;
|
| 1058 |
font-size: 13px;
|
| 1059 |
+
color: #111111;
|
| 1060 |
}
|
| 1061 |
|
| 1062 |
.errorBox button {
|
| 1063 |
border: 0;
|
| 1064 |
border-radius: 999px;
|
| 1065 |
+
background: #e5e5e5;
|
| 1066 |
padding: 7px 12px;
|
| 1067 |
font-size: 12px;
|
| 1068 |
cursor: pointer;
|
main/app/stats/page.tsx
CHANGED
|
@@ -484,7 +484,7 @@ export default function StatsPage() {
|
|
| 484 |
height: 34px;
|
| 485 |
border: 1px solid #dedede;
|
| 486 |
border-radius: 999px;
|
| 487 |
-
background: rgba(
|
| 488 |
backdrop-filter: blur(14px);
|
| 489 |
color: #111111;
|
| 490 |
font-size: 32px;
|
|
@@ -520,7 +520,7 @@ export default function StatsPage() {
|
|
| 520 |
.detailSection {
|
| 521 |
border: 1px solid #e7e7e7;
|
| 522 |
border-radius: 30px;
|
| 523 |
-
background: rgba(
|
| 524 |
backdrop-filter: blur(14px);
|
| 525 |
padding: 24px;
|
| 526 |
box-sizing: border-box;
|
|
@@ -667,7 +667,7 @@ export default function StatsPage() {
|
|
| 667 |
width: min(40px, 70%);
|
| 668 |
min-height: 0;
|
| 669 |
border-radius: 999px 999px 0 0;
|
| 670 |
-
background: #
|
| 671 |
transition: height 0.25s ease;
|
| 672 |
}
|
| 673 |
|
|
@@ -698,7 +698,7 @@ export default function StatsPage() {
|
|
| 698 |
|
| 699 |
.detailCard {
|
| 700 |
border-radius: 28px;
|
| 701 |
-
background: rgba(
|
| 702 |
padding: 8px 26px;
|
| 703 |
box-sizing: border-box;
|
| 704 |
}
|
|
@@ -727,7 +727,7 @@ export default function StatsPage() {
|
|
| 727 |
|
| 728 |
.detailItem:not(.static):hover,
|
| 729 |
.detailItem:not(.static):focus-visible {
|
| 730 |
-
background: rgba(
|
| 731 |
outline: none;
|
| 732 |
padding-left: 12px;
|
| 733 |
padding-right: 12px;
|
|
@@ -763,7 +763,7 @@ export default function StatsPage() {
|
|
| 763 |
margin: 18px 0 0;
|
| 764 |
padding: 12px;
|
| 765 |
border-radius: 14px;
|
| 766 |
-
background: #
|
| 767 |
display: flex;
|
| 768 |
align-items: center;
|
| 769 |
justify-content: space-between;
|
|
@@ -773,13 +773,13 @@ export default function StatsPage() {
|
|
| 773 |
.errorBox p {
|
| 774 |
margin: 0;
|
| 775 |
font-size: 13px;
|
| 776 |
-
color: #
|
| 777 |
}
|
| 778 |
|
| 779 |
.errorBox button {
|
| 780 |
border: 0;
|
| 781 |
border-radius: 999px;
|
| 782 |
-
background: #
|
| 783 |
padding: 7px 12px;
|
| 784 |
font-size: 12px;
|
| 785 |
cursor: pointer;
|
|
@@ -815,7 +815,7 @@ export default function StatsPage() {
|
|
| 815 |
.chartCard {
|
| 816 |
border: 0;
|
| 817 |
border-radius: 0;
|
| 818 |
-
background: rgba(
|
| 819 |
padding: 36px 26px 56px;
|
| 820 |
backdrop-filter: blur(14px);
|
| 821 |
}
|
|
@@ -823,7 +823,7 @@ export default function StatsPage() {
|
|
| 823 |
.detailSection {
|
| 824 |
border: 0;
|
| 825 |
border-radius: 0;
|
| 826 |
-
background: rgba(
|
| 827 |
backdrop-filter: blur(14px);
|
| 828 |
padding: 50px 26px 42px;
|
| 829 |
}
|
|
@@ -902,7 +902,7 @@ export default function StatsPage() {
|
|
| 902 |
margin-top: 24px;
|
| 903 |
padding: 8px 26px;
|
| 904 |
border-radius: 28px;
|
| 905 |
-
background: rgba(
|
| 906 |
backdrop-filter: blur(14px);
|
| 907 |
}
|
| 908 |
|
|
|
|
| 484 |
height: 34px;
|
| 485 |
border: 1px solid #dedede;
|
| 486 |
border-radius: 999px;
|
| 487 |
+
background: rgba(244, 244, 244, 0.46);
|
| 488 |
backdrop-filter: blur(14px);
|
| 489 |
color: #111111;
|
| 490 |
font-size: 32px;
|
|
|
|
| 520 |
.detailSection {
|
| 521 |
border: 1px solid #e7e7e7;
|
| 522 |
border-radius: 30px;
|
| 523 |
+
background: rgba(244, 244, 244, 0.46);
|
| 524 |
backdrop-filter: blur(14px);
|
| 525 |
padding: 24px;
|
| 526 |
box-sizing: border-box;
|
|
|
|
| 667 |
width: min(40px, 70%);
|
| 668 |
min-height: 0;
|
| 669 |
border-radius: 999px 999px 0 0;
|
| 670 |
+
background: #e5e5e5;
|
| 671 |
transition: height 0.25s ease;
|
| 672 |
}
|
| 673 |
|
|
|
|
| 698 |
|
| 699 |
.detailCard {
|
| 700 |
border-radius: 28px;
|
| 701 |
+
background: rgba(244, 244, 244, 0.46);
|
| 702 |
padding: 8px 26px;
|
| 703 |
box-sizing: border-box;
|
| 704 |
}
|
|
|
|
| 727 |
|
| 728 |
.detailItem:not(.static):hover,
|
| 729 |
.detailItem:not(.static):focus-visible {
|
| 730 |
+
background: rgba(216, 216, 216, 0.22);
|
| 731 |
outline: none;
|
| 732 |
padding-left: 12px;
|
| 733 |
padding-right: 12px;
|
|
|
|
| 763 |
margin: 18px 0 0;
|
| 764 |
padding: 12px;
|
| 765 |
border-radius: 14px;
|
| 766 |
+
background: #fafafa;
|
| 767 |
display: flex;
|
| 768 |
align-items: center;
|
| 769 |
justify-content: space-between;
|
|
|
|
| 773 |
.errorBox p {
|
| 774 |
margin: 0;
|
| 775 |
font-size: 13px;
|
| 776 |
+
color: #111111;
|
| 777 |
}
|
| 778 |
|
| 779 |
.errorBox button {
|
| 780 |
border: 0;
|
| 781 |
border-radius: 999px;
|
| 782 |
+
background: #e5e5e5;
|
| 783 |
padding: 7px 12px;
|
| 784 |
font-size: 12px;
|
| 785 |
cursor: pointer;
|
|
|
|
| 815 |
.chartCard {
|
| 816 |
border: 0;
|
| 817 |
border-radius: 0;
|
| 818 |
+
background: rgba(244, 244, 244, 0.46);
|
| 819 |
padding: 36px 26px 56px;
|
| 820 |
backdrop-filter: blur(14px);
|
| 821 |
}
|
|
|
|
| 823 |
.detailSection {
|
| 824 |
border: 0;
|
| 825 |
border-radius: 0;
|
| 826 |
+
background: rgba(244, 244, 244, 0.46);
|
| 827 |
backdrop-filter: blur(14px);
|
| 828 |
padding: 50px 26px 42px;
|
| 829 |
}
|
|
|
|
| 902 |
margin-top: 24px;
|
| 903 |
padding: 8px 26px;
|
| 904 |
border-radius: 28px;
|
| 905 |
+
background: rgba(244, 244, 244, 0.46);
|
| 906 |
backdrop-filter: blur(14px);
|
| 907 |
}
|
| 908 |
|
main/app/stats/total-length/page.tsx
CHANGED
|
@@ -408,7 +408,7 @@ export default function TotalLengthPage() {
|
|
| 408 |
<nav className="tabBox" aria-label="ํต๊ณ ๊ธฐ๊ฐ ์ ํ">
|
| 409 |
<div className="tabIndicator" aria-hidden="true">
|
| 410 |
<motion.div
|
| 411 |
-
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#
|
| 412 |
animate={{ x: `${activeTabIndex * 100}%` }}
|
| 413 |
transition={motionPresets.snappy}
|
| 414 |
/>
|
|
@@ -480,7 +480,7 @@ export default function TotalLengthPage() {
|
|
| 480 |
<div className="unitToggle">
|
| 481 |
<div className="unitIndicator" aria-hidden="true">
|
| 482 |
<motion.div
|
| 483 |
-
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#
|
| 484 |
animate={{ x: `${activeUnitIndex * 100}%` }}
|
| 485 |
transition={motionPresets.snappy}
|
| 486 |
/>
|
|
@@ -642,7 +642,7 @@ export default function TotalLengthPage() {
|
|
| 642 |
height: 34px;
|
| 643 |
border: 1px solid #dedede;
|
| 644 |
border-radius: 999px;
|
| 645 |
-
background: rgba(
|
| 646 |
backdrop-filter: blur(14px);
|
| 647 |
color: #111111;
|
| 648 |
font-size: 32px;
|
|
@@ -678,7 +678,7 @@ export default function TotalLengthPage() {
|
|
| 678 |
.recentSection {
|
| 679 |
border: 1px solid #e5e5e5;
|
| 680 |
border-radius: 28px;
|
| 681 |
-
background: rgba(
|
| 682 |
backdrop-filter: blur(14px);
|
| 683 |
padding: 22px;
|
| 684 |
box-sizing: border-box;
|
|
@@ -865,7 +865,7 @@ export default function TotalLengthPage() {
|
|
| 865 |
padding: 14px;
|
| 866 |
border-radius: 18px;
|
| 867 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 868 |
-
background: rgba(
|
| 869 |
box-sizing: border-box;
|
| 870 |
}
|
| 871 |
|
|
@@ -956,7 +956,7 @@ export default function TotalLengthPage() {
|
|
| 956 |
width: min(22px, 70%);
|
| 957 |
min-height: 0;
|
| 958 |
border-radius: 999px 999px 0 0;
|
| 959 |
-
background: #
|
| 960 |
transition: height 0.25s ease;
|
| 961 |
}
|
| 962 |
|
|
@@ -997,7 +997,7 @@ export default function TotalLengthPage() {
|
|
| 997 |
.emptyActivityCard {
|
| 998 |
border-radius: 22px;
|
| 999 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 1000 |
-
background: rgba(
|
| 1001 |
padding: 18px 14px 16px;
|
| 1002 |
}
|
| 1003 |
|
|
@@ -1040,7 +1040,7 @@ export default function TotalLengthPage() {
|
|
| 1040 |
margin: 18px 0 0;
|
| 1041 |
padding: 12px;
|
| 1042 |
border-radius: 14px;
|
| 1043 |
-
background: #
|
| 1044 |
display: flex;
|
| 1045 |
align-items: center;
|
| 1046 |
justify-content: space-between;
|
|
@@ -1050,13 +1050,13 @@ export default function TotalLengthPage() {
|
|
| 1050 |
.errorBox p {
|
| 1051 |
margin: 0;
|
| 1052 |
font-size: 13px;
|
| 1053 |
-
color: #
|
| 1054 |
}
|
| 1055 |
|
| 1056 |
.errorBox button {
|
| 1057 |
border: 0;
|
| 1058 |
border-radius: 999px;
|
| 1059 |
-
background: #
|
| 1060 |
padding: 7px 12px;
|
| 1061 |
font-size: 12px;
|
| 1062 |
cursor: pointer;
|
|
|
|
| 408 |
<nav className="tabBox" aria-label="ํต๊ณ ๊ธฐ๊ฐ ์ ํ">
|
| 409 |
<div className="tabIndicator" aria-hidden="true">
|
| 410 |
<motion.div
|
| 411 |
+
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#e5e5e5" }}
|
| 412 |
animate={{ x: `${activeTabIndex * 100}%` }}
|
| 413 |
transition={motionPresets.snappy}
|
| 414 |
/>
|
|
|
|
| 480 |
<div className="unitToggle">
|
| 481 |
<div className="unitIndicator" aria-hidden="true">
|
| 482 |
<motion.div
|
| 483 |
+
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#e5e5e5" }}
|
| 484 |
animate={{ x: `${activeUnitIndex * 100}%` }}
|
| 485 |
transition={motionPresets.snappy}
|
| 486 |
/>
|
|
|
|
| 642 |
height: 34px;
|
| 643 |
border: 1px solid #dedede;
|
| 644 |
border-radius: 999px;
|
| 645 |
+
background: rgba(244, 244, 244, 0.46);
|
| 646 |
backdrop-filter: blur(14px);
|
| 647 |
color: #111111;
|
| 648 |
font-size: 32px;
|
|
|
|
| 678 |
.recentSection {
|
| 679 |
border: 1px solid #e5e5e5;
|
| 680 |
border-radius: 28px;
|
| 681 |
+
background: rgba(244, 244, 244, 0.46);
|
| 682 |
backdrop-filter: blur(14px);
|
| 683 |
padding: 22px;
|
| 684 |
box-sizing: border-box;
|
|
|
|
| 865 |
padding: 14px;
|
| 866 |
border-radius: 18px;
|
| 867 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 868 |
+
background: rgba(244, 244, 244, 0.34);
|
| 869 |
box-sizing: border-box;
|
| 870 |
}
|
| 871 |
|
|
|
|
| 956 |
width: min(22px, 70%);
|
| 957 |
min-height: 0;
|
| 958 |
border-radius: 999px 999px 0 0;
|
| 959 |
+
background: #e5e5e5;
|
| 960 |
transition: height 0.25s ease;
|
| 961 |
}
|
| 962 |
|
|
|
|
| 997 |
.emptyActivityCard {
|
| 998 |
border-radius: 22px;
|
| 999 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 1000 |
+
background: rgba(244, 244, 244, 0.36);
|
| 1001 |
padding: 18px 14px 16px;
|
| 1002 |
}
|
| 1003 |
|
|
|
|
| 1040 |
margin: 18px 0 0;
|
| 1041 |
padding: 12px;
|
| 1042 |
border-radius: 14px;
|
| 1043 |
+
background: #fafafa;
|
| 1044 |
display: flex;
|
| 1045 |
align-items: center;
|
| 1046 |
justify-content: space-between;
|
|
|
|
| 1050 |
.errorBox p {
|
| 1051 |
margin: 0;
|
| 1052 |
font-size: 13px;
|
| 1053 |
+
color: #111111;
|
| 1054 |
}
|
| 1055 |
|
| 1056 |
.errorBox button {
|
| 1057 |
border: 0;
|
| 1058 |
border-radius: 999px;
|
| 1059 |
+
background: #e5e5e5;
|
| 1060 |
padding: 7px 12px;
|
| 1061 |
font-size: 12px;
|
| 1062 |
cursor: pointer;
|
main/app/stats/total-time/page.tsx
CHANGED
|
@@ -415,7 +415,7 @@ export default function TotalTimePage() {
|
|
| 415 |
<nav className="tabBox" aria-label="ํต๊ณ ๊ธฐ๊ฐ ์ ํ">
|
| 416 |
<div className="tabIndicator" aria-hidden="true">
|
| 417 |
<motion.div
|
| 418 |
-
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#
|
| 419 |
animate={{ x: `${activeTabIndex * 100}%` }}
|
| 420 |
transition={motionPresets.snappy}
|
| 421 |
/>
|
|
@@ -487,7 +487,7 @@ export default function TotalTimePage() {
|
|
| 487 |
<div className="unitToggle">
|
| 488 |
<div className="unitIndicator" aria-hidden="true">
|
| 489 |
<motion.div
|
| 490 |
-
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#
|
| 491 |
animate={{ x: `${activeUnitIndex * 100}%` }}
|
| 492 |
transition={motionPresets.snappy}
|
| 493 |
/>
|
|
@@ -657,7 +657,7 @@ export default function TotalTimePage() {
|
|
| 657 |
height: 34px;
|
| 658 |
border: 1px solid #dedede;
|
| 659 |
border-radius: 999px;
|
| 660 |
-
background: rgba(
|
| 661 |
backdrop-filter: blur(14px);
|
| 662 |
color: #111111;
|
| 663 |
font-size: 32px;
|
|
@@ -693,7 +693,7 @@ export default function TotalTimePage() {
|
|
| 693 |
.recentSection {
|
| 694 |
border: 1px solid #e5e5e5;
|
| 695 |
border-radius: 28px;
|
| 696 |
-
background: rgba(
|
| 697 |
backdrop-filter: blur(14px);
|
| 698 |
padding: 22px;
|
| 699 |
box-sizing: border-box;
|
|
@@ -880,7 +880,7 @@ export default function TotalTimePage() {
|
|
| 880 |
padding: 14px;
|
| 881 |
border-radius: 18px;
|
| 882 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 883 |
-
background: rgba(
|
| 884 |
box-sizing: border-box;
|
| 885 |
}
|
| 886 |
|
|
@@ -971,7 +971,7 @@ export default function TotalTimePage() {
|
|
| 971 |
width: min(22px, 70%);
|
| 972 |
min-height: 0;
|
| 973 |
border-radius: 999px 999px 0 0;
|
| 974 |
-
background: #
|
| 975 |
transition: height 0.25s ease;
|
| 976 |
}
|
| 977 |
|
|
@@ -1012,7 +1012,7 @@ export default function TotalTimePage() {
|
|
| 1012 |
.emptyActivityCard {
|
| 1013 |
border-radius: 22px;
|
| 1014 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 1015 |
-
background: rgba(
|
| 1016 |
padding: 18px 14px 16px;
|
| 1017 |
}
|
| 1018 |
|
|
@@ -1055,7 +1055,7 @@ export default function TotalTimePage() {
|
|
| 1055 |
margin: 18px 0 0;
|
| 1056 |
padding: 12px;
|
| 1057 |
border-radius: 14px;
|
| 1058 |
-
background: #
|
| 1059 |
display: flex;
|
| 1060 |
align-items: center;
|
| 1061 |
justify-content: space-between;
|
|
@@ -1065,13 +1065,13 @@ export default function TotalTimePage() {
|
|
| 1065 |
.errorBox p {
|
| 1066 |
margin: 0;
|
| 1067 |
font-size: 13px;
|
| 1068 |
-
color: #
|
| 1069 |
}
|
| 1070 |
|
| 1071 |
.errorBox button {
|
| 1072 |
border: 0;
|
| 1073 |
border-radius: 999px;
|
| 1074 |
-
background: #
|
| 1075 |
padding: 7px 12px;
|
| 1076 |
font-size: 12px;
|
| 1077 |
cursor: pointer;
|
|
|
|
| 415 |
<nav className="tabBox" aria-label="ํต๊ณ ๊ธฐ๊ฐ ์ ํ">
|
| 416 |
<div className="tabIndicator" aria-hidden="true">
|
| 417 |
<motion.div
|
| 418 |
+
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#e5e5e5" }}
|
| 419 |
animate={{ x: `${activeTabIndex * 100}%` }}
|
| 420 |
transition={motionPresets.snappy}
|
| 421 |
/>
|
|
|
|
| 487 |
<div className="unitToggle">
|
| 488 |
<div className="unitIndicator" aria-hidden="true">
|
| 489 |
<motion.div
|
| 490 |
+
style={{ width: "100%", height: "100%", borderRadius: "inherit", background: "#e5e5e5" }}
|
| 491 |
animate={{ x: `${activeUnitIndex * 100}%` }}
|
| 492 |
transition={motionPresets.snappy}
|
| 493 |
/>
|
|
|
|
| 657 |
height: 34px;
|
| 658 |
border: 1px solid #dedede;
|
| 659 |
border-radius: 999px;
|
| 660 |
+
background: rgba(244, 244, 244, 0.46);
|
| 661 |
backdrop-filter: blur(14px);
|
| 662 |
color: #111111;
|
| 663 |
font-size: 32px;
|
|
|
|
| 693 |
.recentSection {
|
| 694 |
border: 1px solid #e5e5e5;
|
| 695 |
border-radius: 28px;
|
| 696 |
+
background: rgba(244, 244, 244, 0.46);
|
| 697 |
backdrop-filter: blur(14px);
|
| 698 |
padding: 22px;
|
| 699 |
box-sizing: border-box;
|
|
|
|
| 880 |
padding: 14px;
|
| 881 |
border-radius: 18px;
|
| 882 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 883 |
+
background: rgba(244, 244, 244, 0.34);
|
| 884 |
box-sizing: border-box;
|
| 885 |
}
|
| 886 |
|
|
|
|
| 971 |
width: min(22px, 70%);
|
| 972 |
min-height: 0;
|
| 973 |
border-radius: 999px 999px 0 0;
|
| 974 |
+
background: #e5e5e5;
|
| 975 |
transition: height 0.25s ease;
|
| 976 |
}
|
| 977 |
|
|
|
|
| 1012 |
.emptyActivityCard {
|
| 1013 |
border-radius: 22px;
|
| 1014 |
border: 1px solid rgba(255, 255, 255, 0.54);
|
| 1015 |
+
background: rgba(244, 244, 244, 0.36);
|
| 1016 |
padding: 18px 14px 16px;
|
| 1017 |
}
|
| 1018 |
|
|
|
|
| 1055 |
margin: 18px 0 0;
|
| 1056 |
padding: 12px;
|
| 1057 |
border-radius: 14px;
|
| 1058 |
+
background: #fafafa;
|
| 1059 |
display: flex;
|
| 1060 |
align-items: center;
|
| 1061 |
justify-content: space-between;
|
|
|
|
| 1065 |
.errorBox p {
|
| 1066 |
margin: 0;
|
| 1067 |
font-size: 13px;
|
| 1068 |
+
color: #111111;
|
| 1069 |
}
|
| 1070 |
|
| 1071 |
.errorBox button {
|
| 1072 |
border: 0;
|
| 1073 |
border-radius: 999px;
|
| 1074 |
+
background: #e5e5e5;
|
| 1075 |
padding: 7px 12px;
|
| 1076 |
font-size: 12px;
|
| 1077 |
cursor: pointer;
|
main/app/trend-routes/page.tsx
CHANGED
|
@@ -182,7 +182,7 @@ function TopRouteCard({
|
|
| 182 |
>
|
| 183 |
<div className="flex items-start justify-between gap-3">
|
| 184 |
<div className="flex min-w-0 flex-col gap-2">
|
| 185 |
-
<span className="inline-flex w-fit items-center rounded-full bg-[#
|
| 186 |
{getRankLabel(rank)}
|
| 187 |
</span>
|
| 188 |
|
|
@@ -194,37 +194,37 @@ function TopRouteCard({
|
|
| 194 |
</div>
|
| 195 |
|
| 196 |
<div className="flex shrink-0 flex-col items-end gap-2">
|
| 197 |
-
<span className="rounded-full bg-[#
|
| 198 |
์กฐํ์ {formatCount(viewCount)}
|
| 199 |
</span>
|
| 200 |
|
| 201 |
-
<span className="rounded-full bg-[#
|
| 202 |
์ข์์ {formatCount(likeCount)}
|
| 203 |
</span>
|
| 204 |
</div>
|
| 205 |
</div>
|
| 206 |
|
| 207 |
<div className={`mt-6 grid grid-cols-2 gap-3 text-sm ${large ? "md:grid-cols-4" : ""}`}>
|
| 208 |
-
<div className="rounded-xl bg-[#
|
| 209 |
<span className="text-[#666]">๊ฑฐ๋ฆฌ</span>
|
| 210 |
<div className="mt-1 font-semibold text-black">
|
| 211 |
{formatDistanceText(stats.distance)}
|
| 212 |
</div>
|
| 213 |
</div>
|
| 214 |
|
| 215 |
-
<div className="rounded-xl bg-[#
|
| 216 |
<span className="text-[#666]">์๊ฐ</span>
|
| 217 |
<div className="mt-1 font-semibold text-black">{stats.time}</div>
|
| 218 |
</div>
|
| 219 |
|
| 220 |
-
<div className="rounded-xl bg-[#
|
| 221 |
<span className="text-[#666]">์์ฃผ์จ</span>
|
| 222 |
<div className="mt-1 font-semibold text-black">
|
| 223 |
{formatAchievementText(stats.achievement)}
|
| 224 |
</div>
|
| 225 |
</div>
|
| 226 |
|
| 227 |
-
<div className="rounded-xl bg-[#
|
| 228 |
<span className="text-[#666]">{large ? "๊ธฐ์ค" : "์ธ๊ธฐ ๊ธฐ์ค"}</span>
|
| 229 |
<div className="mt-1 font-semibold text-black">
|
| 230 |
์กฐํ {formatCount(viewCount)} ยท ์ข์์ {formatCount(likeCount)}
|
|
@@ -302,7 +302,7 @@ export default function Page() {
|
|
| 302 |
|
| 303 |
<section className="rts-shell flex flex-col gap-6">
|
| 304 |
{loadError ? (
|
| 305 |
-
<div className="rounded-[18px] border border-[#
|
| 306 |
{loadError}
|
| 307 |
</div>
|
| 308 |
) : null}
|
|
@@ -317,7 +317,7 @@ export default function Page() {
|
|
| 317 |
|
| 318 |
<div className="relative grid h-[38px] w-full shrink-0 grid-cols-2 overflow-hidden rounded-full border border-[#d9d9d9] bg-white sm:w-[180px]" role="group" aria-label="์ธ๊ธฐ ๋ฃจํธ ์ ๋ ฌ ๊ธฐ์ค">
|
| 319 |
<motion.div
|
| 320 |
-
className="pointer-events-none absolute inset-y-0 left-0 w-1/2 rounded-full bg-[#
|
| 321 |
animate={{ x: `${activeSortIndex * 100}%` }}
|
| 322 |
transition={motionPresets.snappy}
|
| 323 |
/>
|
|
|
|
| 182 |
>
|
| 183 |
<div className="flex items-start justify-between gap-3">
|
| 184 |
<div className="flex min-w-0 flex-col gap-2">
|
| 185 |
+
<span className="inline-flex w-fit items-center rounded-full bg-[#e5e5e5] px-3 py-1 text-xs font-bold text-black">
|
| 186 |
{getRankLabel(rank)}
|
| 187 |
</span>
|
| 188 |
|
|
|
|
| 194 |
</div>
|
| 195 |
|
| 196 |
<div className="flex shrink-0 flex-col items-end gap-2">
|
| 197 |
+
<span className="rounded-full bg-[#fafafa] px-3 py-1 text-xs font-semibold text-black">
|
| 198 |
์กฐํ์ {formatCount(viewCount)}
|
| 199 |
</span>
|
| 200 |
|
| 201 |
+
<span className="rounded-full bg-[#fafafa] px-3 py-1 text-xs font-semibold text-black">
|
| 202 |
์ข์์ {formatCount(likeCount)}
|
| 203 |
</span>
|
| 204 |
</div>
|
| 205 |
</div>
|
| 206 |
|
| 207 |
<div className={`mt-6 grid grid-cols-2 gap-3 text-sm ${large ? "md:grid-cols-4" : ""}`}>
|
| 208 |
+
<div className="rounded-xl bg-[#fafafa] p-3">
|
| 209 |
<span className="text-[#666]">๊ฑฐ๋ฆฌ</span>
|
| 210 |
<div className="mt-1 font-semibold text-black">
|
| 211 |
{formatDistanceText(stats.distance)}
|
| 212 |
</div>
|
| 213 |
</div>
|
| 214 |
|
| 215 |
+
<div className="rounded-xl bg-[#fafafa] p-3">
|
| 216 |
<span className="text-[#666]">์๊ฐ</span>
|
| 217 |
<div className="mt-1 font-semibold text-black">{stats.time}</div>
|
| 218 |
</div>
|
| 219 |
|
| 220 |
+
<div className="rounded-xl bg-[#fafafa] p-3">
|
| 221 |
<span className="text-[#666]">์์ฃผ์จ</span>
|
| 222 |
<div className="mt-1 font-semibold text-black">
|
| 223 |
{formatAchievementText(stats.achievement)}
|
| 224 |
</div>
|
| 225 |
</div>
|
| 226 |
|
| 227 |
+
<div className="rounded-xl bg-[#fafafa] p-3">
|
| 228 |
<span className="text-[#666]">{large ? "๊ธฐ์ค" : "์ธ๊ธฐ ๊ธฐ์ค"}</span>
|
| 229 |
<div className="mt-1 font-semibold text-black">
|
| 230 |
์กฐํ {formatCount(viewCount)} ยท ์ข์์ {formatCount(likeCount)}
|
|
|
|
| 302 |
|
| 303 |
<section className="rts-shell flex flex-col gap-6">
|
| 304 |
{loadError ? (
|
| 305 |
+
<div className="rounded-[18px] border border-[#e5e5e5] bg-[#fafafa] px-4 py-3 text-sm text-[#111111]">
|
| 306 |
{loadError}
|
| 307 |
</div>
|
| 308 |
) : null}
|
|
|
|
| 317 |
|
| 318 |
<div className="relative grid h-[38px] w-full shrink-0 grid-cols-2 overflow-hidden rounded-full border border-[#d9d9d9] bg-white sm:w-[180px]" role="group" aria-label="์ธ๊ธฐ ๋ฃจํธ ์ ๋ ฌ ๊ธฐ์ค">
|
| 319 |
<motion.div
|
| 320 |
+
className="pointer-events-none absolute inset-y-0 left-0 w-1/2 rounded-full bg-[#e5e5e5]"
|
| 321 |
animate={{ x: `${activeSortIndex * 100}%` }}
|
| 322 |
transition={motionPresets.snappy}
|
| 323 |
/>
|
main/public/fonts/nanum-square-round/NanumSquareRoundB.woff2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e8692a08d6c323f1bffb3641c7276d9c4bc8fa2891d78b02acc972776228600
|
| 3 |
+
size 232072
|
main/public/fonts/nanum-square-round/NanumSquareRoundR.woff2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3127eb6b4cf10a0a840d204d613f610bbbd7f8a7ce82c0f81d04713760f81758
|
| 3 |
+
size 247228
|
main/public/fonts/nanum-square-round/OFL.txt
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2017 NAVER Corporation. All rights reserved.
|
| 2 |
+
Font designed by Sandoll Communications Inc.
|
| 3 |
+
|
| 4 |
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
| 5 |
+
This license is copied below, and is also available with a FAQ at:
|
| 6 |
+
https://openfontlicense.org/
|
| 7 |
+
|
| 8 |
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
| 9 |
+
|
| 10 |
+
PREAMBLE
|
| 11 |
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
| 12 |
+
development of collaborative font projects, to support the font creation
|
| 13 |
+
efforts of academic and linguistic communities, and to provide a free and
|
| 14 |
+
open framework in which fonts may be shared and improved in partnership
|
| 15 |
+
with others.
|
| 16 |
+
|
| 17 |
+
The OFL allows the licensed fonts to be used, studied, modified and
|
| 18 |
+
redistributed freely as long as they are not sold by themselves. The
|
| 19 |
+
fonts, including any derivative works, can be bundled, embedded,
|
| 20 |
+
redistributed and/or sold with any software provided that any reserved
|
| 21 |
+
names are not used by derivative works. The fonts and derivatives,
|
| 22 |
+
however, cannot be released under any other type of license. The
|
| 23 |
+
requirement for fonts to remain under this license does not apply
|
| 24 |
+
to any document created using the fonts or their derivatives.
|
| 25 |
+
|
| 26 |
+
DEFINITIONS
|
| 27 |
+
"Font Software" refers to the set of files released by the Copyright
|
| 28 |
+
Holder(s) under this license and clearly marked as such. This may
|
| 29 |
+
include source files, build scripts and documentation.
|
| 30 |
+
|
| 31 |
+
"Reserved Font Name" refers to any names specified as such after the
|
| 32 |
+
copyright statement(s).
|
| 33 |
+
|
| 34 |
+
"Original Version" refers to the collection of Font Software components as
|
| 35 |
+
distributed by the Copyright Holder(s).
|
| 36 |
+
|
| 37 |
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
| 38 |
+
or substituting -- in part or in whole -- any of the components of the
|
| 39 |
+
Original Version, by changing formats or by porting the Font Software to a
|
| 40 |
+
new environment.
|
| 41 |
+
|
| 42 |
+
"Author" refers to any designer, engineer, programmer, technical
|
| 43 |
+
writer or other person who contributed to the Font Software.
|
| 44 |
+
|
| 45 |
+
PERMISSION & CONDITIONS
|
| 46 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 47 |
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
| 48 |
+
redistribute, and sell modified and unmodified copies of the Font
|
| 49 |
+
Software, subject to the following conditions:
|
| 50 |
+
|
| 51 |
+
1) Neither the Font Software nor any of its individual components,
|
| 52 |
+
in Original or Modified Versions, may be sold by itself.
|
| 53 |
+
|
| 54 |
+
2) Original or Modified Versions of the Font Software may be bundled,
|
| 55 |
+
redistributed and/or sold with any software, provided that each copy
|
| 56 |
+
contains the above copyright notice and this license. These can be
|
| 57 |
+
included either as stand-alone text files, human-readable headers or
|
| 58 |
+
in the appropriate machine-readable metadata fields within text or
|
| 59 |
+
binary files as long as those fields can be easily viewed by the user.
|
| 60 |
+
|
| 61 |
+
3) No Modified Version of the Font Software may use the Reserved Font
|
| 62 |
+
Name(s) unless explicit written permission is granted by the corresponding
|
| 63 |
+
Copyright Holder. This restriction only applies to the primary font name as
|
| 64 |
+
presented to the users.
|
| 65 |
+
|
| 66 |
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
| 67 |
+
Software shall not be used to promote, endorse or advertise any
|
| 68 |
+
Modified Version, except to acknowledge the contribution(s) of the
|
| 69 |
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
| 70 |
+
permission.
|
| 71 |
+
|
| 72 |
+
5) The Font Software, modified or unmodified, in part or in whole,
|
| 73 |
+
must be distributed entirely under this license, and must not be
|
| 74 |
+
distributed under any other license. The requirement for fonts to
|
| 75 |
+
remain under this license does not apply to any document created
|
| 76 |
+
using the Font Software.
|
| 77 |
+
|
| 78 |
+
TERMINATION
|
| 79 |
+
This license becomes null and void if any of the above conditions are
|
| 80 |
+
not met.
|
| 81 |
+
|
| 82 |
+
DISCLAIMER
|
| 83 |
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 84 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
| 85 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
| 86 |
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
| 87 |
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
| 88 |
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
| 89 |
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
| 90 |
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
| 91 |
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
main/public/fonts/nanum-square-round/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ๋๋์คํ์ด๋ผ์ด๋ (NanumSquareRound)
|
| 2 |
+
|
| 3 |
+
Copyright: NAVER Corporation.
|
| 4 |
+
|
| 5 |
+
Official source: https://hangeul.naver.com/fonts/search?f=nanum
|
| 6 |
+
License: SIL Open Font License 1.1. See `OFL.txt` and NAVER's font support:
|
| 7 |
+
https://help.naver.com/service/30016/category/4576?lang=ko
|
| 8 |
+
|
| 9 |
+
Unmodified official webfonts, hosted locally with the app:
|
| 10 |
+
|
| 11 |
+
- Regular: https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundR.woff2
|
| 12 |
+
- Bold: https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundB.woff2
|
| 13 |
+
|
| 14 |
+
The app maps weights 100โ500 to Regular and 600โ900 to Bold. These are
|
| 15 |
+
static font files, not a variable font.
|
| 16 |
+
|
| 17 |
+
The official character set includes 2,350 Korean syllables, 94 basic Latin
|
| 18 |
+
characters and 986 KS symbols. Characters outside this set use the system
|
| 19 |
+
fallbacks defined in `app/globals.css`.
|
main/public/icon.svg
CHANGED
|
|
|
|
main/public/manifest.webmanifest
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
"start_url": "/",
|
| 6 |
"display": "standalone",
|
| 7 |
"background_color": "#ffffff",
|
| 8 |
-
"theme_color": "#
|
| 9 |
"icons": [
|
| 10 |
{
|
| 11 |
"src": "/favicon-192x192.png",
|
|
|
|
| 5 |
"start_url": "/",
|
| 6 |
"display": "standalone",
|
| 7 |
"background_color": "#ffffff",
|
| 8 |
+
"theme_color": "#111111",
|
| 9 |
"icons": [
|
| 10 |
{
|
| 11 |
"src": "/favicon-192x192.png",
|
main/public/placeholders/logo.svg
CHANGED
|
|
|
|
main/public/placeholders/social-login.svg
CHANGED
|
|
|
|
main/tailwind.config.js
CHANGED
|
@@ -4,6 +4,7 @@ module.exports = {
|
|
| 4 |
theme: {
|
| 5 |
extend: {
|
| 6 |
fontFamily: {
|
|
|
|
| 7 |
"m3-label-large": "var(--m3-label-large-font-family)",
|
| 8 |
"m3-title-large": "var(--m3-title-large-font-family)",
|
| 9 |
},
|
|
|
|
| 4 |
theme: {
|
| 5 |
extend: {
|
| 6 |
fontFamily: {
|
| 7 |
+
sans: "var(--rts-font-sans)",
|
| 8 |
"m3-label-large": "var(--m3-label-large-font-family)",
|
| 9 |
"m3-title-large": "var(--m3-title-large-font-family)",
|
| 10 |
},
|
main/tests/runBackground.browser.cjs
CHANGED
|
@@ -72,7 +72,7 @@ if(!/^http:\/\/(127\.0\.0\.1|localhost):\d+$/.test(base))throw Error('Local only
|
|
| 72 |
window.dispatchEvent(new MessageEvent('message',{origin:location.origin,data:{type:'tranimal.run.tracking.state',payload:{sessionId:id,owner:'background-test',active:true,paused:true,elapsedSec:125,distanceMeters:650,simulationCursor:2,stateSeq:Date.now(),actualRoute:[[37,127],[37.001,127]],currentPosition:{lat:37.001,lng:127},trackingAvailable:true,...patch}}}));
|
| 73 |
},{id,patch});
|
| 74 |
await emit({}); await page.getByText('02:05',{exact:true}).waitFor();
|
| 75 |
-
const routeLine=page.locator('.leaflet-overlay-pane path[stroke="#
|
| 76 |
await routeLine.waitFor({state:'attached'});
|
| 77 |
const routeBox=()=>routeLine.evaluate(el=>{const r=el.getBoundingClientRect(),m=el.closest('.leaflet-container').getBoundingClientRect();return [r.x-m.x,r.y-m.y,r.width,r.height];});
|
| 78 |
const initialBox=await routeBox();
|
|
|
|
| 72 |
window.dispatchEvent(new MessageEvent('message',{origin:location.origin,data:{type:'tranimal.run.tracking.state',payload:{sessionId:id,owner:'background-test',active:true,paused:true,elapsedSec:125,distanceMeters:650,simulationCursor:2,stateSeq:Date.now(),actualRoute:[[37,127],[37.001,127]],currentPosition:{lat:37.001,lng:127},trackingAvailable:true,...patch}}}));
|
| 73 |
},{id,patch});
|
| 74 |
await emit({}); await page.getByText('02:05',{exact:true}).waitFor();
|
| 75 |
+
const routeLine=page.locator('.leaflet-overlay-pane path[stroke="#111111"]').first();
|
| 76 |
await routeLine.waitFor({state:'attached'});
|
| 77 |
const routeBox=()=>routeLine.evaluate(el=>{const r=el.getBoundingClientRect(),m=el.closest('.leaflet-container').getBoundingClientRect();return [r.x-m.x,r.y-m.y,r.width,r.height];});
|
| 78 |
const initialBox=await routeBox();
|