ChatLLM / index.html
VikaskumarDas's picture
Update index.html
64a2430 verified
Raw
History Blame Contribute Delete
3.12 kB
<!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>