Skip to content

Commit 27fb5fc

Browse files
committed
Gallery section added
1 parent b55e3f2 commit 27fb5fc

File tree

4 files changed

+76
-2
lines changed

4 files changed

+76
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ yarn-error.log*
3939
# typescript
4040
*.tsbuildinfo
4141
next-env.d.ts
42+
43+
# clerk configuration (can include secrets)
44+
/.clerk/

app/Gallery/page.tsx

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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;

app/NavBar/page.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client"
22

33
import * as React from "react"
4-
import { Home, User, AppWindowIcon, LogInIcon } from "lucide-react"
4+
import { Home, User, AppWindowIcon, LogInIcon, ImageIcon } from "lucide-react"
55
import { AnimeNavBar } from "@/components/ui/anime-navbar"
66

77
const items = [
@@ -22,7 +22,14 @@ const items = [
2222
url: "/App",
2323
href: "#",
2424
icon: AppWindowIcon,
25-
},{
25+
},
26+
{
27+
name: "Gallery",
28+
url: "/Gallery",
29+
href: "#",
30+
icon: ImageIcon,
31+
},
32+
{
2633
name: "Login",
2734
url: "/sign-in",
2835
href: "#",
374 KB
Loading

0 commit comments

Comments
 (0)