Skip to content

Commit e2e7b7f

Browse files
authored
Merge pull request #4861 from codeharborhub/dev-5-1
update Hero section in About page
2 parents 92b3ed7 + 806a947 commit e2e7b7f

File tree

5 files changed

+49
-62
lines changed

5 files changed

+49
-62
lines changed

src/components/Aboutpage/data/contributors.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/components/Aboutpage/data/teamMembers.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/components/Aboutpage/index.tsx

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,29 @@ import { Sparkles } from "lucide-react";
55

66
const About = () => {
77
return (
8-
<div className="min-h-screen bg-white dark:bg-gray-900 overflow-x-hidden">
8+
<div className="min-h-screen overflow-x-hidden">
99
{/* <HeroSection /> */}
10-
<section className="relative overflow-hidden bg-gradient-to-br from-blue-900 via-purple-900 to-indigo-900 text-white">
10+
<section className="relative overflow-hidden bg-gradient-to-br from-blue-50 via-white to-cyan-50 dark:from-slate-950 dark:via-slate-900 dark:to-slate-950">
11+
<div className="absolute inset-0 bg-grid-slate-200/50 dark:bg-grid-slate-800/50 [mask-image:linear-gradient(0deg,white,rgba(255,255,255,0.6))] dark:[mask-image:linear-gradient(0deg,rgba(15,23,42,1),rgba(15,23,42,0.6))]" />
1112
<div className="absolute inset-0 bg-[url('data:image/svg+xml,%3Csvg width=%2260%22 height=%2260%22 viewBox=%220 0 60 60%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg fill=%22none%22 fill-rule=%22evenodd%22%3E%3Cg fill=%22%239C92AC%22 fill-opacity=%220.1%22%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%224%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')] opacity-30"></div>
1213
<div className="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24 lg:py-32">
1314
<div className="text-center">
1415
<div className="flex justify-center mb-8">
15-
<div className="flex items-center space-x-2 bg-white/10 backdrop-blur-sm rounded-full px-6 py-3 border border-white/20">
16-
<Sparkles className="w-5 h-5 text-yellow-400" />
17-
<span className="text-sm font-medium">ABOUT CODEHARBORHUB</span>
16+
<div className="inline-flex items-center gap-2 px-4 py-2 bg-blue-100 dark:bg-blue-900/30 rounded-full mb-6">
17+
<Sparkles className="w-4 h-4 text-blue-600 dark:text-blue-400" />
18+
<span className="text-sm font-medium text-blue-700 dark:text-blue-300">
19+
ABOUT CODEHARBORHUB
20+
</span>
1821
</div>
1922
</div>
20-
<h1 className="text-4xl md:text-6xl font-extrabold mb-6 bg-gradient-to-r from-white via-blue-200 to-purple-200 bg-clip-text text-transparent p-2">
21-
Where Knowledge Meets Innovation
23+
<h1 className="text-3xl sm:text-4xl lg:text-5xl font-bold mb-6 leading-tight">
24+
<span className="bg-gradient-to-r from-blue-600 via-cyan-600 to-blue-600 dark:from-blue-400 dark:via-cyan-400 dark:to-blue-400 bg-clip-text text-transparent">
25+
Where Knowledge Meets
26+
</span>
27+
<br />
28+
<span className="text-slate-900 dark:text-white">Innovation</span>
2229
</h1>
23-
<p className="text-xl text-blue-100 mx-auto leading-relaxed">
30+
<p className="text-xl text-slate-600 dark:text-slate-400 mb-8 mx-auto">
2431
At CodeHarborHub, we believe that learning is more than just
2532
acquiring knowledge — it’s about transforming ideas into reality,
2633
creativity into innovation, and passion into purpose. Our mission
@@ -34,7 +41,9 @@ const About = () => {
3441
</section>
3542
{/* Our Mission */}
3643
<section className="py-20">
37-
<h2 className="text-4xl md:text-5xl text-center pb-6 font-bold">Our Mission</h2>
44+
<h2 className="text-4xl md:text-5xl text-center pb-8 font-bold">
45+
Our Mission
46+
</h2>
3847
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
3948
<div className="grid lg:grid-cols-2 gap-12 items-center">
4049
<div>

src/components/Aboutpage/sections/WhoWeAre.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const WhoWeAre = () => {
1212
viewport={{ once: true }}
1313
transition={{ duration: 0.8 }}
1414
>
15-
<h2 className="text-4xl md:text-5xl text-center font-bold text-gray-900 mb-8 dark:text-white">
15+
<h2 className="text-4xl md:text-5xl text-center font-bold text-gray-900 pb-8 dark:text-white">
1616
Who We Are
1717
</h2>
1818
<div className="max-w-7xl mx-auto px-6 grid lg:grid-cols-2 gap-16 items-center">

src/css/custom.css

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,41 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
/* ::-webkit-scrollbar {
6-
width: 5px;
7-
} */
85

9-
/* ::-webkit-scrollbar-track {
10-
box-shadow: inset 0 0 2px grey;
11-
} */
6+
@layer utilities {
7+
.bg-grid-slate-200\/50 {
8+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(226 232 240 / 0.5)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
9+
}
10+
11+
.bg-grid-slate-800\/50 {
12+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(30 41 59 / 0.5)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
13+
}
14+
15+
.text-balance {
16+
text-wrap: balance;
17+
}
18+
}
1219

13-
/* ::-webkit-scrollbar-thumb {
14-
background: var(--ifm-color-primary);
15-
border-radius: 3px;
16-
} */
1720

18-
/* ::-webkit-scrollbar-thumb:hover {
19-
background: var(--ifm-color-primary-dark);
21+
/* @layer components {
22+
.gradient-text {
23+
@apply bg-gradient-to-r from-blue-600 to-cyan-600 dark:from-blue-400 dark:to-cyan-400 bg-clip-text text-transparent;
24+
}
25+
26+
.card-hover {
27+
@apply transition-all duration-300 hover:shadow-lg hover:-translate-y-1;
28+
}
29+
30+
.btn-primary {
31+
@apply inline-flex items-center justify-center gap-2 px-6 py-3 bg-gradient-to-r from-blue-600 to-cyan-600 text-white font-semibold rounded-lg hover:shadow-lg hover:scale-105 transition-all;
32+
}
33+
34+
.btn-secondary {
35+
@apply inline-flex items-center justify-center gap-2 px-6 py-3 bg-white dark:bg-slate-900 border-2 border-slate-200 dark:border-slate-800 text-slate-900 dark:text-white font-semibold rounded-lg hover:border-blue-600 dark:hover:border-blue-400 hover:scale-105 transition-all;
36+
}
2037
} */
2138

39+
2240
:root {
2341
--ifm-color-primary: #2e93e2;
2442
--ifm-color-primary-dark: #29784c;

0 commit comments

Comments
 (0)