|
| 1 | +"use client"; |
| 2 | + |
| 3 | +import React from "react"; |
| 4 | +import Image from "next/image"; |
| 5 | +import { motion } from "framer-motion"; |
| 6 | +import NavBar from "../NavBar/page"; |
| 7 | +import Footer from "../Footer/page"; |
| 8 | + |
| 9 | +const Gallery = () => { |
| 10 | + return ( |
| 11 | + <div className="w-full min-h-screen bg-black"> |
| 12 | + <NavBar /> |
| 13 | + |
| 14 | + <div className="container mx-auto pt-32 pb-20 px-4 md:px-8 lg:px-16"> |
| 15 | + <motion.div |
| 16 | + initial={{ opacity: 0, y: 20 }} |
| 17 | + animate={{ opacity: 1, y: 0 }} |
| 18 | + transition={{ duration: 0.8 }} |
| 19 | + className="text-center mb-12" |
| 20 | + > |
| 21 | + <h1 className="text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-4"> |
| 22 | + Our <span className="text-primary">Gallery</span> |
| 23 | + </h1> |
| 24 | + <p className="text-white/70 max-w-2xl mx-auto text-lg"> |
| 25 | + Explore our collection of memorable moments and achievements |
| 26 | + </p> |
| 27 | + </motion.div> |
| 28 | + |
| 29 | + <div className="flex justify-center"> |
| 30 | + <motion.div |
| 31 | + initial={{ opacity: 0, scale: 0.9 }} |
| 32 | + animate={{ opacity: 1, scale: 1 }} |
| 33 | + transition={{ |
| 34 | + duration: 0.8, |
| 35 | + delay: 0.3, |
| 36 | + ease: "easeOut" |
| 37 | + }} |
| 38 | + className="relative overflow-hidden rounded-xl border border-white/10 shadow-lg w-full max-w-4xl mx-auto" |
| 39 | + whileHover={{ scale: 1.02 }} |
| 40 | + whileTap={{ scale: 0.98 }} |
| 41 | + > |
| 42 | + <div className="relative w-full aspect-[16/9] md:aspect-[16/10] lg:aspect-[16/9]"> |
| 43 | + <Image |
| 44 | + src="/Assets/Images/gallery_image.jpg" |
| 45 | + alt="Gallery Image" |
| 46 | + fill |
| 47 | + className="object-cover transition-transform duration-700 hover:scale-105" |
| 48 | + sizes="(max-width: 768px) 100vw, (max-width: 1200px) 80vw, 70vw" |
| 49 | + priority |
| 50 | + /> |
| 51 | + |
| 52 | + <div className="absolute inset-0 bg-gradient-to-t from-black/60 to-transparent opacity-0 hover:opacity-100 transition-opacity duration-300 flex items-end justify-center p-6"> |
| 53 | + <p className="text-white text-base md:text-xl font-medium text-center">Capturing our journey of innovation and collaboration</p> |
| 54 | + </div> |
| 55 | + </div> |
| 56 | + </motion.div> |
| 57 | + </div> </div> |
| 58 | + |
| 59 | + <Footer /> |
| 60 | + </div> |
| 61 | + ); |
| 62 | +}; |
| 63 | + |
| 64 | +export default Gallery; |
0 commit comments