feat: 공유를 비율 고르기 + 공유하기 하나로 줄이고 이미지에 행사 사진·우리 주소 넣기

- 공유 이미지 9:16·4:5·1:1, 위 로고·지역 날짜 / 카드 / 아래 주소 알약 (시안 A)
- 2장 카드는 한 이미지에 묶음, 버튼만 빼고 링크(장소)는 남김
- 웹폰트는 카드 글자에 필요한 조각만 data URL 로 넣어 글꼴이 안 깨지게
- 문구 고르기·링크 복사 제거, 공유하기 한 번에 이미지 + 제목·주소 글
- 행사 사진은 백엔드 /v1/image 가 대신 받음 (IMAGE_PROXY_HOSTS 만 허용)
- 공유 주소는 VITE_SITE_URL 하나로
This commit is contained in:
minaChoi committed 2026-10-07 15:43:18 +09:00
1 parent 2fde88df27
commit 5e2846ff72
17 files changed
+432 -135

No files matched your search

+1 -3
View File
@@ -1,7 +1,5 @@
import { createContext, use } from 'react'
import type { SlideBg } from './types'
export type SharePayload = { title: string; icon: string; bg: SlideBg; messages: string[]; card?: HTMLElement | null }
export type SharePayload = { title: string; slides: HTMLElement[] }
export type SheetState =
| { type: 'gak'; indexId: number }