File size: 3,124 Bytes
79caeaa
 
 
 
 
 
 
64a2430
 
79caeaa
 
 
 
 
 
 
 
 
 
 
 
 
64a2430
79caeaa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64a2430
 
79caeaa
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Gemini Clone</title>
    <link href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap" rel="stylesheet">
    <!-- সরাসরি সিএসএস ফাইল লিঙ্ক করা হলো (মেমোরি সেভ করার জন্য) -->
    <link rel="stylesheet" href="/style.css">
</head>
<body>

<div class="gemini-app">
    <div class="sidebar" id="sidebar">
        <div class="sidebar-top">
            <button class="menu-toggle-inner" onclick="toggleSidebar()"></button>
            <button class="new-chat-btn" onclick="startNewChat()">
                <span class="plus-icon">+</span> <span class="btn-text">New chat</span>
            </button>
        </div>
        <div class="recent-section">
            <p class="recent-title">Recent</p>
            <div class="history-list" id="historyList"></div>
        </div>
    </div>

    <div class="main-content">
        <div class="top-bar">
            <button class="menu-toggle" onclick="toggleSidebar()"></button>
            <div class="app-brand">Gemini</div>
            <div class="user-avatar">👤</div>
        </div>

        <div class="chat-container" id="chatContainer">
            <div class="welcome-screen" id="welcomeScreen">
                <h1 class="gemini-greeting">Hello, User</h1>
                <h2 class="gemini-sub-greeting">How can I help you today?</h2>
                
                <div class="suggestion-cards">
                    <div class="card" onclick="useSuggestion('Write a scary horror story introduction')">
                        <p>Write a scary horror story introduction</p>
                    </div>
                    <div class="card" onclick="useSuggestion('Help me debug a Python script for a bot')">
                        <p>Help me debug a Python script for a bot</p>
                    </div>
                    <div class="card" onclick="useSuggestion('Suggest viral video ideas for YouTube')">
                        <p>Suggest viral video ideas for YouTube</p>
                    </div>
                </div>
            </div>

            <div class="chat-messages" id="chatMessages" style="display: none;"></div>
        </div>

        <div class="input-area-container">
            <div class="input-box-wrapper">
                <input type="text" id="userInput" placeholder="Enter a prompt here..." onkeypress="handleKeyPress(event)">
                <button id="sendBtn" onclick="sendMessage()">
                    <svg viewBox="0 0 24 24" class="send-icon"><path d="M2,21L23,12L2,3V10L17,12L2,14V21Z"/></svg>
                </button>
            </div>
            <p class="disclaimer">Gemini may display inaccurate info, so double-check its responses.</p>
        </div>
    </div>
</div>

<!-- সরাসরি জাভাস্ক্রিপ্ট ফাইল লিঙ্ক করা হলো -->
<script src="/script.js"></script>
</body>
</html>