test-web / index.html
hf1024's picture
Add 1 files
2fb9ea5 verified
Raw
History Blame Contribute Delete
48.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BlueScholar - Student Discounts & Savings</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
--primary-color: #2d8cff;
--primary-dark: #1a73e8;
--primary-light: #e8f4ff;
}
body {
font-family: 'Poppins', sans-serif;
}
.bg-primary {
background-color: var(--primary-color);
}
.bg-primary-dark {
background-color: var(--primary-dark);
}
.bg-primary-light {
background-color: var(--primary-light);
}
.text-primary {
color: var(--primary-color);
}
.border-primary {
border-color: var(--primary-color);
}
.header__search-input:focus {
outline: 2px solid var(--primary-color);
}
.search-results__item:hover {
background-color: var(--primary-light);
}
.button-primary {
background-color: var(--primary-color);
color: white;
}
.button-primary:hover {
background-color: var(--primary-dark);
}
/* Login Modal Styles */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
z-index: 1000;
}
.modal-content {
background-color: white;
margin: 15% auto;
padding: 2rem;
border-radius: 8px;
width: 90%;
max-width: 400px;
position: relative;
}
.modal-close {
position: absolute;
right: 1rem;
top: 1rem;
cursor: pointer;
font-size: 1.5rem;
color: #666;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header -->
<header class="bg-white shadow-md sticky top-0 z-50">
<div class="container mx-auto px-4 py-3 flex items-center justify-between">
<!-- Logo -->
<div id="header__logo" class="flex items-center">
<a href="/" class="flex items-center">
<div class="flex items-center">
<svg class="w-10 h-10 text-primary" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2L3 7L12 12L21 7L12 2Z" fill="currentColor"/>
<path d="M3 12L12 17L21 12" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
<path d="M3 17L12 22L21 17" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
<span class="ml-2 text-2xl font-bold text-primary">BlueScholar</span>
</div>
</a>
</div>
<!-- Main Navigation -->
<nav class="hidden md:flex space-x-8">
<div class="group relative">
<button class="text-gray-700 hover:text-primary font-medium flex items-center">
Coupon Codes
<svg class="w-4 h-4 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
</svg>
</button>
<div class="absolute hidden group-hover:block bg-white shadow-lg rounded-md mt-2 py-2 w-48 z-50">
<a href="#" class="block px-4 py-2 text-gray-700 hover:bg-primary-light">Electronics</a>
<a href="#" class="block px-4 py-2 text-gray-700 hover:bg-primary-light">Fashion</a>
<a href="#" class="block px-4 py-2 text-gray-700 hover:bg-primary-light">Home & Garden</a>
<a href="#" class="block px-4 py-2 text-gray-700 hover:bg-primary-light">All Categories</a>
</div>
</div>
<div class="group relative">
<button class="text-gray-700 hover:text-primary font-medium flex items-center">
Student Discounts
<svg class="w-4 h-4 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
</svg>
</button>
<div class="absolute hidden group-hover:block bg-white shadow-lg rounded-md mt-2 py-2 w-48 z-50">
<a href="#" class="block px-4 py-2 text-gray-700 hover:bg-primary-light">Tech Discounts</a>
<a href="#" class="block px-4 py-2 text-gray-700 hover:bg-primary-light">Software</a>
<a href="#" class="block px-4 py-2 text-gray-700 hover:bg-primary-light">Streaming</a>
</div>
</div>
<a href="#" class="text-gray-700 hover:text-primary font-medium">Guides</a>
</nav>
<!-- Search and Mobile Menu -->
<div class="flex items-center space-x-4">
<!-- Search Button (Mobile) -->
<button class="md:hidden text-gray-700">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
<!-- Search (Desktop) -->
<div class="hidden md:block relative">
<nav class="nav header__search" id="header__search">
<form class="header__search-form flex items-center" data-role="header-search-form" action="/search" method="GET" tabindex="0">
<div class="relative">
<svg class="w-5 h-5 text-gray-500 absolute left-3 top-1/2 transform -translate-y-1/2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
<input class="header__search-input bg-gray-100 rounded-full py-2 px-4 pl-10 focus:outline-none w-64" type="search" name="term" placeholder="Search" required="" autocomplete="off">
</div>
<div class="search-results__container absolute top-full left-0 w-full bg-white shadow-lg rounded-md mt-1 hidden" data-role="search-results-container">
<ul class="search-results py-2">
<li class="search-results__group">
<div class="search-results__label px-4 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider">Quick Links</div>
<ul class="search-results__group-list">
<li class="search-results__item">
<a href="#" class="flex items-center px-4 py-2">
<div class="search-results__image search-results__more-icon mr-3">
<svg class="w-5 h-5 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</div>
<span class="search-results__title">Student Discounts</span>
</a>
</li>
<li class="search-results__item">
<a href="#" class="flex items-center px-4 py-2">
<div class="search-results__image search-results__more-icon mr-3">
<svg class="w-5 h-5 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</div>
<span class="search-results__title">Teacher Discounts</span>
</a>
</li>
<li class="search-results__item">
<a href="#" class="flex items-center px-4 py-2">
<div class="search-results__image search-results__more-icon mr-3">
<svg class="w-5 h-5 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</div>
<span class="search-results__title">Coupon Codes</span>
</a>
</li>
<li class="search-results__item">
<a href="#" class="flex items-center px-4 py-2">
<div class="search-results__image search-results__more-icon mr-3">
<svg class="w-5 h-5 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</div>
<span class="search-results__title">Latest Guides</span>
</a>
</li>
</ul>
</li>
</ul>
</div>
</form>
</nav>
</div>
<!-- Login Button -->
<button id="login-button" class="hidden md:block bg-primary text-white font-medium py-2 px-4 rounded hover:bg-primary-dark">Login</button>
<!-- Mobile Menu Button -->
<button class="md:hidden text-gray-700">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</div>
</header>
<!-- Login Modal -->
<div id="login-modal" class="modal">
<div class="modal-content">
<span class="modal-close">&times;</span>
<div id="login-form" class="auth-form">
<h2 class="text-2xl font-bold mb-6 text-center">Login</h2>
<form>
<div class="mb-4">
<input type="email" placeholder="Email" class="w-full px-4 py-2 border rounded focus:outline-none focus:border-primary" required>
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border rounded focus:outline-none focus:border-primary" required>
</div>
<button type="submit" class="w-full bg-primary text-white py-2 rounded hover:bg-primary-dark">Sign In</button>
</form>
<div class="my-4 text-center">
<span class="text-gray-500">or continue with</span>
</div>
<div class="flex justify-center gap-4 mb-6">
<button class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">Facebook</button>
<button class="bg-red-600 text-white px-4 py-2 rounded hover:bg-red-700">Google</button>
</div>
<p class="text-center">Don't have an account? <button id="show-register" class="text-primary hover:underline">Register</button></p>
</div>
<div id="register-form" class="auth-form hidden">
<h2 class="text-2xl font-bold mb-6 text-center">Register</h2>
<form>
<div class="mb-4">
<input type="text" placeholder="Full Name" class="w-full px-4 py-2 border rounded focus:outline-none focus:border-primary" required>
</div>
<div class="mb-4">
<input type="email" placeholder="Email" class="w-full px-4 py-2 border rounded focus:outline-none focus:border-primary" required>
</div>
<div class="mb-6">
<input type="password" placeholder="Password" class="w-full px-4 py-2 border rounded focus:outline-none focus:border-primary" required>
</div>
<button type="submit" class="w-full bg-primary text-white py-2 rounded hover:bg-primary-dark">Create Account</button>
</form>
<p class="text-center mt-4">Already have an account? <button id="show-login" class="text-primary hover:underline">Login</button></p>
</div>
</div>
</div>
<!-- Hero Section -->
<section class="bg-gradient-to-r from-blue-500 to-blue-600 text-white py-16">
<div class="container mx-auto px-4">
<div class="max-w-3xl mx-auto text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Save Money. Support Students.</h1>
<p class="text-xl mb-8">BlueScholar partners with top brands to provide exclusive student discounts. Shop with our deals and we'll donate to scholarship funds.</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="#" class="bg-white text-blue-600 hover:bg-gray-100 font-semibold py-3 px-6 rounded-full transition duration-300">Find Discounts</a>
<a href="#" class="border-2 border-white text-white hover:bg-white hover:text-blue-600 font-semibold py-3 px-6 rounded-full transition duration-300">Learn More</a>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center">
<div class="bg-blue-50 p-6 rounded-lg">
<div class="text-4xl font-bold text-blue-600 mb-2">1,000+</div>
<div class="text-gray-700">Student Discounts</div>
</div>
<div class="bg-blue-50 p-6 rounded-lg">
<div class="text-4xl font-bold text-blue-600 mb-2">1M+</div>
<div class="text-gray-700">Coupon Codes</div>
</div>
<div class="bg-blue-50 p-6 rounded-lg">
<div class="text-4xl font-bold text-blue-600 mb-2">$2,000</div>
<div class="text-gray-700">Scholarship Fund</div>
</div>
</div>
</div>
</section>
<!-- Featured Discounts -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">Featured Student Discounts</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Discount Card 1 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="h-48 bg-blue-100 flex items-center justify-center">
<img src="https://res.cloudinary.com/contender-digital/image/upload/f_auto/w_176,h_72,c_fill/images/spotify-student-discount-logo_gtchwd" alt="Spotify" class="h-24">
</div>
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Spotify Premium</h3>
<p class="text-blue-600 font-medium mb-4">50% off for students</p>
<a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded transition duration-300">Get Deal</a>
</div>
</div>
<!-- Discount Card 2 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="h-48 bg-blue-100 flex items-center justify-center">
<img src="https://res.cloudinary.com/contender-digital/image/upload/f_auto/w_176,h_72,c_fill/images/adobe-student-discount-logo_vyk4uq" alt="Adobe" class="h-24">
</div>
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Adobe Creative Cloud</h3>
<p class="text-blue-600 font-medium mb-4">65% off for students</p>
<a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded transition duration-300">Get Deal</a>
</div>
</div>
<!-- Discount Card 3 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="h-48 bg-blue-100 flex items-center justify-center">
<img src="https://res.cloudinary.com/contender-digital/image/upload/f_auto/w_176,h_72,c_fill/images/apple-music_student-logo" alt="Apple Music" class="h-24">
</div>
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Apple Music</h3>
<p class="text-blue-600 font-medium mb-4">$5.99/month for students</p>
<a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded transition duration-300">Get Deal</a>
</div>
</div>
<!-- Discount Card 4 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="h-48 bg-blue-100 flex items-center justify-center">
<img src="https://res.cloudinary.com/contender-digital/image/upload/f_auto/w_176,h_72,c_fill/images/apple-music_student-logo" alt="Apple Music" class="h-24">
</div>
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Microsoft 365</h3>
<p class="text-blue-600 font-medium mb-4">Free for students</p>
<a href="#" class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded transition duration-300">Get Deal</a>
</div>
</div>
</div>
<div class="text-center mt-10">
<a href="#" class="inline-flex items-center text-blue-600 font-medium hover:text-blue-800">
View All Discounts
<svg class="w-5 h-5 ml-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</section>
<!-- How It Works -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">How It Works</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="text-center">
<div class="bg-blue-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-10 h-10 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Find Discounts</h3>
<p class="text-gray-600">Browse our collection of student discounts and coupon codes from top brands.</p>
</div>
<div class="text-center">
<div class="bg-blue-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-10 h-10 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Shop & Save</h3>
<p class="text-gray-600">Use our links to make purchases and automatically apply the discounts.</p>
</div>
<div class="text-center">
<div class="bg-blue-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-10 h-10 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<h3 class="text-xl font-semibold mb-2">Support Students</h3>
<p class="text-gray-600">We donate a portion of commissions to scholarship funds for students in need.</p>
</div>
</div>
</div>
</section>
<!-- Popular Categories -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">Popular Categories</h2>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4">
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"></path>
</svg>
</div>
<span class="font-medium">Electronics</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
</svg>
</div>
<span class="font-medium">Fashion</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path>
</svg>
</div>
<span class="font-medium">Home & Garden</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 4v16M17 4v16M3 8h4m10 0h4M3 12h18M3 16h4m10 0h4M4 20h16a1 1 0 001-1V5a1 1 0 00-1-1H4a1 1 0 00-1 1v14a1 1 0 001 1z"></path>
</svg>
</div>
<span class="font-medium">Books</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
</svg>
</div>
<span class="font-medium">Software</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"></path>
</svg>
</div>
<span class="font-medium">Streaming</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path>
</svg>
</div>
<span class="font-medium">Travel</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"></path>
</svg>
</div>
<span class="font-medium">Education</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"></path>
</svg>
</div>
<span class="font-medium">Finance</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 8v8m-4-5v5m-4-2v2m-2 4h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
</svg>
</div>
<span class="font-medium">Gaming</span>
</a>
<a href="#" class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition duration-300 text-center">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3">
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z"></path>
</svg>
</div>
<span class="font-medium">Health</span>
</a>
</div>
</div>
</section>
<!-- Featured Guides -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">Student Guides</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Guide 1 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="h-48 bg-blue-100 overflow-hidden">
<img src="https://res.cloudinary.com/contender-digital/image/upload/w_768,h_512,c_fill/article_images/z3rbds0lftbfjqsbzerf" alt="Guide" class="w-full h-full object-cover">
</div>
<div class="p-6">
<div class="text-xs font-semibold text-blue-600 uppercase tracking-wider mb-2">College Life</div>
<h3 class="text-xl font-semibold mb-3">Disney+ Student Discount Guide</h3>
<p class="text-gray-600 mb-4">Learn how to get 50% off Disney+ with your student email.</p>
<a href="#" class="inline-flex items-center text-blue-600 font-medium hover:text-blue-800">
Read More
<svg class="w-4 h-4 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
<!-- Guide 2 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="h-48 bg-blue-100 overflow-hidden">
<img src="https://res.cloudinary.com/contender-digital/image/upload/w_768,h_512,c_fill/article_images/fucnrgeerfdlnzlrpxrn" alt="Guide" class="w-full h-full object-cover">
</div>
<div class="p-6">
<div class="text-xs font-semibold text-blue-600 uppercase tracking-wider mb-2">Resources</div>
<h3 class="text-xl font-semibold mb-3">Where to Buy Cheap Textbooks</h3>
<p class="text-gray-600 mb-4">18 best sites to buy textbooks online for cheap in 2025.</p>
<a href="#" class="inline-flex items-center text-blue-600 font-medium hover:text-blue-800">
Read More
<svg class="w-4 h-4 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
<!-- Guide 3 -->
<div class="bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="h-48 bg-blue-100 overflow-hidden">
<img src="https://res.cloudinary.com/contender-digital/image/upload/w_768,h_512,c_fill/article_images/xt8sfdv05n91vqy6plkj" alt="Guide" class="w-full h-full object-cover">
</div>
<div class="p-6">
<div class="text-xs font-semibold text-blue-600 uppercase tracking-wider mb-2">College Life</div>
<h3 class="text-xl font-semibold mb-3">Student Discounts Guide</h3>
<p class="text-gray-600 mb-4">How to save money on everything from books to travel.</p>
<a href="#" class="inline-flex items-center text-blue-600 font-medium hover:text-blue-800">
Read More
<svg class="w-4 h-4 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>
<div class="text-center mt-10">
<a href="#" class="inline-flex items-center text-blue-600 font-medium hover:text-blue-800">
View All Guides
<svg class="w-5 h-5 ml-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-16 bg-blue-600 text-white">
<div class="container mx-auto px-4 max-w-4xl">
<div class="text-center mb-8">
<h2 class="text-3xl font-bold mb-4">Stay Updated</h2>
<p class="text-blue-100">Subscribe to get the latest student discounts and deals straight to your inbox.</p>
</div>
<form class="flex flex-col sm:flex-row gap-2 max-w-md mx-auto">
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded focus:outline-none text-gray-800">
<button type="submit" class="bg-white text-blue-600 font-semibold px-6 py-3 rounded hover:bg-gray-100 transition duration-300">Subscribe</button>
</form>
<p class="text-center text-blue-100 text-sm mt-4">We respect your privacy. Unsubscribe at any time.</p>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white pt-16 pb-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center mb-4">
<svg class="w-8 h-8 text-blue-400 mr-2" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2L3 7L12 12L21 7L12 2Z" fill="currentColor"/>
<path d="M3 12L12 17L21 12" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
<path d="M3 17L12 22L21 17" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
<span class="text-xl font-bold text-blue-400">BlueScholar</span>
</div>
<p class="text-gray-400 mb-4">Helping students save money while supporting education.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z"></path>
</svg>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"></path>
</svg>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"></path>
</svg>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Explore</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Coupon Codes</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Student Discounts</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Teacher Discounts</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Guides</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Scholarship</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Company</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Press</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Partners</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Legal</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Terms of Service</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Cookie Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">GDPR</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 pt-8 text-center text-gray-500 text-sm">
<p>© 2025 BlueScholar. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="back-to-top" class="fixed bottom-8 right-8 bg-blue-600 text-white p-3 rounded-full shadow-lg hidden">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 10l7-7m0 0l7 7m-7-7v18"></path>
</svg>
</button>
<script>
// Search functionality
const searchInput = document.querySelector('.header__search-input');
const searchResults = document.querySelector('.search-results__container');
searchInput.addEventListener('focus', () => {
searchResults.classList.remove('hidden');
});
document.addEventListener('click', (e) => {
if (!e.target.closest('.header__search')) {
searchResults.classList.add('hidden');
}
});
// Back to top button
const backToTopButton = document.getElementById('back-to-top');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
backToTopButton.classList.remove('hidden');
} else {
backToTopButton.classList.add('hidden');
}
});
backToTopButton.addEventListener('click', () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
// Login modal functionality
const loginButton = document.getElementById('login-button');
const loginModal = document.getElementById('login-modal');
const closeModal = document.querySelector('.modal-close');
const loginForm = document.getElementById('login-form');
const registerForm = document.getElementById('register-form');
const showRegisterButton = document.getElementById('show-register');
const showLoginButton = document.getElementById('show-login');
loginButton.addEventListener('click', () => {
loginModal.style.display = 'block';
loginForm.classList.remove('hidden');
registerForm.classList.add('hidden');
});
closeModal.addEventListener('click', () => {
loginModal.style.display = 'none';
});
showRegisterButton.addEventListener('click', () => {
loginForm.classList.add('hidden');
registerForm.classList.remove('hidden');
});
showLoginButton.addEventListener('click', () => {
registerForm.classList.add('hidden');
loginForm.classList.remove('hidden');
});
</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=hf1024/test-web" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>