Spaces:
Runtime error
Runtime error
Create index.html
Browse files- index.html +78 -0
index.html
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Gemini Clone</title>
|
| 7 |
+
<!-- Google Fonts for Gemini App Feel -->
|
| 8 |
+
<link href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap" rel="stylesheet">
|
| 9 |
+
<!-- INJECT_CSS -->
|
| 10 |
+
</head>
|
| 11 |
+
<body>
|
| 12 |
+
|
| 13 |
+
<div class="gemini-app">
|
| 14 |
+
<!-- সাইডবার লার্জ স্ক্রিনের জন্য (মোবাইলে স্লাইড মেনু) -->
|
| 15 |
+
<div class="sidebar" id="sidebar">
|
| 16 |
+
<div class="sidebar-top">
|
| 17 |
+
<button class="menu-toggle-inner" onclick="toggleSidebar()">☰</button>
|
| 18 |
+
<button class="new-chat-btn" onclick="startNewChat()">
|
| 19 |
+
<span class="plus-icon">+</span> <span class="btn-text">New chat</span>
|
| 20 |
+
</button>
|
| 21 |
+
</div>
|
| 22 |
+
<div class="recent-section">
|
| 23 |
+
<p class="recent-title">Recent</p>
|
| 24 |
+
<div class="history-list" id="historyList">
|
| 25 |
+
<!-- চ্যাট হিস্ট্রি আইটেম এখানে আসবে -->
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
</div>
|
| 29 |
+
|
| 30 |
+
<!-- মেইন কন্টেন্ট এরিয়া -->
|
| 31 |
+
<div class="main-content">
|
| 32 |
+
<!-- টপ হেডার বার -->
|
| 33 |
+
<div class="top-bar">
|
| 34 |
+
<button class="menu-toggle" onclick="toggleSidebar()">☰</button>
|
| 35 |
+
<div class="app-brand">Gemini</div>
|
| 36 |
+
<div class="user-avatar">👤</div>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<!-- চ্যাট উইন্ডো / ড্যাশবোর্ড -->
|
| 40 |
+
<div class="chat-container" id="chatContainer">
|
| 41 |
+
<!-- ওয়েলকাম ড্যাশবোর্ড (ডিফল্ট) -->
|
| 42 |
+
<div class="welcome-screen" id="welcomeScreen">
|
| 43 |
+
<h1 class="gemini-greeting">Hello, User</h1>
|
| 44 |
+
<h2 class="gemini-sub-greeting">How can I help you today?</h2>
|
| 45 |
+
|
| 46 |
+
<div class="suggestion-cards">
|
| 47 |
+
<div class="card" onclick="useSuggestion('Write a scary horror story introduction')">
|
| 48 |
+
<p>Write a scary horror story introduction</p>
|
| 49 |
+
</div>
|
| 50 |
+
<div class="card" onclick="useSuggestion('Help me debug a Python script for a bot')">
|
| 51 |
+
<p>Help me debug a Python script for a bot</p>
|
| 52 |
+
</div>
|
| 53 |
+
<div class="card" onclick="useSuggestion('Suggest viral video ideas for YouTube')">
|
| 54 |
+
<p>Suggest viral video ideas for YouTube</p>
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
|
| 59 |
+
<!-- আসল মেসেজগুলো এখানে ঢুকবে -->
|
| 60 |
+
<div class="chat-messages" id="chatMessages" style="display: none;"></div>
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
<!-- বটম ফ্লোটিং ইনপুট এরিয়া -->
|
| 64 |
+
<div class="input-area-container">
|
| 65 |
+
<div class="input-box-wrapper">
|
| 66 |
+
<input type="text" id="userInput" placeholder="Enter a prompt here..." onkeypress="handleKeyPress(event)">
|
| 67 |
+
<button id="sendBtn" onclick="sendMessage()">
|
| 68 |
+
<svg viewBox="0 0 24 24" class="send-icon"><path d="M2,21L23,12L2,3V10L17,12L2,14V21Z"/></svg>
|
| 69 |
+
</button>
|
| 70 |
+
</div>
|
| 71 |
+
<p class="disclaimer">Gemini may display inaccurate info, so double-check its responses.</p>
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
|
| 76 |
+
<!-- INJECT_JS -->
|
| 77 |
+
</body>
|
| 78 |
+
</html>
|