Mackin7's picture
Build a Havard college results Transcript sites with free login access - Initial Deployment
e948acd verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Harvard College | Academic Transcript</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');
body {
font-family: 'Open Sans', sans-serif;
background-color: #f8f9fa;
}
.harvard-font {
font-family: 'Libre Baskerville', serif;
}
.transcript-paper {
background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
position: relative;
}
.transcript-paper::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 10px;
background: linear-gradient(to right, #A41034, #4b6cb7);
}
.course-row:hover {
background-color: #f0f4ff;
}
.grade-A { background-color: #e6f7e6; }
.grade-B { background-color: #e6f2ff; }
.grade-C { background-color: #fff8e6; }
.grade-D { background-color: #ffebee; }
.grade-F { background-color: #ffebee; color: #d32f2f; font-weight: bold; }
.watermark {
position: absolute;
opacity: 0.03;
font-size: 40rem;
z-index: 0;
pointer-events: none;
white-space: nowrap;
font-weight: bold;
color: #A41034;
}
@media (max-width: 768px) {
.watermark {
font-size: 15rem;
}
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header -->
<header class="bg-white shadow-sm">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 bg-[#A41034] rounded-full flex items-center justify-center">
<i class="fas fa-university text-white text-xl"></i>
</div>
<h1 class="harvard-font text-2xl font-bold text-[#A41034]">Harvard College</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Home</a>
<a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Academics</a>
<a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Transcript</a>
<a href="#" class="text-gray-700 hover:text-[#A41034] font-medium">Help</a>
</nav>
<button class="md:hidden text-gray-700">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</header>
<!-- Login Modal -->
<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;">
<div class="bg-white rounded-lg shadow-xl w-full max-w-md overflow-hidden">
<div class="bg-[#A41034] p-4">
<h3 class="text-white text-xl font-bold text-center">Harvard College Login</h3>
</div>
<div class="p-6">
<div class="mb-4">
<label class="block text-gray-700 text-sm font-bold mb-2" for="username">
Harvard ID or Email
</label>
<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">
</div>
<div class="mb-6">
<label class="block text-gray-700 text-sm font-bold mb-2" for="password">
Password
</label>
<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">
</div>
<div class="flex items-center justify-between mb-4">
<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">
Sign In
</button>
</div>
<div class="text-center">
<a class="inline-block align-baseline font-bold text-sm text-[#A41034] hover:text-[#8a0b2a]" href="#">
Forgot Password?
</a>
</div>
<div class="text-center mt-4">
<p class="text-gray-600 text-sm">Don't have an account? <a href="#" class="text-[#A41034] font-medium">Request access</a></p>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Welcome Section -->
<section id="welcomeSection" class="text-center py-12">
<div class="max-w-4xl mx-auto">
<h2 class="harvard-font text-4xl md:text-5xl font-bold text-[#A41034] mb-6">Academic Transcript Portal</h2>
<p class="text-lg text-gray-600 mb-8">Access your official Harvard College academic records, view grades, and track your academic progress.</p>
<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">
Access Your Transcript
</button>
</div>
</section>
<!-- Transcript Section (Initially Hidden) -->
<section id="transcriptSection" class="hidden">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
<div>
<h2 class="harvard-font text-3xl font-bold text-[#A41034]">Official Academic Transcript</h2>
<p class="text-gray-600">Generated on: <span id="currentDate"></span></p>
</div>
<div class="mt-4 md:mt-0 flex space-x-3">
<button class="bg-white border border-[#A41034] text-[#A41034] hover:bg-[#f0f0f0] font-medium py-2 px-4 rounded flex items-center">
<i class="fas fa-download mr-2"></i> Download PDF
</button>
<button class="bg-white border border-[#A41034] text-[#A41034] hover:bg-[#f0f0f0] font-medium py-2 px-4 rounded flex items-center">
<i class="fas fa-print mr-2"></i> Print
</button>
</div>
</div>
<!-- Student Info -->
<div class="transcript-paper rounded-lg p-6 mb-8 relative overflow-hidden">
<div class="watermark harvard-font" style="top: -100px; left: -100px;">HARVARD</div>
<div class="flex flex-col md:flex-row justify-between mb-8">
<div>
<h3 class="harvard-font text-2xl font-bold text-gray-800 mb-2" id="studentName">John A. Harvard</h3>
<p class="text-gray-600 mb-1">Harvard ID: <span id="studentId">12345678</span></p>
<p class="text-gray-600 mb-1">Date of Birth: <span id="studentDob">01/01/2000</span></p>
<p class="text-gray-600">Degree: <span id="studentDegree">Bachelor of Arts</span></p>
</div>
<div class="mt-4 md:mt-0">
<div class="w-24 h-24 bg-gray-200 rounded-full overflow-hidden border-4 border-[#A41034]">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Student Photo" class="w-full h-full object-cover" id="studentPhoto">
</div>
</div>
</div>
<!-- Academic Summary -->
<div class="mb-8">
<h4 class="harvard-font text-xl font-bold text-[#A41034] border-b border-gray-200 pb-2 mb-4">Academic Summary</h4>
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
<p class="text-gray-500 text-sm">GPA</p>
<p class="text-3xl font-bold text-[#A41034]" id="studentGpa">3.78</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
<p class="text-gray-500 text-sm">Credits Earned</p>
<p class="text-3xl font-bold text-[#A41034]" id="creditsEarned">96</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
<p class="text-gray-500 text-sm">Courses Taken</p>
<p class="text-3xl font-bold text-[#A41034]" id="coursesTaken">32</p>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-100">
<p class="text-gray-500 text-sm">Expected Graduation</p>
<p class="text-3xl font-bold text-[#A41034]" id="graduationDate">May 2024</p>
</div>
</div>
</div>
<!-- Course History -->
<div>
<h4 class="harvard-font text-xl font-bold text-[#A41034] border-b border-gray-200 pb-2 mb-4">Course History</h4>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Term</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Course</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Title</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Credits</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Grade</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200" id="courseTableBody">
<!-- Course rows will be added here by JavaScript -->
</tbody>
</table>
</div>
</div>
</div>
<!-- Official Notice -->
<div class="bg-blue-50 border-l-4 border-blue-400 p-4 mb-8">
<div class="flex">
<div class="flex-shrink-0">
<i class="fas fa-info-circle text-blue-400 text-xl mt-1"></i>
</div>
<div class="ml-3">
<h3 class="text-sm font-medium text-blue-800">Official Notice</h3>
<div class="mt-2 text-sm text-blue-700">
<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>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="harvard-font text-3xl font-bold text-[#A41034]">Transcript Services</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-600 mx-auto">Access additional services related to your academic records</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 border border-gray-100">
<div class="w-12 h-12 bg-[#f0f4ff] rounded-full flex items-center justify-center mb-4">
<i class="fas fa-envelope text-[#A41034] text-xl"></i>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">Request Official Transcript</h3>
<p class="text-gray-600">Order official copies of your transcript to be sent to institutions or employers.</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 border border-gray-100">
<div class="w-12 h-12 bg-[#f0f4ff] rounded-full flex items-center justify-center mb-4">
<i class="fas fa-graduation-cap text-[#A41034] text-xl"></i>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">Degree Verification</h3>
<p class="text-gray-600">Verify your degree completion status for employers or background checks.</p>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 border border-gray-100">
<div class="w-12 h-12 bg-[#f0f4ff] rounded-full flex items-center justify-center mb-4">
<i class="fas fa-question-circle text-[#A41034] text-xl"></i>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">Transcript Help</h3>
<p class="text-gray-600">Get assistance with transcript questions, discrepancies, or special requests.</p>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="harvard-font text-xl font-bold mb-4">Harvard College</h3>
<p class="text-gray-400">Cambridge, Massachusetts</p>
<p class="text-gray-400">Founded 1636</p>
</div>
<div>
<h4 class="font-bold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Academics</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Transcript</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Registrar's Office</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Academic Calendar</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Course Catalog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Student Handbook</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Contact</h4>
<ul class="space-y-2">
<li class="text-gray-400">University Hall</li>
<li class="text-gray-400">Cambridge, MA 02138</li>
<li class="text-gray-400">(617) 495-1000</li>
<li class="text-gray-400">registrar@harvard.edu</li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2023 The President and Fellows of Harvard College. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Set current date
const now = new Date();
const options = { year: 'numeric', month: 'long', day: 'numeric' };
document.getElementById('currentDate').textContent = now.toLocaleDateString('en-US', options);
// Sample course data
const courses = [
{ term: 'Fall 2023', code: 'CS50', title: 'Introduction to Computer Science', credits: 4, grade: 'A' },
{ term: 'Fall 2023', code: 'ECON10A', title: 'Principles of Economics', credits: 4, grade: 'A-' },
{ term: 'Fall 2023', code: 'MATH21A', title: 'Multivariable Calculus', credits: 4, grade: 'B+' },
{ term: 'Spring 2023', code: 'ENG20', title: 'Shakespeare and Modern Culture', credits: 4, grade: 'A' },
{ term: 'Spring 2023', code: 'CHEM27', title: 'Organic Chemistry', credits: 4, grade: 'B' },
{ term: 'Spring 2023', code: 'PHYS15A', title: 'Introductory Physics I', credits: 4, grade: 'A-' },
{ term: 'Fall 2022', code: 'GOV20', title: 'Introduction to Political Philosophy', credits: 4, grade: 'A' },
{ term: 'Fall 2022', code: 'PSY1', title: 'Introduction to Psychology', credits: 4, grade: 'B+' },
{ term: 'Fall 2022', code: 'STAT110', title: 'Introduction to Probability', credits: 4, grade: 'A-' },
{ term: 'Spring 2022', code: 'HIST10', title: 'American History', credits: 4, grade: 'A' },
{ term: 'Spring 2022', code: 'LIT10', title: 'World Literature', credits: 4, grade: 'A' },
{ term: 'Spring 2022', code: 'MATH1A', title: 'Calculus I', credits: 4, grade: 'A' },
];
// Populate course table
const courseTableBody = document.getElementById('courseTableBody');
courses.forEach(course => {
const row = document.createElement('tr');
row.className = 'course-row';
// Determine grade class
const gradeClass = course.grade.startsWith('A') ? 'grade-A' :
course.grade.startsWith('B') ? 'grade-B' :
course.grade.startsWith('C') ? 'grade-C' :
course.grade.startsWith('D') ? 'grade-D' : 'grade-F';
row.innerHTML = `
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">${course.term}</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">${course.code}</td>
<td class="px-6 py-4 text-sm text-gray-500">${course.title}</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">${course.credits}</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium ${gradeClass}">${course.grade}</td>
`;
courseTableBody.appendChild(row);
});
// Login functionality
document.getElementById('accessTranscriptBtn').addEventListener('click', () => {
document.getElementById('loginModal').style.display = 'flex';
});
document.getElementById('loginBtn').addEventListener('click', () => {
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;
// Simple validation
if (username && password) {
// Hide login modal
document.getElementById('loginModal').style.display = 'none';
// Hide welcome section
document.getElementById('welcomeSection').classList.add('hidden');
// Show transcript section
document.getElementById('transcriptSection').classList.remove('hidden');
// Scroll to transcript
document.getElementById('transcriptSection').scrollIntoView({ behavior: 'smooth' });
} else {
alert('Please enter both username and password');
}
});
// Close modal when clicking outside
document.getElementById('loginModal').addEventListener('click', (e) => {
if (e.target === document.getElementById('loginModal')) {
document.getElementById('loginModal').style.display = 'none';
}
});
// Sample student data
const studentData = {
name: "John A. Harvard",
id: "12345678",
dob: "01/01/2000",
degree: "Bachelor of Arts",
gpa: "3.78",
credits: "96",
courses: "32",
graduation: "May 2024",
photo: "https://randomuser.me/api/portraits/men/1.jpg"
};
// Set student data
document.getElementById('studentName').textContent = studentData.name;
document.getElementById('studentId').textContent = studentData.id;
document.getElementById('studentDob').textContent = studentData.dob;
document.getElementById('studentDegree').textContent = studentData.degree;
document.getElementById('studentGpa').textContent = studentData.gpa;
document.getElementById('creditsEarned').textContent = studentData.credits;
document.getElementById('coursesTaken').textContent = studentData.courses;
document.getElementById('graduationDate').textContent = studentData.graduation;
document.getElementById('studentPhoto').src = studentData.photo;
</script>
<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>
</html>