Spaces:
Running
Running
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>RaznetSolutionsAI</title> <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> <link rel="stylesheet" href="styles.css"> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> </head> <body class="gradient-bg text-gray-800 min-h-screen flex flex-col"> <header class="bg-white shadow p-4 flex justify-between items-center"> <div class="flex items-center space-x-4"> <img src="https://via.placeholder.com/40" alt="Logo" class="h-10 w-10"> <h1 class="text-2xl font-bold">RaznetSolutionsAI</h1> </div> <div class="relative"> <button id="menuButton" class="text-gray-600 hover:text-gray-800"> <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/> </svg> </button> <ul id="menu" class="menu"> <li class="px-4 py-2 hover:bg-gray-100 cursor-pointer">Home</li> <li class="px-4 py-2 hover:bg-gray-100 cursor-pointer">Profile</li> <li class="px-4 py-2 hover:bg-gray-100 cursor-pointer">Weather</li> <li class="px-4 py-2 hover:bg-gray-100 cursor-pointer">Logout</li> </ul> </div> </header> <main class="flex-grow p-4"> <section class="max-w-2xl mx-auto"> <h2 class="text-3xl font-semibold mb-4">What do you want to know?</h2> <p class="mb-6">Ask RaznetSolutionsAI anything - from tech tips to life advice, I'm here to help!</p> <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-6"> <button class="chat-bubble fade-in bg-white p-4 rounded-lg shadow hover:bg-gray-100" data-question="Explain quantum computing">Explain quantum computing<br><span class="text-sm text-gray-600">in simple terms</span></button> <button class="chat-bubble fade-in bg-white p-4 rounded-lg shadow hover:bg-gray-100" data-question="Creative dinner recipe">Creative dinner recipe<br><span class="text-sm text-gray-600">for tonight</span></button> <button class="chat-bubble fade-in bg-white p-4 rounded-lg shadow hover:bg-gray-100" data-question="Productivity tips">Productivity tips<br><span class="text-sm text-gray-600">to work smarter</span></button> <button class="chat-bubble fade-in bg-white p-4 rounded-lg shadow hover:bg-gray-100" data-question="Teach photosynthesis">Teach photosynthesis<br><span class="text-sm text-gray-600">like I'm 5</span></button> </div> <div class="bg-white p-4 rounded-lg shadow"> <div id="chatArea" class="h-64 overflow-y-auto mb-4 p-4 bg-gray-100 rounded"></div> <div class="flex space-x-2"> <input id="userInput" type="text" class="flex-grow p-2 border rounded" placeholder="Type your message..."> <button id="sendButton" class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600">Send</button> </div> <input type="file" id="fileUpload" class="mt-2" accept=".csv,.json"> <canvas id="dataChart" class="mt-2 hidden"></canvas> <div class="mt-2 flex items-center"> <input id="agreeCheck" type="checkbox" class="mr-2"> <label for="agreeCheck" class="text-sm">By messaging RaznetSolutionsAI, you agree to our <a href="#" class="text-blue-500">Terms</a> and <a href="#" class="text-blue-500">Privacy Policy</a></label> </div> </div> </section> </main> <footer class="bg-white p-4 text-center"> <p>© 2025 RaznetSolutionsAI. All rights reserved.</p> </footer> <div id="settingsModal" class="modal"> <div class="modal-content"> <h2 class="text-xl font-semibold mb-4">Settings</h2> <label class="block mb-2"><input id="darkMode" type="checkbox" class="mr-2">Enable Dark Mode</label> <label class="block mb-4"><input id="notifications" type="checkbox" class="mr-2">Enable Notifications</label> <button id="closeSettings" class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600">Save & Close</button> </div> </div> <div id="profileModal" class="profile-modal"> <div class="profile-content"> <h2 class="text-xl font-semibold mb-4">User Profile</h2> <p><strong>Name:</strong> John Doe</p> <p><strong>Email:</strong> [email protected]</p> <p><strong>Joined:</strong> August 15, 2025</p> <button id="closeProfile" class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 mt-4">Close</button> </div> </div> <div id="weatherModal" class="modal"> <div class="modal-content"> <h2 class="text-xl font-semibold mb-4">Current Weather</h2> <p id="weatherInfo">Loading...</p> <button id="closeWeather" class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 mt-4">Close</button> </div> </div> <script src="script.js"></script> </body> </html> - Initial Deployment
Browse files- README.md +7 -5
- index.html +492 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: raznetsolutionsai
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: yellow
|
5 |
+
colorTo: gray
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,492 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>RaznetSolutionsAI</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
|
9 |
+
<style>
|
10 |
+
.gradient-bg {
|
11 |
+
background: linear-gradient(135deg, #f6f7f9 0%, #e7e9ee 100%);
|
12 |
+
min-height: 100vh;
|
13 |
+
}
|
14 |
+
.custom-shadow {
|
15 |
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
16 |
+
}
|
17 |
+
.fade-in {
|
18 |
+
animation: fadeIn 0.3s ease-in-out;
|
19 |
+
}
|
20 |
+
@keyframes fadeIn {
|
21 |
+
from { opacity: 0; transform: translateY(10px); }
|
22 |
+
to { opacity: 1; transform: translateY(0); }
|
23 |
+
}
|
24 |
+
.bubble-left {
|
25 |
+
border-radius: 1rem 1rem 1rem 0;
|
26 |
+
}
|
27 |
+
.bubble-right {
|
28 |
+
border-radius: 1rem 1rem 0 1rem;
|
29 |
+
}
|
30 |
+
.modal {
|
31 |
+
display: none;
|
32 |
+
position: fixed;
|
33 |
+
z-index: 100;
|
34 |
+
left: 0;
|
35 |
+
top: 0;
|
36 |
+
width: 100%;
|
37 |
+
height: 100%;
|
38 |
+
background-color: rgba(0,0,0,0.4);
|
39 |
+
}
|
40 |
+
.modal-content {
|
41 |
+
background-color: #fff;
|
42 |
+
margin: 12% auto;
|
43 |
+
padding: 2rem;
|
44 |
+
border-radius: 0.75rem;
|
45 |
+
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
|
46 |
+
width: 90%;
|
47 |
+
max-width: 500px;
|
48 |
+
max-height: 80vh;
|
49 |
+
overflow-y: auto;
|
50 |
+
animation: modalopen 0.3s;
|
51 |
+
}
|
52 |
+
@keyframes modalopen {
|
53 |
+
from { opacity: 0; transform: translateY(-50px); }
|
54 |
+
to { opacity: 1; transform: translateY(0); }
|
55 |
+
}
|
56 |
+
#chatArea::-webkit-scrollbar {
|
57 |
+
width: 6px;
|
58 |
+
}
|
59 |
+
#chatArea::-webkit-scrollbar-track {
|
60 |
+
background: #f1f1f1;
|
61 |
+
}
|
62 |
+
#chatArea::-webkit-scrollbar-thumb {
|
63 |
+
background: #c1c1c1;
|
64 |
+
border-radius: 10px;
|
65 |
+
}
|
66 |
+
.typing-indicator {
|
67 |
+
display: flex;
|
68 |
+
padding: 0.5rem 1rem;
|
69 |
+
margin: 1rem 0;
|
70 |
+
background: #e9e9eb;
|
71 |
+
border-radius: 1rem;
|
72 |
+
width: fit-content;
|
73 |
+
}
|
74 |
+
.typing-indicator span {
|
75 |
+
display: inline-block;
|
76 |
+
width: 8px;
|
77 |
+
height: 8px;
|
78 |
+
background: #666;
|
79 |
+
border-radius: 50%;
|
80 |
+
margin: 0 2px;
|
81 |
+
animation: typingAnimation 1.5s infinite ease-in-out;
|
82 |
+
}
|
83 |
+
.typing-indicator span:nth-child(2) {
|
84 |
+
animation-delay: 0.2s;
|
85 |
+
}
|
86 |
+
.typing-indicator span:nth-child(3) {
|
87 |
+
animation-delay: 0.4s;
|
88 |
+
}
|
89 |
+
@keyframes typingAnimation {
|
90 |
+
0%, 100% { transform: translateY(0); }
|
91 |
+
50% { transform: translateY(-5px); }
|
92 |
+
}
|
93 |
+
</style>
|
94 |
+
</head>
|
95 |
+
<body class="gradient-bg text-gray-800 flex flex-col min-h-screen">
|
96 |
+
<header class="bg-white shadow-sm p-4 flex justify-between items-center sticky top-0 z-50">
|
97 |
+
<div class="flex items-center space-x-4">
|
98 |
+
<div class="h-10 w-10 bg-blue-500 rounded-full flex items-center justify-center text-white font-bold">RS</div>
|
99 |
+
<h1 class="text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">RaznetSolutionsAI</h1>
|
100 |
+
</div>
|
101 |
+
<div class="flex items-center space-x-4">
|
102 |
+
<button id="weatherBtn" class="hidden sm:flex items-center text-gray-600 hover:text-blue-600 transition-colors">
|
103 |
+
<i class="fas fa-cloud-sun mr-2"></i>
|
104 |
+
<span>Weather</span>
|
105 |
+
</button>
|
106 |
+
<button id="profileBtn" class="hidden sm:flex items-center text-gray-600 hover:text-blue-600 transition-colors">
|
107 |
+
<i class="fas fa-user-circle mr-2"></i>
|
108 |
+
<span>Profile</span>
|
109 |
+
</button>
|
110 |
+
<button id="settingsBtn" class="hidden sm:flex items-center text-gray-600 hover:text-blue-600 transition-colors">
|
111 |
+
<i class="fas fa-cog mr-2"></i>
|
112 |
+
<span>Settings</span>
|
113 |
+
</button>
|
114 |
+
<div class="relative sm:hidden">
|
115 |
+
<button id="menuButton" class="text-gray-600 hover:text-gray-800">
|
116 |
+
<i class="fas fa-bars text-xl"></i>
|
117 |
+
</button>
|
118 |
+
<ul id="menu" class="menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50 hidden">
|
119 |
+
<li class="px-4 py-2 hover:bg-gray-100 cursor-pointer flex items-center"><i class="fas fa-home mr-2"></i>Home</li>
|
120 |
+
<li id="profileBtnMobile" class="px-4 py-2 hover:bg-gray-100 cursor-pointer flex items-center"><i class="fas fa-user-circle mr-2"></i>Profile</li>
|
121 |
+
<li id="weatherBtnMobile" class="px-4 py-2 hover:bg-gray-100 cursor-pointer flex items-center"><i class="fas fa-cloud-sun mr-2"></i>Weather</li>
|
122 |
+
<li id="settingsBtnMobile" class="px-4 py-2 hover:bg-gray-100 cursor-pointer flex items-center"><i class="fas fa-cog mr-2"></i>Settings</li>
|
123 |
+
<li class="px-4 py-2 hover:bg-gray-100 cursor-pointer flex items-center"><i class="fas fa-sign-out-alt mr-2"></i>Logout</li>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
</header>
|
128 |
+
|
129 |
+
<main class="flex-grow p-4 md:p-6">
|
130 |
+
<section class="max-w-4xl mx-auto">
|
131 |
+
<div class="mb-8 text-center">
|
132 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-3">How can I assist you today?</h2>
|
133 |
+
<p class="text-gray-600 max-w-2xl mx-auto">Ask RaznetSolutionsAI anything - from tech advice to creative ideas, I'm here to help you!</p>
|
134 |
+
</div>
|
135 |
+
|
136 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-8">
|
137 |
+
<button class="chat-bubble fade-in bg-white p-4 rounded-xl custom-shadow hover:bg-gray-50 transition-all transform hover:-translate-y-1 flex flex-col items-start" data-question="Explain quantum computing">
|
138 |
+
<h3 class="font-semibold text-blue-600 mb-1"><i class="fas fa-atom mr-2"></i>Quantum Computing</h3>
|
139 |
+
<p class="text-sm text-gray-600">in simple terms</p>
|
140 |
+
</button>
|
141 |
+
<button class="chat-bubble fade-in bg-white p-4 rounded-xl custom-shadow hover:bg-gray-50 transition-all transform hover:-translate-y-1 flex flex-col items-start" data-question="Creative dinner recipe">
|
142 |
+
<h3 class="font-semibold text-green-600 mb-1"><i class="fas fa-utensils mr-2"></i>Dinner Recipe Idea</h3>
|
143 |
+
<p class="text-sm text-gray-600">for tonight</p>
|
144 |
+
</button>
|
145 |
+
<button class="chat-bubble fade-in bg-white p-4 rounded-xl custom-shadow hover:bg-gray-50 transition-all transform hover:-translate-y-1 flex flex-col items-start" data-question="Productivity tips">
|
146 |
+
<h3 class="font-semibold text-purple-600 mb-1"><i class="fas fa-tasks mr-2"></i>Productivity Hacks</h3>
|
147 |
+
<p class="text-sm text-gray-600">to work smarter</p>
|
148 |
+
</button>
|
149 |
+
<button class="chat-bubble fade-in bg-white p-4 rounded-xl custom-shadow hover:bg-gray-50 transition-all transform hover:-translate-y-1 flex flex-col items-start" data-question="Teach photosynthesis">
|
150 |
+
<h3 class="font-semibold text-yellow-600 mb-1"><i class="fas fa-leaf mr-2"></i>Photosynthesis</h3>
|
151 |
+
<p class="text-sm text-gray-600">like I'm 5</p>
|
152 |
+
</button>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<div class="bg-white p-6 rounded-2xl custom-shadow">
|
156 |
+
<div id="chatArea" class="h-80 overflow-y-auto mb-6 p-4 bg-gray-50 rounded-xl"></div>
|
157 |
+
<div class="flex space-x-2">
|
158 |
+
<input id="userInput" type="text" class="flex-grow p-3 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all" placeholder="Type your message...">
|
159 |
+
<button id="sendButton" class="bg-blue-600 text-white px-5 py-3 rounded-xl hover:bg-blue-700 transition-colors flex items-center">
|
160 |
+
<i class="fas fa-paper-plane mr-2"></i> Send
|
161 |
+
</button>
|
162 |
+
</div>
|
163 |
+
<div class="flex justify-between items-center mt-3">
|
164 |
+
<label class="inline-flex items-center cursor-pointer">
|
165 |
+
<input type="file" id="fileUpload" class="hidden" accept=".csv,.json,.xlsx">
|
166 |
+
<button id="uploadBtn" class="text-blue-600 hover:text-blue-800 transition-colors flex items-center">
|
167 |
+
<i class="fas fa-file-upload mr-2"></i> Upload File
|
168 |
+
</button>
|
169 |
+
</label>
|
170 |
+
<div class="flex items-center">
|
171 |
+
<input id="agreeCheck" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded mr-2">
|
172 |
+
<label for="agreeCheck" class="text-sm text-gray-600">I agree to <a href="#" class="text-blue-600 hover:underline">Terms</a></label>
|
173 |
+
</div>
|
174 |
+
</div>
|
175 |
+
<canvas id="dataChart" class="mt-6 hidden"></canvas>
|
176 |
+
</div>
|
177 |
+
|
178 |
+
<div class="mt-8 grid grid-cols-1 sm:grid-cols-3 gap-4">
|
179 |
+
<div class="bg-white p-5 rounded-xl custom-shadow hover:shadow-md transition-shadow">
|
180 |
+
<div class="text-blue-500 mb-3"><i class="fas fa-bolt text-2xl"></i></div>
|
181 |
+
<h3 class="font-semibold mb-2">Quick Responses</h3>
|
182 |
+
<p class="text-gray-600 text-sm">Get instant answers to your questions 24/7.</p>
|
183 |
+
</div>
|
184 |
+
<div class="bg-white p-5 rounded-xl custom-shadow hover:shadow-md transition-shadow">
|
185 |
+
<div class="text-green-500 mb-3"><i class="fas fa-lock text-2xl"></i></div>
|
186 |
+
<h3 class="font-semibold mb-2">Secure & Private</h3>
|
187 |
+
<p class="text-gray-600 text-sm">Your data is encrypted and never stored.</p>
|
188 |
+
</div>
|
189 |
+
<div class="bg-white p-5 rounded-xl custom-shadow hover:shadow-md transition-shadow">
|
190 |
+
<div class="text-purple-500 mb-3"><i class="fas fa-brain text-2xl"></i></div>
|
191 |
+
<h3 class="font-semibold mb-2">Always Learning</h3>
|
192 |
+
<p class="text-gray-600 text-sm">Continuously updated with new knowledge.</p>
|
193 |
+
</div>
|
194 |
+
</div>
|
195 |
+
</section>
|
196 |
+
</main>
|
197 |
+
|
198 |
+
<footer class="bg-gray-50 py-6">
|
199 |
+
<div class="max-w-4xl mx-auto px-4">
|
200 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
201 |
+
<div class="flex items-center mb-4 md:mb-0">
|
202 |
+
<div class="h-8 w-8 bg-blue-500 rounded-full flex items-center justify-center text-white font-bold mr-2">RS</div>
|
203 |
+
<span class="font-semibold">RaznetSolutionsAI</span>
|
204 |
+
</div>
|
205 |
+
<div class="flex space-x-4">
|
206 |
+
<a href="#" class="text-gray-600 hover:text-blue-600 transition-colors"><i class="fab fa-twitter"></i></a>
|
207 |
+
<a href="#" class="text-gray-600 hover:text-blue-600 transition-colors"><i class="fab fa-github"></i></a>
|
208 |
+
<a href="#" class="text-gray-600 hover:text-blue-600 transition-colors"><i class="fab fa-linkedin"></i></a>
|
209 |
+
</div>
|
210 |
+
</div>
|
211 |
+
<div class="mt-4 text-center md:text-left text-sm text-gray-500">
|
212 |
+
<p>© 2025 RaznetSolutionsAI. All rights reserved. <a href="#" class="text-blue-600 hover:underline">Privacy Policy</a> | <a href="#" class="text-blue-600 hover:underline">Terms of Service</a></p>
|
213 |
+
</div>
|
214 |
+
</div>
|
215 |
+
</footer>
|
216 |
+
|
217 |
+
<!-- Modal Windows -->
|
218 |
+
<div id="settingsModal" class="modal">
|
219 |
+
<div class="modal-content">
|
220 |
+
<div class="flex justify-between items-center mb-4">
|
221 |
+
<h2 class="text-2xl font-bold">Settings</h2>
|
222 |
+
<button id="closeSettings" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times"></i></button>
|
223 |
+
</div>
|
224 |
+
<div class="space-y-4">
|
225 |
+
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
|
226 |
+
<div>
|
227 |
+
<h3 class="font-medium">Dark Mode</h3>
|
228 |
+
<p class="text-sm text-gray-600">Change the appearance</p>
|
229 |
+
</div>
|
230 |
+
<label class="switch">
|
231 |
+
<input id="darkMode" type="checkbox">
|
232 |
+
<span class="slider round"></span>
|
233 |
+
</label>
|
234 |
+
</div>
|
235 |
+
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
|
236 |
+
<div>
|
237 |
+
<h3 class="font-medium">Notifications</h3>
|
238 |
+
<p class="text-sm text-gray-600">Enable alerts and sounds</p>
|
239 |
+
</div>
|
240 |
+
<label class="switch">
|
241 |
+
<input id="notifications" type="checkbox" checked>
|
242 |
+
<span class="slider round"></span>
|
243 |
+
</label>
|
244 |
+
</div>
|
245 |
+
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
|
246 |
+
<div>
|
247 |
+
<h3 class="font-medium">History</h3>
|
248 |
+
<p class="text-sm text-gray-600">Save conversation history</p>
|
249 |
+
</div>
|
250 |
+
<label class="switch">
|
251 |
+
<input id="saveHistory" type="checkbox" checked>
|
252 |
+
<span class="slider round"></span>
|
253 |
+
</label>
|
254 |
+
</div>
|
255 |
+
</div>
|
256 |
+
</div>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<div id="profileModal" class="modal">
|
260 |
+
<div class="modal-content">
|
261 |
+
<div class="flex justify-between items-center mb-6">
|
262 |
+
<h2 class="text-2xl font-bold">User Profile</h2>
|
263 |
+
<button id="closeProfile" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times"></i></button>
|
264 |
+
</div>
|
265 |
+
<div class="flex flex-col items-center mb-6">
|
266 |
+
<div class="h-24 w-24 bg-blue-100 rounded-full flex items-center justify-center text-blue-600 mb-4">
|
267 |
+
<i class="fas fa-user text-4xl"></i>
|
268 |
+
</div>
|
269 |
+
<h3 class="text-xl font-semibold">John Doe</h3>
|
270 |
+
<p class="text-gray-600">Premium Member</p>
|
271 |
+
</div>
|
272 |
+
<div class="space-y-3">
|
273 |
+
<div class="flex items-center p-3 bg-gray-50 rounded-lg">
|
274 |
+
<i class="fas fa-envelope text-gray-500 mr-3"></i>
|
275 |
+
<p>[email protected]</p>
|
276 |
+
</div>
|
277 |
+
<div class="flex items-center p-3 bg-gray-50 rounded-lg">
|
278 |
+
<i class="fas fa-calendar-alt text-gray-500 mr-3"></i>
|
279 |
+
<p>Member since August 15, 2025</p>
|
280 |
+
</div>
|
281 |
+
<div class="flex items-center p-3 bg-gray-50 rounded-lg">
|
282 |
+
<i class="fas fa-clock text-gray-500 mr-3"></i>
|
283 |
+
<p>Last active: Just now</p>
|
284 |
+
</div>
|
285 |
+
</div>
|
286 |
+
<button class="w-full mt-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors">Edit Profile</button>
|
287 |
+
</div>
|
288 |
+
</div>
|
289 |
+
|
290 |
+
<div id="weatherModal" class="modal">
|
291 |
+
<div class="modal-content">
|
292 |
+
<div class="flex justify-between items-center mb-6">
|
293 |
+
<h2 class="text-2xl font-bold">Current Weather</h2>
|
294 |
+
<button id="closeWeather" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times"></i></button>
|
295 |
+
</div>
|
296 |
+
<div id="weatherInfo" class="flex flex-col items-center">
|
297 |
+
<div class="flex items-center justify-center mb-6">
|
298 |
+
<i class="fas fa-cloud-sun text-5xl text-yellow-500 mr-4"></i>
|
299 |
+
<div>
|
300 |
+
<h3 class="text-3xl font-bold">72°F</h3>
|
301 |
+
<p class="text-gray-600">San Francisco, CA</p>
|
302 |
+
</div>
|
303 |
+
</div>
|
304 |
+
<div class="grid grid-cols-2 gap-4 w-full">
|
305 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
306 |
+
<p class="text-sm text-gray-600">Humidity</p>
|
307 |
+
<p class="text-xl font-semibold">65%</p>
|
308 |
+
</div>
|
309 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
310 |
+
<p class="text-sm text-gray-600">Wind</p>
|
311 |
+
<p class="text-xl font-semibold">8 mph</p>
|
312 |
+
</div>
|
313 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
314 |
+
<p class="text-sm text-gray-600">Sunrise</p>
|
315 |
+
<p class="text-xl font-semibold">6:42 AM</p>
|
316 |
+
</div>
|
317 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
318 |
+
<p class="text-sm text-gray-600">Sunset</p>
|
319 |
+
<p class="text-xl font-semibold">7:58 PM</p>
|
320 |
+
</div>
|
321 |
+
</div>
|
322 |
+
<div class="mt-6 pt-6 border-t w-full">
|
323 |
+
<h4 class="font-semibold mb-3">3-Day Forecast</h4>
|
324 |
+
<div class="flex justify-between">
|
325 |
+
<div class="text-center">
|
326 |
+
<p class="font-medium">Today</p>
|
327 |
+
<i class="fas fa-sun text-2xl text-yellow-400 my-2"></i>
|
328 |
+
<p>72° / 58°</p>
|
329 |
+
</div>
|
330 |
+
<div class="text-center">
|
331 |
+
<p class="font-medium">Tomorrow</p>
|
332 |
+
<i class="fas fa-cloud-sun text-2xl text-gray-400 my-2"></i>
|
333 |
+
<p>70° / 57°</p>
|
334 |
+
</div>
|
335 |
+
<div class="text-center">
|
336 |
+
<p class="font-medium">Sat</p>
|
337 |
+
<i class="fas fa-cloud text-2xl text-gray-500 my-2"></i>
|
338 |
+
<p>68° / 56°</p>
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
+
</div>
|
342 |
+
</div>
|
343 |
+
</div>
|
344 |
+
</div>
|
345 |
+
|
346 |
+
<script>
|
347 |
+
document.addEventListener('DOMContentLoaded', function() {
|
348 |
+
// Chat interaction
|
349 |
+
const chatArea = document.getElementById('chatArea');
|
350 |
+
const userInput = document.getElementById('userInput');
|
351 |
+
const sendButton = document.getElementById('sendButton');
|
352 |
+
const quickButtons = document.querySelectorAll('.chat-bubble');
|
353 |
+
|
354 |
+
// Add sample welcome message
|
355 |
+
setTimeout(() => {
|
356 |
+
addMessage('bot', 'Hello! I\'m RaznetSolutionsAI. How can I assist you today? Feel free to ask me anything or try one of the quick questions above!');
|
357 |
+
}, 500);
|
358 |
+
|
359 |
+
// Send message on button click or Enter key
|
360 |
+
sendButton.addEventListener('click', sendMessage);
|
361 |
+
userInput.addEventListener('keypress', function(e) {
|
362 |
+
if (e.key === 'Enter') sendMessage();
|
363 |
+
});
|
364 |
+
|
365 |
+
// Quick question buttons
|
366 |
+
quickButtons.forEach(button => {
|
367 |
+
button.addEventListener('click', function() {
|
368 |
+
const question = this.getAttribute('data-question');
|
369 |
+
userInput.value = question;
|
370 |
+
sendMessage();
|
371 |
+
});
|
372 |
+
});
|
373 |
+
|
374 |
+
// Modal interactions
|
375 |
+
document.getElementById('settingsBtn').addEventListener('click', () => toggleModal('settingsModal'));
|
376 |
+
document.getElementById('profileBtn').addEventListener('click', () => toggleModal('profileModal'));
|
377 |
+
document.getElementById('weatherBtn').addEventListener('click', () => toggleModal('weatherModal'));
|
378 |
+
document.getElementById('settingsBtnMobile').addEventListener('click', () => toggleModal('settingsModal'));
|
379 |
+
document.getElementById('profileBtnMobile').addEventListener('click', () => toggleModal('profileModal'));
|
380 |
+
document.getElementById('weatherBtnMobile').addEventListener('click', () => toggleModal('weatherModal'));
|
381 |
+
|
382 |
+
document.getElementById('closeSettings').addEventListener('click', () => toggleModal('settingsModal'));
|
383 |
+
document.getElementById('closeProfile').addEventListener('click', () => toggleModal('profileModal'));
|
384 |
+
document.getElementById('closeWeather').addEventListener('click', () => toggleModal('weatherModal'));
|
385 |
+
|
386 |
+
// Mobile menu toggle
|
387 |
+
document.getElementById('menuButton').addEventListener('click', function() {
|
388 |
+
const menu = document.getElementById('menu');
|
389 |
+
menu.classList.toggle('hidden');
|
390 |
+
});
|
391 |
+
|
392 |
+
// Close modals when clicking outside
|
393 |
+
document.querySelectorAll('.modal').forEach(modal => {
|
394 |
+
modal.addEventListener('click', function(e) {
|
395 |
+
if (e.target === this) toggleModal(this.id);
|
396 |
+
});
|
397 |
+
});
|
398 |
+
|
399 |
+
// File upload button styling
|
400 |
+
document.getElementById('uploadBtn').addEventListener('click', function() {
|
401 |
+
document.getElementById('fileUpload').click();
|
402 |
+
});
|
403 |
+
|
404 |
+
// Functions
|
405 |
+
function sendMessage() {
|
406 |
+
const message = userInput.value.trim();
|
407 |
+
if (message) {
|
408 |
+
addMessage('user', message);
|
409 |
+
userInput.value = '';
|
410 |
+
|
411 |
+
// Show typing indicator
|
412 |
+
const typingDiv = document.createElement('div');
|
413 |
+
typingDiv.className = 'typing-indicator';
|
414 |
+
typingDiv.innerHTML = '<span></span><span></span><span></span>';
|
415 |
+
chatArea.appendChild(typingDiv);
|
416 |
+
chatArea.scrollTop = chatArea.scrollHeight;
|
417 |
+
|
418 |
+
// Simulate bot response after delay
|
419 |
+
setTimeout(() => {
|
420 |
+
chatArea.removeChild(typingDiv);
|
421 |
+
const botResponses = [
|
422 |
+
"That's an interesting question! I'd be happy to help with that.",
|
423 |
+
"Let me think about that for a moment... Here's what I can tell you.",
|
424 |
+
"I've analyzed your question and here's my response.",
|
425 |
+
"Great question! Here's some information that might help."
|
426 |
+
];
|
427 |
+
const randomResponse = botResponses[Math.floor(Math.random() * botResponses.length)];
|
428 |
+
addMessage('bot', randomResponse + " (This is a simulated response. In a real application, this would be powered by AI.)");
|
429 |
+
}, 1500 + Math.random() * 2000);
|
430 |
+
}
|
431 |
+
}
|
432 |
+
|
433 |
+
function addMessage(sender, text) {
|
434 |
+
const messageDiv = document.createElement('div');
|
435 |
+
messageDiv.className = `flex mb-3 ${sender === 'user' ? 'justify-end' : 'justify-start'}`;
|
436 |
+
|
437 |
+
const bubbleDiv = document.createElement('div');
|
438 |
+
bubbleDiv.className = sender === 'user'
|
439 |
+
? 'bg-blue-600 text-white p-3 max-w-xs md:max-w-md bubble-right'
|
440 |
+
: 'bg-gray-200 text-gray-800 p-3 max-w-xs md:max-w-md bubble-left';
|
441 |
+
bubbleDiv.textContent = text;
|
442 |
+
|
443 |
+
messageDiv.appendChild(bubbleDiv);
|
444 |
+
chatArea.appendChild(messageDiv);
|
445 |
+
chatArea.scrollTop = chatArea.scrollHeight;
|
446 |
+
}
|
447 |
+
|
448 |
+
function toggleModal(modalId) {
|
449 |
+
const modal = document.getElementById(modalId);
|
450 |
+
modal.style.display = modal.style.display === 'block' ? 'none' : 'block';
|
451 |
+
|
452 |
+
// Close mobile menu if open
|
453 |
+
document.getElementById('menu').classList.add('hidden');
|
454 |
+
}
|
455 |
+
|
456 |
+
// Initialize chart (hidden by default)
|
457 |
+
const ctx = document.getElementById('dataChart').getContext('2d');
|
458 |
+
const myChart = new Chart(ctx, {
|
459 |
+
type: 'bar',
|
460 |
+
data: {
|
461 |
+
labels: ['Data 1', 'Data 2', 'Data 3', 'Data 4'],
|
462 |
+
datasets: [{
|
463 |
+
label: 'Sample Data',
|
464 |
+
data: [12, 19, 3, 5],
|
465 |
+
backgroundColor: [
|
466 |
+
'rgba(59, 130, 246, 0.7)',
|
467 |
+
'rgba(99, 102, 241, 0.7)',
|
468 |
+
'rgba(168, 85, 247, 0.7)',
|
469 |
+
'rgba(236, 72, 153, 0.7)'
|
470 |
+
],
|
471 |
+
borderColor: [
|
472 |
+
'rgba(59, 130, 246, 1)',
|
473 |
+
'rgba(99, 102, 241, 1)',
|
474 |
+
'rgba(168, 85, 247, 1)',
|
475 |
+
'rgba(236, 72, 153, 1)'
|
476 |
+
],
|
477 |
+
borderWidth: 1
|
478 |
+
}]
|
479 |
+
},
|
480 |
+
options: {
|
481 |
+
scales: {
|
482 |
+
y: {
|
483 |
+
beginAtZero: true
|
484 |
+
}
|
485 |
+
},
|
486 |
+
responsive: true
|
487 |
+
}
|
488 |
+
});
|
489 |
+
});
|
490 |
+
</script>
|
491 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=RazNT/raznetsolutionsai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
492 |
+
</html>
|