feat: 공유는 날씨각 링크만 보내기 (텍스트·이미지 없이)
- 공유 버튼을 누르면 바로 휴대폰 공유창에 주소만 넘김. 공유창이 없으면 주소 복사 후 화면 아래 알림 - 공유 이미지 만들던 창·storyImage.ts 삭제 (메신저는 링크에 미리보기 그림을 붙임)
This commit is contained in:
1 parent
622f569f68
commit
c67121351b
7 files changed
+58
-351
No files matched your search
@@ -1,10 +1,7 @@
|
||||
import { createContext, use } from 'react'
|
||||
export type SharePayload = { title: string; slides: HTMLElement[] }
|
||||
|
||||
export type SheetState =
|
||||
| { type: 'gak'; indexId: number }
|
||||
| { type: 'article'; articleId: number }
|
||||
| { type: 'share'; share: SharePayload }
|
||||
| { type: 'comments'; postId: number }
|
||||
| { type: 'seasonWeek' }
|
||||
| { type: 'login' }
|
||||
|
||||
Reference in new issue
Block a user