portfolio / index.html
vibhu262's picture
change it into dark theme. add some hacker and robotic vibe. - Initial Deployment
6de7d82 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Abhiraj Kumar | Portfolio</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.gradient-text {
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.photo-card:hover .photo-overlay {
opacity: 1;
}
.photo-overlay {
transition: all 0.3s ease;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Navigation -->
<nav class="fixed w-full bg-white shadow-sm z-50">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<span class="text-xl font-bold gradient-text">Abhiraj Kumar</span>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#home" class="text-gray-700 hover:text-blue-600 transition">Home</a>
<a href="#about" class="text-gray-700 hover:text-blue-600 transition">About</a>
<a href="#gallery" class="text-gray-700 hover:text-blue-600 transition">Gallery</a>
<a href="#contact" class="text-gray-700 hover:text-blue-600 transition">Contact</a>
</div>
<div class="md:hidden flex items-center">
<button id="menu-btn" class="text-gray-700">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden bg-white pb-4 px-4">
<a href="#home" class="block py-2 text-gray-700 hover:text-blue-600 transition">Home</a>
<a href="#about" class="block py-2 text-gray-700 hover:text-blue-600 transition">About</a>
<a href="#gallery" class="block py-2 text-gray-700 hover:text-blue-600 transition">Gallery</a>
<a href="#contact" class="block py-2 text-gray-700 hover:text-blue-600 transition">Contact</a>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="pt-24 pb-16 md:pt-32 md:pb-24 px-4" data-aos="fade-in">
<div class="max-w-6xl mx-auto">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-8 md:mb-0" data-aos="fade-right">
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-4">
Hi, I'm <span class="gradient-text">Abhiraj Kumar</span>
</h1>
<h2 class="text-xl md:text-2xl text-gray-600 mb-6">
Computer Science Student & Photography Enthusiast
</h2>
<p class="text-gray-600 mb-8">
Passionate about technology and capturing moments through my lens.
</p>
<div class="flex space-x-4">
<a href="#contact" class="px-6 py-3 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg shadow-md hover:shadow-lg transition">
Get In Touch
</a>
<a href="#gallery" class="px-6 py-3 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-100 transition">
View Gallery
</a>
</div>
</div>
<div class="md:w-1/2 flex justify-center" data-aos="fade-left">
<div class="relative w-64 h-64 md:w-80 md:h-80 rounded-full overflow-hidden border-4 border-white shadow-xl">
<img src="http://static.photos/people/640x360/1" alt="Abhiraj Kumar" class="w-full h-full object-cover">
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-16 px-4 bg-gray-100" data-aos="fade-up">
<div class="max-w-6xl mx-auto">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">
About <span class="gradient-text">Me</span>
</h2>
<div class="flex flex-col md:flex-row">
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
<h3 class="text-xl font-semibold text-gray-800 mb-4">Education</h3>
<div class="bg-white p-6 rounded-lg shadow-md mb-6">
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i data-feather="book" class="text-blue-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-800">Bachelor of Technology in Computer Science</h4>
<p class="text-gray-600">Currently Pursuing</p>
<p class="text-gray-500 text-sm mt-2">Expected Graduation: 2025</p>
</div>
</div>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-4">Skills</h3>
<div class="grid grid-cols-2 gap-4">
<div class="bg-white p-4 rounded-lg shadow-md">
<div class="flex items-center">
<div class="bg-purple-100 p-2 rounded-full mr-3">
<i data-feather="code" class="text-purple-600"></i>
</div>
<span class="font-medium">Programming</span>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-md">
<div class="flex items-center">
<div class="bg-green-100 p-2 rounded-full mr-3">
<i data-feather="camera" class="text-green-600"></i>
</div>
<span class="font-medium">Photography</span>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-md">
<div class="flex items-center">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i data-feather="layout" class="text-yellow-600"></i>
</div>
<span class="font-medium">Web Design</span>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow-md">
<div class="flex items-center">
<div class="bg-red-100 p-2 rounded-full mr-3">
<i data-feather="database" class="text-red-600"></i>
</div>
<span class="font-medium">Data Structures</span>
</div>
</div>
</div>
</div>
<div class="md:w-1/2">
<h3 class="text-xl font-semibold text-gray-800 mb-4">My Journey</h3>
<p class="text-gray-600 mb-6">
I'm a passionate computer science student with a keen interest in software development and problem-solving. Alongside my academic pursuits, I find joy in photography, capturing moments that tell stories.
</p>
<p class="text-gray-600 mb-6">
My journey in photography began as a hobby but quickly turned into a creative outlet that complements my technical skills. I believe the combination of logical thinking and artistic expression makes for a well-rounded perspective.
</p>
<h3 class="text-xl font-semibold text-gray-800 mb-4">Hobbies</h3>
<div class="flex flex-wrap gap-3">
<span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full">Photography</span>
<span class="px-4 py-2 bg-purple-100 text-purple-800 rounded-full">Travel</span>
<span class="px-4 py-2 bg-green-100 text-green-800 rounded-full">Reading</span>
<span class="px-4 py-2 bg-yellow-100 text-yellow-800 rounded-full">Coding</span>
</div>
</div>
</div>
</div>
</section>
<!-- Gallery Section -->
<section id="gallery" class="py-16 px-4" data-aos="fade-up">
<div class="max-w-6xl mx-auto">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-4">
My <span class="gradient-text">Gallery</span>
</h2>
<p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">
A collection of moments I've captured through my lens. Each photo tells a unique story.
</p>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6">
<!-- Photo 1 -->
<div class="photo-card relative rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300">
<img src="http://static.photos/nature/640x360/1" alt="Nature Photography" class="w-full h-64 object-cover">
<div class="photo-overlay absolute inset-0 bg-black bg-opacity-50 opacity-0 flex items-center justify-center">
<span class="text-white font-medium">Sunset Horizon</span>
</div>
</div>
<!-- Photo 2 -->
<div class="photo-card relative rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300">
<img src="http://static.photos/cityscape/640x360/1" alt="City Photography" class="w-full h-64 object-cover">
<div class="photo-overlay absolute inset-0 bg-black bg-opacity-50 opacity-0 flex items-center justify-center">
<span class="text-white font-medium">Urban Life</span>
</div>
</div>
<!-- Photo 3 -->
<div class="photo-card relative rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300">
<img src="http://static.photos/travel/640x360/1" alt="Travel Photography" class="w-full h-64 object-cover">
<div class="photo-overlay absolute inset-0 bg-black bg-opacity-50 opacity-0 flex items-center justify-center">
<span class="text-white font-medium">Mountain Journey</span>
</div>
</div>
<!-- Photo 4 -->
<div class="photo-card relative rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300">
<img src="http://static.photos/people/640x360/2" alt="Portrait Photography" class="w-full h-64 object-cover">
<div class="photo-overlay absolute inset-0 bg-black bg-opacity-50 opacity-0 flex items-center justify-center">
<span class="text-white font-medium">Portrait Study</span>
</div>
</div>
<!-- Photo 5 -->
<div class="photo-card relative rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300">
<img src="http://static.photos/minimal/640x360/1" alt="Minimal Photography" class="w-full h-64 object-cover">
<div class="photo-overlay absolute inset-0 bg-black bg-opacity-50 opacity-0 flex items-center justify-center">
<span class="text-white font-medium">Minimalist</span>
</div>
</div>
<!-- Photo 6 -->
<div class="photo-card relative rounded-lg overflow-hidden shadow-md hover:shadow-xl transition duration-300">
<img src="http://static.photos/abstract/640x360/1" alt="Abstract Photography" class="w-full h-64 object-cover">
<div class="photo-overlay absolute inset-0 bg-black bg-opacity-50 opacity-0 flex items-center justify-center">
<span class="text-white font-medium">Abstract View</span>
</div>
</div>
</div>
<div class="text-center mt-10">
<button class="px-6 py-3 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-100 transition">
View More Photos
</button>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-16 px-4 bg-gray-100" data-aos="fade-up">
<div class="max-w-6xl mx-auto">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">
Get In <span class="gradient-text">Touch</span>
</h2>
<div class="flex flex-col md:flex-row">
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
<h3 class="text-xl font-semibold text-gray-800 mb-6">Contact Information</h3>
<div class="space-y-6">
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i data-feather="mail" class="text-blue-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Email</h4>
<p class="text-gray-600">abhiraj@example.com</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-100 p-3 rounded-full mr-4">
<i data-feather="phone" class="text-purple-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Phone</h4>
<p class="text-gray-600">+91 98765 43210</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-100 p-3 rounded-full mr-4">
<i data-feather="map-pin" class="text-green-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Location</h4>
<p class="text-gray-600">New Delhi, India</p>
</div>
</div>
</div>
<div class="mt-8">
<h3 class="text-xl font-semibold text-gray-800 mb-6">Connect With Me</h3>
<div class="flex space-x-4">
<a href="#" class="bg-blue-600 text-white p-3 rounded-full hover:bg-blue-700 transition">
<i data-feather="facebook"></i>
</a>
<a href="#" class="bg-blue-400 text-white p-3 rounded-full hover:bg-blue-500 transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="bg-pink-600 text-white p-3 rounded-full hover:bg-pink-700 transition">
<i data-feather="instagram"></i>
</a>
<a href="#" class="bg-blue-700 text-white p-3 rounded-full hover:bg-blue-800 transition">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="bg-gray-800 text-white p-3 rounded-full hover:bg-gray-900 transition">
<i data-feather="github"></i>
</a>
</div>
</div>
</div>
<div class="md:w-1/2">
<form class="bg-white p-6 rounded-lg shadow-md">
<h3 class="text-xl font-semibold text-gray-800 mb-6">Send Me a Message</h3>
<div class="mb-4">
<label for="name" class="block text-gray-700 mb-2">Name</label>
<input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<div class="mb-4">
<label for="email" class="block text-gray-700 mb-2">Email</label>
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<div class="mb-4">
<label for="subject" class="block text-gray-700 mb-2">Subject</label>
<input type="text" id="subject" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<div class="mb-4">
<label for="message" class="block text-gray-700 mb-2">Message</label>
<textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"></textarea>
</div>
<button type="submit" class="w-full bg-gradient-to-r from-blue-500 to-purple-600 text-white py-3 rounded-lg shadow-md hover:shadow-lg transition">
Send Message
</button>
</form>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8 px-4">
<div class="max-w-6xl mx-auto">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<span class="text-xl font-bold">Abhiraj Kumar</span>
<p class="text-gray-400 mt-1">Computer Science Student & Photographer</p>
</div>
<div class="flex space-x-6">
<a href="#home" class="text-gray-400 hover:text-white transition">Home</a>
<a href="#about" class="text-gray-400 hover:text-white transition">About</a>
<a href="#gallery" class="text-gray-400 hover:text-white transition">Gallery</a>
<a href="#contact" class="text-gray-400 hover:text-white transition">Contact</a>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2023 Abhiraj Kumar. All rights reserved.</p>
</div>
</div>
</footer>
<script>
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
// Mobile menu toggle
const menuBtn = document.getElementById('menu-btn');
const mobileMenu = document.getElementById('mobile-menu');
menuBtn.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
feather.replace();
});
// Close mobile menu when clicking a link
document.querySelectorAll('#mobile-menu a').forEach(link => {
link.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
});
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>