feat: add options/map flow, dev seed, and artwork fixes

Options page, Kakao map with florist order message, dev tooling, and
create/message dummy gating — without secrets in .env.example.

Co-authored-by: 이지은 <ijieun@ijieun-ui-MacBookPro.local>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Chaewon Lee
2026-06-10 08:56:07 +09:00
committed by GitHub
parent d8f93f4c17
commit 922320d59a
43 changed files with 1587 additions and 125 deletions

View File

@@ -1,6 +1,4 @@
<script>
import { onDestroy } from 'svelte';
// A single click-to-upload slot: a light bordered placeholder when empty,
// the chosen image (cover) when filled. Layout (size / grid placement) is
// supplied by the parent via `class` and `style` so the same tile works in
@@ -12,13 +10,19 @@
function pick(event) {
const picked = event.currentTarget.files?.[0];
if (!picked) return;
if (preview) URL.revokeObjectURL(preview);
file = picked;
preview = URL.createObjectURL(picked);
}
onDestroy(() => {
if (preview) URL.revokeObjectURL(preview);
// 부모에서 File을 주입할 때(Dev seed 등) 미리보기 동기화
$effect(() => {
if (!file) {
preview = null;
return;
}
const url = URL.createObjectURL(file);
preview = url;
return () => URL.revokeObjectURL(url);
});
</script>