Skip to content

Commit 112c1e7

Browse files
authored
Merge pull request #27 from CommunityOfCoders/Manav39/add-about
feat(about): add about page
2 parents fed893b + 796e521 commit 112c1e7

File tree

5 files changed

+106
-0
lines changed

5 files changed

+106
-0
lines changed

app/about/page.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import React from "react";
2+
import Navbar from "@/components/Navbar";
3+
import AboutMain from "@/components/AboutMain";
4+
const page = () => {
5+
return (
6+
<main className="min-h-screen bg-black">
7+
<Navbar />
8+
<AboutMain />
9+
</main>
10+
);
11+
};
12+
13+
export default page;

components/AboutMain.tsx

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
"use client";
2+
import React from "react";
3+
import Image from "next/image"; // Import Next.js Image component
4+
import { BackgroundBeams } from "@/components/ui/background-beams";
5+
import { motion } from "framer-motion";
6+
7+
const AboutMain = () => {
8+
return (
9+
<div className="min-h-screen bg-gradient-to-b from-black/95 via-neutral-900 to-black/95 text-neutral-300 px-8 py-12">
10+
{/* Header Section */}
11+
<div className="text-center mb-16 mt-16">
12+
<h1 className="text-6xl font-bold font-montserrat tracking-tighter bg-clip-text text-transparent bg-gradient-to-b from-green-400 to-green-300">
13+
About Us
14+
</h1>
15+
<p className="mt-4 text-lg max-w-3xl mx-auto font-montserrat leading-relaxed text-neutral-400">
16+
Welcome to the{" "}
17+
<span className="text-green-400">Community of Coders</span>&mdash;a
18+
lively space where both new and experienced developers come together.
19+
It&apos;s all about innovation, collaboration, and growing our skills
20+
together.
21+
</p>
22+
</div>
23+
24+
{/* Vision Section */}
25+
<div className="flex justify-center mb-16">
26+
<motion.div
27+
initial={{ opacity: 0, y: 20 }}
28+
animate={{ opacity: 1, y: 0 }}
29+
transition={{ duration: 1 }}
30+
className="p-8 bg-neutral-800/70 rounded-xl border border-neutral-700 shadow-lg w-full md:w-1/2"
31+
>
32+
<h2 className="text-3xl font-semibold mb-4 text-green-400 text-center">
33+
Our Vision
34+
</h2>
35+
<p className="mt-4 text-lg font-montserrat leading-relaxed text-neutral-400 italic">
36+
&quot;Guided by Experience, Driven by Passion – For Juniors, By the
37+
Seniors.&quot;
38+
</p>
39+
</motion.div>
40+
</div>
41+
42+
{/* Senate Teams Section */}
43+
<div className="flex flex-col gap-6 mb-16">
44+
<div className="text-center mb-8">
45+
<h2 className="text-4xl font-semibold text-green-400">
46+
Senate Teams
47+
</h2>
48+
</div>
49+
50+
{/* Images */}
51+
<div className="flex justify-start">
52+
<div className="w-[60%] sm:w-[45%] ml-4">
53+
<Image
54+
src="/senate_image1.jpg"
55+
alt="Team 1"
56+
width={600} // Add width
57+
height={400} // Add height
58+
className="w-full rounded-lg shadow-lg"
59+
/>
60+
</div>
61+
</div>
62+
63+
<div className="flex justify-end">
64+
<div className="w-[60%] sm:w-[45%] mr-4">
65+
<Image
66+
src="/senate_image3.png"
67+
alt="Team 2"
68+
width={600} // Add width
69+
height={400} // Add height
70+
className="w-full rounded-lg shadow-lg"
71+
/>
72+
</div>
73+
</div>
74+
75+
<div className="flex justify-start">
76+
<div className="w-[60%] sm:w-[45%] ml-4">
77+
<Image
78+
src="/senate_image4.jpg"
79+
alt="Team 3"
80+
width={600} // Add width
81+
height={400} // Add height
82+
className="w-full rounded-lg shadow-lg"
83+
/>
84+
</div>
85+
</div>
86+
</div>
87+
88+
<BackgroundBeams />
89+
</div>
90+
);
91+
};
92+
93+
export default AboutMain;

public/senate_image1.jpg

3.54 MB
Loading

public/senate_image3.png

1.11 MB
Loading

public/senate_image4.JPG

3.14 MB
Loading

0 commit comments

Comments
 (0)