Mackin7 commited on
Commit
e948acd
·
verified ·
1 Parent(s): d13ac00

Build a Havard college results Transcript sites with free login access - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +413 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Havard Result Transcript Page
3
- emoji: 🌖
4
- colorFrom: gray
5
- colorTo: blue
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: havard-result-transcript-page
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: yellow
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,413 @@
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>Harvard College | Academic Transcript</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');
11
+
12
+ body {
13
+ font-family: 'Open Sans', sans-serif;
14
+ background-color: #f8f9fa;
15
+ }
16
+
17
+ .harvard-font {
18
+ font-family: 'Libre Baskerville', serif;
19
+ }
20
+
21
+ .transcript-paper {
22
+ background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
23
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
24
+ position: relative;
25
+ }
26
+
27
+ .transcript-paper::before {
28
+ content: "";
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ right: 0;
33
+ height: 10px;
34
+ background: linear-gradient(to right, #A41034, #4b6cb7);
35
+ }
36
+
37
+ .course-row:hover {
38
+ background-color: #f0f4ff;
39
+ }
40
+
41
+ .grade-A { background-color: #e6f7e6; }
42
+ .grade-B { background-color: #e6f2ff; }
43
+ .grade-C { background-color: #fff8e6; }
44
+ .grade-D { background-color: #ffebee; }
45
+ .grade-F { background-color: #ffebee; color: #d32f2f; font-weight: bold; }
46
+
47
+ .watermark {
48
+ position: absolute;
49
+ opacity: 0.03;
50
+ font-size: 40rem;
51
+ z-index: 0;
52
+ pointer-events: none;
53
+ white-space: nowrap;
54
+ font-weight: bold;
55
+ color: #A41034;
56
+ }
57
+
58
+ @media (max-width: 768px) {
59
+ .watermark {
60
+ font-size: 15rem;
61
+ }
62
+ }
63
+ </style>
64
+ </head>
65
+ <body class="bg-gray-50">
66
+ <!-- Header -->
67
+ <header class="bg-white shadow-sm">
68
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
69
+ <div class="flex items-center space-x-2">
70
+ <div class="w-10 h-10 bg-[#A41034] rounded-full flex items-center justify-center">
71
+ <i class="fas fa-university text-white text-xl"></i>
72
+ </div>
73
+ <h1 class="harvard-font text-2xl font-bold text-[#A41034]">Harvard College</h1>
74
+ </div>
75
+ <nav class="hidden md:flex space-x-6">
76
+ <a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Home</a>
77
+ <a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Academics</a>
78
+ <a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Transcript</a>
79
+ <a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Help</a>
80
+ </nav>
81
+ <button class="md:hidden text-gray-700">
82
+ <i class="fas fa-bars text-2xl"></i>
83
+ </button>
84
+ </div>
85
+ </header>
86
+
87
+ <!-- Login Modal -->
88
+ <div id="loginModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 px-4 py-6" style="display: none;">
89
+ <div class="bg-white rounded-lg shadow-xl w-full max-w-md overflow-hidden">
90
+ <div class="bg-[#A41034] p-4">
91
+ <h3 class="text-white text-xl font-bold text-center">Harvard College Login</h3>
92
+ </div>
93
+ <div class="p-6">
94
+ <div class="mb-4">
95
+ <label class="block text-gray-700 text-sm font-bold mb-2" for="username">
96
+ Harvard ID or Email
97
+ </label>
98
+ <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" id="username" type="text" placeholder="Enter your Harvard ID or email">
99
+ </div>
100
+ <div class="mb-6">
101
+ <label class="block text-gray-700 text-sm font-bold mb-2" for="password">
102
+ Password
103
+ </label>
104
+ <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:shadow-outline" id="password" type="password" placeholder="Enter your password">
105
+ </div>
106
+ <div class="flex items-center justify-between mb-4">
107
+ <button id="loginBtn" class="bg-[#A41034] hover:bg-[#8a0b2a] text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline w-full">
108
+ Sign In
109
+ </button>
110
+ </div>
111
+ <div class="text-center">
112
+ <a class="inline-block align-baseline font-bold text-sm text-[#A41034] hover:text-[#8a0b2a]" href="#">
113
+ Forgot Password?
114
+ </a>
115
+ </div>
116
+ <div class="text-center mt-4">
117
+ <p class="text-gray-600 text-sm">Don't have an account? <a href="#" class="text-[#A41034] font-medium">Request access</a></p>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Main Content -->
124
+ <main class="container mx-auto px-4 py-8">
125
+ <!-- Welcome Section -->
126
+ <section id="welcomeSection" class="text-center py-12">
127
+ <div class="max-w-4xl mx-auto">
128
+ <h2 class="harvard-font text-4xl md:text-5xl font-bold text-[#A41034] mb-6">Academic Transcript Portal</h2>
129
+ <p class="text-lg text-gray-600 mb-8">Access your official Harvard College academic records, view grades, and track your academic progress.</p>
130
+ <button id="accessTranscriptBtn" class="bg-[#A41034] hover:bg-[#8a0b2a] text-white font-bold py-3 px-8 rounded-lg text-lg shadow-lg transition duration-300 transform hover:scale-105">
131
+ Access Your Transcript
132
+ </button>
133
+ </div>
134
+ </section>
135
+
136
+ <!-- Transcript Section (Initially Hidden) -->
137
+ <section id="transcriptSection" class="hidden">
138
+ <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
139
+ <div>
140
+ <h2 class="harvard-font text-3xl font-bold text-[#A41034]">Official Academic Transcript</h2>
141
+ <p class="text-gray-600">Generated on: <span id="currentDate"></span></p>
142
+ </div>
143
+ <div class="mt-4 md:mt-0 flex space-x-3">
144
+ <button class="bg-white border border-[#A41034] text-[#A41034] hover:bg-[#f0f0f0] font-medium py-2 px-4 rounded flex items-center">
145
+ <i class="fas fa-download mr-2"></i> Download PDF
146
+ </button>
147
+ <button class="bg-white border border-[#A41034] text-[#A41034] hover:bg-[#f0f0f0] font-medium py-2 px-4 rounded flex items-center">
148
+ <i class="fas fa-print mr-2"></i> Print
149
+ </button>
150
+ </div>
151
+ </div>
152
+
153
+ <!-- Student Info -->
154
+ <div class="transcript-paper rounded-lg p-6 mb-8 relative overflow-hidden">
155
+ <div class="watermark harvard-font" style="top: -100px; left: -100px;">HARVARD</div>
156
+ <div class="flex flex-col md:flex-row justify-between mb-8">
157
+ <div>
158
+ <h3 class="harvard-font text-2xl font-bold text-gray-800 mb-2" id="studentName">John A. Harvard</h3>
159
+ <p class="text-gray-600 mb-1">Harvard ID: <span id="studentId">12345678</span></p>
160
+ <p class="text-gray-600 mb-1">Date of Birth: <span id="studentDob">01/01/2000</span></p>
161
+ <p class="text-gray-600">Degree: <span id="studentDegree">Bachelor of Arts</span></p>
162
+ </div>
163
+ <div class="mt-4 md:mt-0">
164
+ <div class="w-24 h-24 bg-gray-200 rounded-full overflow-hidden border-4 border-[#A41034]">
165
+ <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Student Photo" class="w-full h-full object-cover" id="studentPhoto">
166
+ </div>
167
+ </div>
168
+ </div>
169
+
170
+ <!-- Academic Summary -->
171
+ <div class="mb-8">
172
+ <h4 class="harvard-font text-xl font-bold text-[#A41034] border-b border-gray-200 pb-2 mb-4">Academic Summary</h4>
173
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
174
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
175
+ <p class="text-gray-500 text-sm">GPA</p>
176
+ <p class="text-3xl font-bold text-[#A41034]" id="studentGpa">3.78</p>
177
+ </div>
178
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
179
+ <p class="text-gray-500 text-sm">Credits Earned</p>
180
+ <p class="text-3xl font-bold text-[#A41034]" id="creditsEarned">96</p>
181
+ </div>
182
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
183
+ <p class="text-gray-500 text-sm">Courses Taken</p>
184
+ <p class="text-3xl font-bold text-[#A41034]" id="coursesTaken">32</p>
185
+ </div>
186
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
187
+ <p class="text-gray-500 text-sm">Expected Graduation</p>
188
+ <p class="text-3xl font-bold text-[#A41034]" id="graduationDate">May 2024</p>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+ <!-- Course History -->
194
+ <div>
195
+ <h4 class="harvard-font text-xl font-bold text-[#A41034] border-b border-gray-200 pb-2 mb-4">Course History</h4>
196
+ <div class="overflow-x-auto">
197
+ <table class="min-w-full divide-y divide-gray-200">
198
+ <thead class="bg-gray-50">
199
+ <tr>
200
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Term</th>
201
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Course</th>
202
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Title</th>
203
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Credits</th>
204
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Grade</th>
205
+ </tr>
206
+ </thead>
207
+ <tbody class="bg-white divide-y divide-gray-200" id="courseTableBody">
208
+ <!-- Course rows will be added here by JavaScript -->
209
+ </tbody>
210
+ </table>
211
+ </div>
212
+ </div>
213
+ </div>
214
+
215
+ <!-- Official Notice -->
216
+ <div class="bg-blue-50 border-l-4 border-blue-400 p-4 mb-8">
217
+ <div class="flex">
218
+ <div class="flex-shrink-0">
219
+ <i class="fas fa-info-circle text-blue-400 text-xl mt-1"></i>
220
+ </div>
221
+ <div class="ml-3">
222
+ <h3 class="text-sm font-medium text-blue-800">Official Notice</h3>
223
+ <div class="mt-2 text-sm text-blue-700">
224
+ <p>This document represents the official academic record of the student named above. Any alteration or unauthorized duplication is prohibited and may be punishable under University policy and federal law.</p>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </div>
229
+ </section>
230
+
231
+ <!-- Features Section -->
232
+ <section class="py-12">
233
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
234
+ <div class="text-center mb-12">
235
+ <h2 class="harvard-font text-3xl font-bold text-[#A41034]">Transcript Services</h2>
236
+ <p class="mt-4 max-w-2xl text-xl text-gray-600 mx-auto">Access additional services related to your academic records</p>
237
+ </div>
238
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
239
+ <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 border border-gray-100">
240
+ <div class="w-12 h-12 bg-[#f0f4ff] rounded-full flex items-center justify-center mb-4">
241
+ <i class="fas fa-envelope text-[#A41034] text-xl"></i>
242
+ </div>
243
+ <h3 class="text-lg font-bold text-gray-800 mb-2">Request Official Transcript</h3>
244
+ <p class="text-gray-600">Order official copies of your transcript to be sent to institutions or employers.</p>
245
+ </div>
246
+ <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 border border-gray-100">
247
+ <div class="w-12 h-12 bg-[#f0f4ff] rounded-full flex items-center justify-center mb-4">
248
+ <i class="fas fa-graduation-cap text-[#A41034] text-xl"></i>
249
+ </div>
250
+ <h3 class="text-lg font-bold text-gray-800 mb-2">Degree Verification</h3>
251
+ <p class="text-gray-600">Verify your degree completion status for employers or background checks.</p>
252
+ </div>
253
+ <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 border border-gray-100">
254
+ <div class="w-12 h-12 bg-[#f0f4ff] rounded-full flex items-center justify-center mb-4">
255
+ <i class="fas fa-question-circle text-[#A41034] text-xl"></i>
256
+ </div>
257
+ <h3 class="text-lg font-bold text-gray-800 mb-2">Transcript Help</h3>
258
+ <p class="text-gray-600">Get assistance with transcript questions, discrepancies, or special requests.</p>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ </section>
263
+ </main>
264
+
265
+ <!-- Footer -->
266
+ <footer class="bg-gray-800 text-white py-12">
267
+ <div class="container mx-auto px-4">
268
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
269
+ <div>
270
+ <h3 class="harvard-font text-xl font-bold mb-4">Harvard College</h3>
271
+ <p class="text-gray-400">Cambridge, Massachusetts</p>
272
+ <p class="text-gray-400">Founded 1636</p>
273
+ </div>
274
+ <div>
275
+ <h4 class="font-bold mb-4">Quick Links</h4>
276
+ <ul class="space-y-2">
277
+ <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
278
+ <li><a href="#" class="text-gray-400 hover:text-white">Academics</a></li>
279
+ <li><a href="#" class="text-gray-400 hover:text-white">Transcript</a></li>
280
+ <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
281
+ </ul>
282
+ </div>
283
+ <div>
284
+ <h4 class="font-bold mb-4">Resources</h4>
285
+ <ul class="space-y-2">
286
+ <li><a href="#" class="text-gray-400 hover:text-white">Registrar's Office</a></li>
287
+ <li><a href="#" class="text-gray-400 hover:text-white">Academic Calendar</a></li>
288
+ <li><a href="#" class="text-gray-400 hover:text-white">Course Catalog</a></li>
289
+ <li><a href="#" class="text-gray-400 hover:text-white">Student Handbook</a></li>
290
+ </ul>
291
+ </div>
292
+ <div>
293
+ <h4 class="font-bold mb-4">Contact</h4>
294
+ <ul class="space-y-2">
295
+ <li class="text-gray-400">University Hall</li>
296
+ <li class="text-gray-400">Cambridge, MA 02138</li>
297
+ <li class="text-gray-400">(617) 495-1000</li>
298
+ <li class="text-gray-400">registrar@harvard.edu</li>
299
+ </ul>
300
+ </div>
301
+ </div>
302
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
303
+ <p>&copy; 2023 The President and Fellows of Harvard College. All rights reserved.</p>
304
+ </div>
305
+ </div>
306
+ </footer>
307
+
308
+ <script>
309
+ // Set current date
310
+ const now = new Date();
311
+ const options = { year: 'numeric', month: 'long', day: 'numeric' };
312
+ document.getElementById('currentDate').textContent = now.toLocaleDateString('en-US', options);
313
+
314
+ // Sample course data
315
+ const courses = [
316
+ { term: 'Fall 2023', code: 'CS50', title: 'Introduction to Computer Science', credits: 4, grade: 'A' },
317
+ { term: 'Fall 2023', code: 'ECON10A', title: 'Principles of Economics', credits: 4, grade: 'A-' },
318
+ { term: 'Fall 2023', code: 'MATH21A', title: 'Multivariable Calculus', credits: 4, grade: 'B+' },
319
+ { term: 'Spring 2023', code: 'ENG20', title: 'Shakespeare and Modern Culture', credits: 4, grade: 'A' },
320
+ { term: 'Spring 2023', code: 'CHEM27', title: 'Organic Chemistry', credits: 4, grade: 'B' },
321
+ { term: 'Spring 2023', code: 'PHYS15A', title: 'Introductory Physics I', credits: 4, grade: 'A-' },
322
+ { term: 'Fall 2022', code: 'GOV20', title: 'Introduction to Political Philosophy', credits: 4, grade: 'A' },
323
+ { term: 'Fall 2022', code: 'PSY1', title: 'Introduction to Psychology', credits: 4, grade: 'B+' },
324
+ { term: 'Fall 2022', code: 'STAT110', title: 'Introduction to Probability', credits: 4, grade: 'A-' },
325
+ { term: 'Spring 2022', code: 'HIST10', title: 'American History', credits: 4, grade: 'A' },
326
+ { term: 'Spring 2022', code: 'LIT10', title: 'World Literature', credits: 4, grade: 'A' },
327
+ { term: 'Spring 2022', code: 'MATH1A', title: 'Calculus I', credits: 4, grade: 'A' },
328
+ ];
329
+
330
+ // Populate course table
331
+ const courseTableBody = document.getElementById('courseTableBody');
332
+
333
+ courses.forEach(course => {
334
+ const row = document.createElement('tr');
335
+ row.className = 'course-row';
336
+
337
+ // Determine grade class
338
+ const gradeClass = course.grade.startsWith('A') ? 'grade-A' :
339
+ course.grade.startsWith('B') ? 'grade-B' :
340
+ course.grade.startsWith('C') ? 'grade-C' :
341
+ course.grade.startsWith('D') ? 'grade-D' : 'grade-F';
342
+
343
+ row.innerHTML = `
344
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">${course.term}</td>
345
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">${course.code}</td>
346
+ <td class="px-6 py-4 text-sm text-gray-500">${course.title}</td>
347
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">${course.credits}</td>
348
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium ${gradeClass}">${course.grade}</td>
349
+ `;
350
+
351
+ courseTableBody.appendChild(row);
352
+ });
353
+
354
+ // Login functionality
355
+ document.getElementById('accessTranscriptBtn').addEventListener('click', () => {
356
+ document.getElementById('loginModal').style.display = 'flex';
357
+ });
358
+
359
+ document.getElementById('loginBtn').addEventListener('click', () => {
360
+ const username = document.getElementById('username').value;
361
+ const password = document.getElementById('password').value;
362
+
363
+ // Simple validation
364
+ if (username && password) {
365
+ // Hide login modal
366
+ document.getElementById('loginModal').style.display = 'none';
367
+
368
+ // Hide welcome section
369
+ document.getElementById('welcomeSection').classList.add('hidden');
370
+
371
+ // Show transcript section
372
+ document.getElementById('transcriptSection').classList.remove('hidden');
373
+
374
+ // Scroll to transcript
375
+ document.getElementById('transcriptSection').scrollIntoView({ behavior: 'smooth' });
376
+ } else {
377
+ alert('Please enter both username and password');
378
+ }
379
+ });
380
+
381
+ // Close modal when clicking outside
382
+ document.getElementById('loginModal').addEventListener('click', (e) => {
383
+ if (e.target === document.getElementById('loginModal')) {
384
+ document.getElementById('loginModal').style.display = 'none';
385
+ }
386
+ });
387
+
388
+ // Sample student data
389
+ const studentData = {
390
+ name: "John A. Harvard",
391
+ id: "12345678",
392
+ dob: "01/01/2000",
393
+ degree: "Bachelor of Arts",
394
+ gpa: "3.78",
395
+ credits: "96",
396
+ courses: "32",
397
+ graduation: "May 2024",
398
+ photo: "https://randomuser.me/api/portraits/men/1.jpg"
399
+ };
400
+
401
+ // Set student data
402
+ document.getElementById('studentName').textContent = studentData.name;
403
+ document.getElementById('studentId').textContent = studentData.id;
404
+ document.getElementById('studentDob').textContent = studentData.dob;
405
+ document.getElementById('studentDegree').textContent = studentData.degree;
406
+ document.getElementById('studentGpa').textContent = studentData.gpa;
407
+ document.getElementById('creditsEarned').textContent = studentData.credits;
408
+ document.getElementById('coursesTaken').textContent = studentData.courses;
409
+ document.getElementById('graduationDate').textContent = studentData.graduation;
410
+ document.getElementById('studentPhoto').src = studentData.photo;
411
+ </script>
412
+ <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=Mackin7/havard-result-transcript-page" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
413
+ </html>