tmsuyash commited on
Commit
8601500
·
verified ·
1 Parent(s): fe72dab

change name campusconnect to iitg bs connect

Browse files
Files changed (2) hide show
  1. README.md +9 -5
  2. index.html +235 -19
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Undefined
3
- emoji: 🦀
4
- colorFrom: gray
5
- colorTo: indigo
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: undefined
3
+ colorFrom: blue
4
+ colorTo: purple
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,235 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>IITG BS Connect - College Chat</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #f8fafc;
15
+ }
16
+
17
+ .gradient-bg {
18
+ background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
19
+ }
20
+
21
+ .chat-bubble {
22
+ border-radius: 20px 20px 20px 0;
23
+ }
24
+
25
+ .chat-bubble.self {
26
+ border-radius: 20px 20px 0 20px;
27
+ }
28
+
29
+ .scrollbar-hide::-webkit-scrollbar {
30
+ display: none;
31
+ }
32
+ </style>
33
+ </head>
34
+ <body class="min-h-screen">
35
+ <!-- Header -->
36
+ <header class="gradient-bg text-white shadow-lg">
37
+ <div class="container mx-auto px-4 py-6">
38
+ <div class="flex justify-between items-center">
39
+ <div class="flex items-center space-x-2">
40
+ <i data-feather="message-square" class="w-8 h-8"></i>
41
+ <h1 class="text-2xl font-bold">IITG BS Connect</h1>
42
+ </div>
43
+ <button class="p-2 rounded-full hover:bg-white/10 transition">
44
+ <i data-feather="settings" class="w-5 h-5"></i>
45
+ </button>
46
+ </div>
47
+ </div>
48
+ </header>
49
+
50
+ <!-- Main Content -->
51
+ <main class="container mx-auto px-4 py-8">
52
+ <!-- Login Section -->
53
+ <section id="login" class="max-w-md mx-auto bg-white rounded-xl shadow-md overflow-hidden p-8">
54
+ <div class="text-center mb-8">
55
+ <h2 class="text-3xl font-bold text-gray-800">Welcome Back!</h2>
56
+ <p class="text-gray-600">Login with your college credentials</p>
57
+ </div>
58
+
59
+ <form class="space-y-6">
60
+ <div>
61
+ <label for="college-id" class="block text-sm font-medium text-gray-700">College ID</label>
62
+ <input type="text" id="college-id" class="mt-1 block w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
63
+ </div>
64
+
65
+ <div>
66
+ <label for="password" class="block text-sm font-medium text-gray-700">Password</label>
67
+ <input type="password" id="password" class="mt-1 block w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
68
+ </div>
69
+
70
+ <div class="flex items-center justify-between">
71
+ <div class="flex items-center">
72
+ <input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
73
+ <label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember me</label>
74
+ </div>
75
+
76
+ <div class="text-sm">
77
+ <a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Forgot password?</a>
78
+ </div>
79
+ </div>
80
+
81
+ <div>
82
+ <button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-lg shadow-sm text-sm font-medium text-white gradient-bg hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
83
+ Sign in
84
+ </button>
85
+ </div>
86
+ </form>
87
+
88
+ <div class="mt-6 text-center">
89
+ <p class="text-sm text-gray-600">
90
+ Having trouble logging in? Contact your college IT support
91
+ </p>
92
+ </div>
93
+ </section>
94
+
95
+ <!-- Chat Demo (hidden by default) -->
96
+ <section id="chat-demo" class="max-w-2xl mx-auto bg-white rounded-xl shadow-md overflow-hidden hidden">
97
+ <div class="flex h-[600px]">
98
+ <!-- Sidebar -->
99
+ <div class="w-1/3 border-r border-gray-200 bg-gray-50">
100
+ <div class="p-4 border-b border-gray-200">
101
+ <div class="flex items-center space-x-3">
102
+ <div class="relative">
103
+ <img src="http://static.photos/people/200x200/1" alt="Profile" class="w-10 h-10 rounded-full">
104
+ <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span>
105
+ </div>
106
+ <div>
107
+ <h3 class="font-semibold">John Doe</h3>
108
+ <p class="text-xs text-gray-500">Computer Science</p>
109
+ </div>
110
+ </div>
111
+ </div>
112
+
113
+ <div class="overflow-y-auto h-[520px] scrollbar-hide">
114
+ <!-- Search -->
115
+ <div class="p-3">
116
+ <div class="relative">
117
+ <input type="text" placeholder="Search chats" class="w-full pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
118
+ <i data-feather="search" class="absolute left-3 top-2.5 w-5 h-5 text-gray-400"></i>
119
+ </div>
120
+ </div>
121
+
122
+ <!-- Chats list -->
123
+ <div class="space-y-1 px-2">
124
+ <!-- Chat item -->
125
+ <div class="flex items-center p-3 rounded-lg hover:bg-gray-100 cursor-pointer">
126
+ <div class="relative">
127
+ <img src="http://static.photos/people/200x200/2" alt="Profile" class="w-12 h-12 rounded-full">
128
+ <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span>
129
+ </div>
130
+ <div class="ml-3 flex-1">
131
+ <div class="flex justify-between items-center">
132
+ <h4 class="font-medium">Jane Smith</h4>
133
+ <span class="text-xs text-gray-500">2 min ago</span>
134
+ </div>
135
+ <p class="text-sm text-gray-500 truncate">Hey, are you coming to the study group?</p>
136
+ </div>
137
+ </div>
138
+
139
+ <!-- More chat items... -->
140
+ </div>
141
+ </div>
142
+ </div>
143
+
144
+ <!-- Chat area -->
145
+ <div class="w-2/3 flex flex-col">
146
+ <!-- Chat header -->
147
+ <div class="p-4 border-b border-gray-200 flex items-center">
148
+ <div class="relative">
149
+ <img src="http://static.photos/people/200x200/2" alt="Profile" class="w-10 h-10 rounded-full">
150
+ <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span>
151
+ </div>
152
+ <div class="ml-3">
153
+ <h3 class="font-semibold">Jane Smith</h3>
154
+ <p class="text-xs text-gray-500">Online</p>
155
+ </div>
156
+ </div>
157
+
158
+ <!-- Messages -->
159
+ <div class="flex-1 overflow-y-auto p-4 bg-gray-100 scrollbar-hide">
160
+ <div class="space-y-3">
161
+ <!-- Incoming message -->
162
+ <div class="flex">
163
+ <div class="bg-white chat-bubble max-w-xs p-3 shadow">
164
+ <p>Hey, are you coming to the study group tomorrow?</p>
165
+ <p class="text-xs text-gray-500 mt-1">10:30 AM</p>
166
+ </div>
167
+ </div>
168
+
169
+ <!-- Outgoing message -->
170
+ <div class="flex justify-end">
171
+ <div class="bg-indigo-500 text-white chat-bubble self max-w-xs p-3 shadow">
172
+ <p>Yes, I'll be there at 2pm</p>
173
+ <p class="text-xs text-indigo-100 mt-1">10:32 AM</p>
174
+ </div>
175
+ </div>
176
+
177
+ <!-- More messages... -->
178
+ </div>
179
+ </div>
180
+
181
+ <!-- Message input -->
182
+ <div class="p-4 border-t border-gray-200">
183
+ <div class="flex items-center">
184
+ <input type="text" placeholder="Type a message" class="flex-1 px-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
185
+ <button class="ml-2 p-2 rounded-full gradient-bg text-white">
186
+ <i data-feather="send" class="w-5 h-5"></i>
187
+ </button>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </section>
193
+ </main>
194
+
195
+ <!-- Footer -->
196
+ <footer class="bg-gray-800 text-white py-8">
197
+ <div class="container mx-auto px-4">
198
+ <div class="flex flex-col md:flex-row justify-between items-center">
199
+ <div class="mb-4 md:mb-0">
200
+ <h2 class="text-xl font-bold">IITG BS Connect</h2>
201
+ <p class="text-gray-400">Brainy Scholars Chat Network</p>
202
+ </div>
203
+
204
+ <div class="flex space-x-6">
205
+ <a href="#" class="text-gray-400 hover:text-white">
206
+ <i data-feather="facebook" class="w-5 h-5"></i>
207
+ </a>
208
+ <a href="#" class="text-gray-400 hover:text-white">
209
+ <i data-feather="twitter" class="w-5 h-5"></i>
210
+ </a>
211
+ <a href="#" class="text-gray-400 hover:text-white">
212
+ <i data-feather="instagram" class="w-5 h-5"></i>
213
+ </a>
214
+ </div>
215
+ </div>
216
+
217
+ <div class="mt-8 pt-8 border-t border-gray-700 text-center text-gray-400 text-sm">
218
+ <p>© 2023 CampusConnect. All rights reserved.</p>
219
+ <p class="mt-2">For college students only. Requires valid college credentials.</p>
220
+ </div>
221
+ </div>
222
+ </footer>
223
+
224
+ <script>
225
+ feather.replace();
226
+
227
+ // Demo functionality - would be replaced with real auth in production
228
+ document.querySelector('form').addEventListener('submit', function(e) {
229
+ e.preventDefault();
230
+ document.getElementById('login').classList.add('hidden');
231
+ document.getElementById('chat-demo').classList.remove('hidden');
232
+ });
233
+ </script>
234
+ </body>
235
+ </html>