File size: 3,745 Bytes
0fbbe6a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38b4783
0fbbe6a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SageCam</title>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <header class="header">
        <div class="logo">Sage<span>Cam</span></div>
        <div class="tagline">Obsessed Girlfriend</div>
        <div class="stats">
            <div class="stats-dot"></div>
            Model Connected
        </div>
    </header>

    <div class="main-container">
        <!-- LEFT: Video + Prompt Panel -->
        <div class="video-section">

            <!-- Stranger Video (top ~62%) -->
            <div class="video-box stranger-box">
                <video id="stranger-video" class="video-element" autoplay loop muted playsinline>
                    <source src="sage.mp4" type="video/mp4">
                </video>
                <div id="stranger-avatar" class="avatar-placeholder" style="display: none;">
                    <div class="avatar-icon">
                        <svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
                            <path d="M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z"/>
                        </svg>
                    </div>
                    <div class="avatar-text">Camera is off</div>
                </div>

            </div>

            <!-- Curate Sage Panel (bottom ~38%) -->
            <div class="prompt-panel">
                <div class="prompt-header">
                    <span class="prompt-title">✦ Curate Sage <span class="toggle-arrow"></span></span>
                    <div class="prompt-actions">
                        <button id="random-btn" class="prompt-btn random-btn">
                            <svg width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
                                <path d="M16 3h5v5M4 20L21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/>
                            </svg>
                            Shuffle
                        </button>
                        <button id="apply-btn" class="prompt-btn apply-btn">Apply →</button>
                    </div>
                </div>
                <textarea id="system-prompt" class="prompt-textarea" spellcheck="false" placeholder="Describe Sage's personality, mood, and quirks..."></textarea>
                <div class="prompt-hint">Changes apply to the next session. Hit Apply then start a new chat.</div>
            </div>

        </div>

        <!-- RIGHT: Chat Interface -->
        <div class="chat-section">
            <div class="chat-log" id="chat-log">
                <div class="status-msg">Connecting to Sage...</div>
                <div class="status-msg" style="color: #22c55e;">She's here, say hi 👋</div>
            </div>

            <div class="chat-controls">
                <button id="new-btn" class="control-btn new-btn">
                    <strong>Next</strong>
                    <span class="sub-text">Esc</span>
                </button>
                <div class="input-container">
                    <textarea id="chat-input" placeholder="Type a message..."></textarea>
                </div>
                <button id="send-btn" class="control-btn send-btn" disabled>
                    <strong>Send</strong>
                    <span class="sub-text">Enter</span>
                </button>
            </div>
        </div>
    </div>

    <script src="script.js"></script>
</body>
</html>