AWAIS310's picture
This is the first section of my 3D Node.js developer portfolio website.
e44c721 verified
Raw History Blame Contribute Delete
4.18 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Awais | Node.js Developer</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<!-- Three.js and React Fiber -->
<script src="https://unpkg.com/three@0.132.2/build/three.min.js"></script>
<script src="https://unpkg.com/@react-three/fiber@7.0.24/dist/react-three-fiber.umd.js"></script>
<script src="https://unpkg.com/@react-three/drei@7.23.3/dist/drei.umd.js"></script>
<!-- Framer Motion -->
<script src="https://unpkg.com/framer-motion@9.0.0/dist/framer-motion.js"></script>
</head>
<body class="bg-gray-900 text-gray-100 overflow-x-hidden">
<main class="min-h-screen relative">
<!-- Hero Section -->
<section class="relative h-screen w-full flex items-center justify-center overflow-hidden">
<!-- Background Particles -->
<div id="particles-js" class="absolute inset-0"></div>
<!-- Content Container -->
<div class="container mx-auto px-6 z-10">
<div class="flex flex-col md:flex-row items-center justify-between">
<!-- Text Content -->
<div class="md:w-1/2 space-y-6">
<h1 class="text-4xl md:text-6xl font-bold tracking-tight">
<span class="text-transparent bg-clip-text bg-gradient-to-r from-green-400 to-blue-500 animate-fadeIn">
Awais
</span>
</h1>
<h2 class="text-2xl md:text-3xl text-gray-300 font-medium animate-fadeIn delay-100">
Full-Stack Node.js Developer
</h2>
<p class="text-lg md:text-xl text-gray-400 max-w-lg animate-fadeIn delay-200">
"Building fast and scalable web experiences."
</p>
<div class="flex space-x-4 animate-fadeIn delay-300">
<a href="#projects" class="px-6 py-3 bg-gradient-to-r from-green-500 to-blue-600 rounded-lg font-medium hover:shadow-lg transition-all duration-300 transform hover:scale-105">
View Work
</a>
<a href="#contact" class="px-6 py-3 border border-blue-500 rounded-lg font-medium hover:bg-blue-900/30 transition-all duration-300">
Contact Me
</a>
</div>
</div>
<!-- 3D Model Container -->
<div class="md:w-1/2 h-64 md:h-96 relative mt-10 md:mt-0">
<div id="node-model" class="w-full h-full"></div>
</div>
</div>
</div>
<!-- Scroll Indicator -->
<div class="absolute bottom-10 left-1/2 transform -translate-x-1/2 animate-bounce">
<a href="#about" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="chevron-down" class="w-8 h-8"></i>
</a>
</div>
</section>
</main>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
feather.replace();
// Initialize particles.js
particlesJS.load('particles-js', 'particles.json', function() {
console.log('Particles.js loaded');
});
// Initialize Three.js scene
const container = document.getElementById('node-model');
// This would be replaced with React Three Fiber code in script.js
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>