feat: 앱인토스 토스판 빌드(보기 전용, 위치·공유 SDK 분기, appName nalssigak)

This commit is contained in:
minaChoi committed 2026-10-13 15:03:26 +09:00
1 parent 1fa0695c84
commit 7451599727
16 files changed
+1704 -58

No files matched your search

+3
View File
@@ -1,5 +1,6 @@
import { useState, type CSSProperties, type ReactNode } from 'react'
import { Link } from 'react-router'
import { IS_TOSS } from '../lib/platform'
import { cx } from '../lib/utils'
import { useCarousel, type Carousel } from './carousel'
import { AVATAR_COLORS, iconSrc, moodEmoji, naverMap, type Load } from './lib'
@@ -199,6 +200,8 @@ export function StateBox({ load, onRetry, empty, className, hold }: StateProps)
/** 줄 목록 (라벨 · 값) */
/** 위치가 정해진 장소 이름. 누르면 네이버 지도가 새 탭으로 열린다 */
export function MapLink({ place, children, className }: { place: string; children: ReactNode; className?: string }) {
// 앱인토스는 외부 이동을 막는다
if (IS_TOSS) return <span className={className}>{children}</span>
return (
<a href={naverMap(place)} target="_blank" rel="noopener noreferrer" aria-label={`${place}, 네이버 지도에서 보기`} className={cx('underline decoration-dotted decoration-1 underline-offset-[3px]', className)}>
{children}