Skip to content

Commit 6aee5cc

Browse files
Merge pull request #173 from AdityaB2731/aboutus
Refactor About Page for UI Consistency and Better UX
2 parents dc7b16d + b474278 commit 6aee5cc

File tree

2 files changed

+72
-46
lines changed

2 files changed

+72
-46
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@primer/octicons-react": "^19.15.5",
2020
"@vitejs/plugin-react": "^4.3.3",
2121
"axios": "^1.7.7",
22+
"framer-motion": "^12.23.12",
2223
"lucide-react": "^0.525.0",
2324
"octokit": "^4.0.2",
2425
"postcss": "^8.4.47",

src/pages/About/About.tsx

Lines changed: 71 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,83 @@
1+
import { motion } from "framer-motion";
2+
import { Lightbulb, Users, Settings, Search } from "lucide-react";
3+
4+
const features = [
5+
{
6+
icon: <Search size={40} className="text-indigo-600 dark:text-indigo-400" />,
7+
title: "Simple Issue Tracking",
8+
description: "Track your GitHub issues seamlessly with intuitive filters and search options.",
9+
},
10+
{
11+
icon: <Users size={40} className="text-indigo-600 dark:text-indigo-400" />,
12+
title: "Team Collaboration",
13+
description: "Collaborate with your team in real-time, manage issues and pull requests effectively.",
14+
},
15+
{
16+
icon: <Settings size={40} className="text-indigo-600 dark:text-indigo-400" />,
17+
title: "Customizable Settings",
18+
description: "Customize your issue tracking workflow to match your team's needs.",
19+
},
20+
];
21+
122
const About = () => {
223
return (
3-
<div className="about-container">
24+
<div className="bg-gradient-to-br from-white to-gray-100 dark:from-gray-900 dark:to-gray-800 text-black dark:text-white min-h-screen">
25+
426
{/* Hero Section */}
5-
<section
6-
className="
7-
hero
8-
bg-white text-black
9-
dark:bg-gray-800 dark:text-white
10-
py-12 px-4
11-
"
12-
>
13-
<h1 className="text-4xl font-bold text-center">About Us</h1>
14-
<p className="text-lg text-center mt-4">
15-
Welcome to GitHub Tracker! We simplify issue tracking for developers.
16-
</p>
27+
<section className="py-24 text-center relative overflow-hidden">
28+
<motion.h1
29+
className="text-5xl font-extrabold mb-4 drop-shadow-sm"
30+
initial={{ opacity: 0, y: -20 }}
31+
animate={{ opacity: 1, y: 0 }}
32+
transition={{ duration: 0.6 }}
33+
>
34+
About Us
35+
</motion.h1>
36+
<motion.p
37+
className="text-xl max-w-xl mx-auto text-gray-600 dark:text-gray-300"
38+
initial={{ opacity: 0 }}
39+
animate={{ opacity: 1 }}
40+
transition={{ delay: 0.2, duration: 0.6 }}
41+
>
42+
Welcome to <strong>GitHub Tracker</strong> — your smart solution to manage GitHub issues without chaos.
43+
</motion.p>
1744
</section>
1845

1946
{/* Mission Section */}
20-
<section className="mission py-12 px-4 bg-white dark:bg-gray-800 dark:text-white">
21-
<h2 className="text-3xl font-semibold text-center">Our Mission</h2>
22-
<p className="text-lg text-center mt-4 max-w-3xl mx-auto">
23-
We aim to provide an efficient and user-friendly way to track GitHub issues and pull requests.
24-
Our goal is to make it easy for developers to stay organized and focused on their projects without getting bogged down by the details.
25-
</p>
47+
<section className="py-20 px-6 bg-white dark:bg-gray-900 text-center">
48+
<motion.div
49+
initial={{ opacity: 0, y: 10 }}
50+
whileInView={{ opacity: 1, y: 0 }}
51+
transition={{ duration: 0.5 }}
52+
>
53+
<Lightbulb size={48} className="mx-auto text-indigo-600 dark:text-indigo-400 mb-4" />
54+
<h2 className="text-4xl font-bold mb-6">Our Mission</h2>
55+
<p className="text-lg max-w-3xl mx-auto text-gray-700 dark:text-gray-300 leading-relaxed">
56+
We aim to provide an efficient and user-friendly way to track GitHub issues and pull requests.
57+
Our goal is to make it easy for developers to stay organized and focused on their projects
58+
without getting bogged down by the details.
59+
</p>
60+
</motion.div>
2661
</section>
2762

2863
{/* Features Section */}
29-
<section className="features bg-white dark:bg-gray-800 dark:text-white py-12 px-4">
30-
<h2 className="text-3xl font-semibold text-center">What We Do</h2>
31-
32-
<div className="flex flex-col md:flex-row md:justify-around gap-8 mt-8">
33-
<div className="feature-item text-center">
34-
<div className="feature-icon text-4xl">🔍</div>
35-
<h3 className="font-semibold mt-4 text-xl">Simple Issue Tracking</h3>
36-
<p className="text-base mt-2">
37-
Track your GitHub issues seamlessly with intuitive filters and search options.
38-
</p>
39-
</div>
40-
41-
<div className="feature-item text-center">
42-
<div className="feature-icon text-4xl">👥</div>
43-
<h3 className="font-semibold mt-4 text-xl">Team Collaboration</h3>
44-
<p className="text-base mt-2">
45-
Collaborate with your team in real-time, manage issues and pull requests effectively.
46-
</p>
47-
</div>
48-
49-
<div className="feature-item text-center">
50-
<div className="feature-icon text-4xl">⚙️</div>
51-
<h3 className="font-semibold mt-4 text-xl">Customizable Settings</h3>
52-
<p className="text-base mt-2">
53-
Customize your issue tracking workflow to match your team's needs.
54-
</p>
55-
</div>
64+
<section className="py-24 px-6 bg-gray-50 dark:bg-gray-950">
65+
<h2 className="text-4xl font-bold text-center mb-12">What We Do</h2>
66+
<div className="grid grid-cols-1 md:grid-cols-3 gap-10 max-w-6xl mx-auto">
67+
{features.map((feature, idx) => (
68+
<motion.div
69+
key={idx}
70+
className="p-8 bg-white dark:bg-gray-800 shadow-lg rounded-2xl hover:shadow-xl transition duration-300 text-center border border-gray-100 dark:border-gray-700"
71+
whileHover={{ scale: 1.05 }}
72+
initial={{ opacity: 0, y: 30 }}
73+
whileInView={{ opacity: 1, y: 0 }}
74+
transition={{ delay: idx * 0.2, duration: 0.6 }}
75+
>
76+
<div className="mb-4">{feature.icon}</div>
77+
<h3 className="text-xl font-semibold mb-2">{feature.title}</h3>
78+
<p className="text-gray-600 dark:text-gray-300">{feature.description}</p>
79+
</motion.div>
80+
))}
5681
</div>
5782
</section>
5883
</div>

0 commit comments

Comments
 (0)