feat(mobile): Phase M-1 모바일 프로젝트 기반 + V3 마스터 플랜
- V3 모바일 마스터 플랜 작성 (docs/v3/00-mobile-master-plan.md) 11개 Phase, 5주 로드맵, 전략 결정사항 확정 - 7개 디자인 HTML 레퍼런스 저장 (docs/v3/designs/) - app.json → app.config.ts 전환 + 환경변수 체계 - 5탭 네비게이션 (DASH/HIST/REC FAB/TALK/SET) - metro.config.js monorepo 격리 (root RN 0.84 충돌 해결) - ui-native 테마 디자인 목업 색상 동기화 - SafeArea 적용 (useSafeAreaInsets) - DEV 로그인 우회 (__DEV__ 전용) - Supabase .env 연동 - iOS 시뮬레이터 검증 완료
This commit is contained in:
parent
ffca07d120
commit
211673bc6c
30 changed files with 15010 additions and 525 deletions
202
docs/v3/designs/settings.html
Normal file
202
docs/v3/designs/settings.html
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
<html lang="ko" vid="0"><head vid="1">
|
||||
<meta charset="UTF-8" vid="2">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" vid="3">
|
||||
<title vid="4">D3RO-VOICE Mobile - Settings</title>
|
||||
<script src="https://cdn.tailwindcss.com/3.4.17" vid="5"></script>
|
||||
<script vid="6">
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
appBg: '#19191b',
|
||||
panelBg: '#242427',
|
||||
insetBg: '#0f0f11',
|
||||
brandOrange: '#ff5c35',
|
||||
brandGreen: '#4ade80',
|
||||
textMuted: '#71717a',
|
||||
textMain: '#d4d4d8',
|
||||
borderColor: '#2e2e32'
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', 'sans-serif'],
|
||||
mono: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', "Liberation Mono", "Courier New", 'monospace'],
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style vid="7">
|
||||
.no-scrollbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.no-scrollbar {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-black min-h-screen flex items-center justify-center p-4" vid="8">
|
||||
|
||||
<div class="relative w-[375px] h-[812px] bg-appBg rounded-[40px] shadow-[0_0_50px_rgba(0,0,0,0.5)] overflow-hidden border-[8px] border-[#222] flex flex-col font-sans text-textMain" vid="9">
|
||||
|
||||
<div class="h-12 w-full flex justify-between items-end px-6 pb-2 text-[11px] font-medium text-white/90 z-20" vid="10">
|
||||
<span vid="11">9:41</span>
|
||||
<div class="flex items-center gap-1.5" vid="12">
|
||||
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" vid="13"><path d="M12 20V10" vid="14"></path><path d="M18 20V4" vid="15"></path><path d="M6 20v-4" vid="16"></path></svg>
|
||||
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" vid="17"><path d="M5 12.55a11 11 0 0 1 14.08 0" vid="18"></path><path d="M1.42 9a16 16 0 0 1 21.16 0" vid="19"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0" vid="20"></path><line x1="12" y1="20" x2="12.01" y2="20" vid="21"></line></svg>
|
||||
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="currentColor" vid="22"><path d="M2 12C2 7.02944 6.02944 3 11 3H13C17.9706 3 22 7.02944 22 12C22 16.9706 17.9706 21 13 21H11C6.02944 21 2 16.9706 2 12Z" vid="23"></path></svg>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<header class="px-5 py-3 flex justify-between items-center z-10 border-b border-borderColor/50 mb-2" vid="24">
|
||||
<h1 class="text-xl font-medium tracking-tight text-white" vid="25">설정</h1>
|
||||
</header>
|
||||
|
||||
<main class="flex-1 overflow-y-auto no-scrollbar px-5 pb-32" vid="26">
|
||||
|
||||
<div class="mb-6" vid="27">
|
||||
<h2 class="text-[11px] font-mono text-textMuted tracking-widest mb-3 pl-1" vid="28">ACCOUNT & PLAN</h2>
|
||||
<div class="bg-panelBg border border-borderColor rounded-xl overflow-hidden flex flex-col" vid="29">
|
||||
<div class="px-4 py-4 flex justify-between items-center border-b border-borderColor/50" vid="30">
|
||||
<div class="flex items-center gap-3" vid="31">
|
||||
<div class="w-10 h-10 rounded-full bg-insetBg border border-borderColor flex items-center justify-center" vid="32">
|
||||
<span class="font-mono text-brandOrange" vid="33">US</span>
|
||||
</div>
|
||||
<div class="flex flex-col" vid="34">
|
||||
<span class="text-sm font-medium text-white" vid="35">User Studio</span>
|
||||
<span class="text-[10px] text-textMuted font-mono" vid="36">user@studio.com</span>
|
||||
</div>
|
||||
</div>
|
||||
<button class="text-[10px] font-mono text-textMuted hover:text-brandOrange transition-colors" vid="37">EDIT</button>
|
||||
</div>
|
||||
<div class="px-4 py-4 flex justify-between items-center bg-insetBg" vid="38">
|
||||
<span class="text-xs text-textMuted font-medium" vid="39">현재 등급</span>
|
||||
<div class="flex items-center gap-2" vid="40">
|
||||
<div class="w-1.5 h-1.5 rounded-full bg-brandOrange shadow-[0_0_5px_#ff5c35]" vid="41"></div>
|
||||
<span class="text-sm text-brandOrange font-mono tracking-tight" vid="42">FREE</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-6" vid="43">
|
||||
<h2 class="text-[11px] font-mono text-textMuted tracking-widest mb-3 pl-1" vid="44">BACKEND CONFIG</h2>
|
||||
<div class="bg-panelBg border border-borderColor rounded-xl overflow-hidden flex flex-col" vid="45">
|
||||
<div class="px-4 py-4 flex justify-between items-center border-b border-borderColor/50" vid="46">
|
||||
<div class="flex flex-col gap-1" vid="47">
|
||||
<span class="text-sm font-medium text-white" vid="48">LLM 모델 선택</span>
|
||||
<span class="text-[10px] text-textMuted" vid="49">음성 인식 후 처리할 백엔드 모델</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2" vid="50">
|
||||
<span class="text-sm text-brandOrange font-mono tracking-tight" vid="51">CLAUDE</span>
|
||||
<svg class="w-4 h-4 text-textMuted" fill="none" stroke="currentColor" viewBox="0 0 24 24" vid="52"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" vid="53"></path></svg>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-4 py-4 flex justify-between items-center" vid="54">
|
||||
<div class="flex flex-col gap-1" vid="55">
|
||||
<span class="text-sm font-medium text-white" vid="56">로컬 STT 엔진</span>
|
||||
<span class="text-[10px] text-textMuted" vid="57">오프라인 음성 인식 (Ollama)</span>
|
||||
</div>
|
||||
<div class="relative inline-flex items-center cursor-pointer" vid="58">
|
||||
<input type="checkbox" value="" class="sr-only peer" checked="" vid="59">
|
||||
<div class="w-9 h-5 bg-insetBg peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brandOrange" vid="60"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-6" vid="61">
|
||||
<h2 class="text-[11px] font-mono text-textMuted tracking-widest mb-3 pl-1" vid="62">PREFERENCES</h2>
|
||||
<div class="bg-panelBg border border-borderColor rounded-xl overflow-hidden flex flex-col" vid="63">
|
||||
<div class="px-4 py-4 flex justify-between items-center border-b border-borderColor/50" vid="64">
|
||||
<span class="text-sm font-medium text-white" vid="65">주 언어</span>
|
||||
<div class="flex items-center gap-2" vid="66">
|
||||
<span class="text-sm text-textMuted" vid="67">한국어</span>
|
||||
<svg class="w-4 h-4 text-textMuted" fill="none" stroke="currentColor" viewBox="0 0 24 24" vid="68"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" vid="69"></path></svg>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-4 py-4 flex justify-between items-center border-b border-borderColor/50" vid="70">
|
||||
<span class="text-sm font-medium text-white" vid="71">자동 교정</span>
|
||||
<div class="relative inline-flex items-center cursor-pointer" vid="72">
|
||||
<input type="checkbox" value="" class="sr-only peer" checked="" vid="73">
|
||||
<div class="w-9 h-5 bg-insetBg peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brandOrange" vid="74"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-4 py-4 flex justify-between items-center" vid="75">
|
||||
<span class="text-sm font-medium text-white" vid="76">햅틱 피드백</span>
|
||||
<div class="relative inline-flex items-center cursor-pointer" vid="77">
|
||||
<input type="checkbox" value="" class="sr-only peer" checked="" vid="78">
|
||||
<div class="w-9 h-5 bg-insetBg peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brandOrange" vid="79"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-4" vid="80">
|
||||
<button class="w-full bg-panelBg border border-borderColor rounded-xl py-3.5 flex items-center justify-center text-sm font-medium text-brandOrange hover:bg-[#2a2a2e] transition-colors shadow-sm" vid="81">
|
||||
로그아웃
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="flex justify-center mt-6 opacity-50" vid="82">
|
||||
<div class="flex items-center gap-1.5" vid="83">
|
||||
<div class="w-1.5 h-1.5 rounded-full bg-brandGreen shadow-[0_0_5px_#4ade80]" vid="84"></div>
|
||||
<span class="text-[8px] font-mono text-textMuted tracking-wider" vid="85">OLLAMA GEMMA4:E4B</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<nav class="absolute bottom-0 left-0 w-full h-[80px] bg-appBg/95 backdrop-blur-md border-t border-borderColor flex justify-around items-center px-2 pb-5 z-30" vid="86">
|
||||
|
||||
<button class="flex flex-col items-center justify-center w-14 gap-1.5 group" vid="87">
|
||||
<svg class="w-6 h-6 text-textMuted group-hover:text-textMain transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="1.5" vid="88">
|
||||
<rect x="3" y="3" width="7" height="7" rx="1" vid="89"></rect>
|
||||
<rect x="14" y="3" width="7" height="7" rx="1" vid="90"></rect>
|
||||
<rect x="14" y="14" width="7" height="7" rx="1" vid="91"></rect>
|
||||
<rect x="3" y="14" width="7" height="7" rx="1" vid="92"></rect>
|
||||
</svg>
|
||||
<span class="text-[9px] font-mono text-textMuted group-hover:text-textMain transition-colors" vid="93">DASH</span>
|
||||
</button>
|
||||
|
||||
<button class="flex flex-col items-center justify-center w-14 gap-1.5 group" vid="94">
|
||||
<svg class="w-6 h-6 text-textMuted group-hover:text-textMain transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="1.5" vid="95">
|
||||
<circle cx="12" cy="12" r="9" vid="96"></circle>
|
||||
<path d="M12 7v5l3 3" vid="97"></path>
|
||||
</svg>
|
||||
<span class="text-[9px] font-mono text-textMuted group-hover:text-textMain transition-colors" vid="98">HIST</span>
|
||||
</button>
|
||||
|
||||
<div class="relative -top-5" vid="99">
|
||||
<button class="w-14 h-14 rounded-full bg-panelBg flex items-center justify-center shadow-[0_0_20px_rgba(0,0,0,0.4)] border-4 border-appBg group border-borderColor" vid="100">
|
||||
<svg class="w-6 h-6 text-brandOrange" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="2" vid="101">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z" vid="102"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<button class="flex flex-col items-center justify-center w-14 gap-1.5 group" vid="103">
|
||||
<svg class="w-6 h-6 text-textMuted group-hover:text-textMain transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="1.5" vid="104">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z" vid="105"></path>
|
||||
</svg>
|
||||
<span class="text-[9px] font-mono text-textMuted group-hover:text-textMain transition-colors" vid="106">TALK</span>
|
||||
</button>
|
||||
|
||||
<button class="flex flex-col items-center justify-center w-14 gap-1.5 group" vid="107">
|
||||
<div class="relative" vid="108">
|
||||
<svg class="w-6 h-6 text-brandOrange" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="1.5" vid="109">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" vid="110"></path>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" vid="111"></path>
|
||||
</svg>
|
||||
<div class="absolute inset-0 bg-brandOrange blur-[10px] opacity-20 rounded-full" vid="112"></div>
|
||||
</div>
|
||||
<span class="text-[9px] font-mono text-brandOrange font-medium" vid="113">SET</span>
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
<div class="absolute bottom-2 left-1/2 -translate-x-1/2 w-[120px] h-1 bg-white/30 rounded-full z-40" vid="114"></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue