Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions frontend/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,12 @@
.hover\:pause:hover .animate-marquee-vertical {
animation-play-state: paused;
}

/* Hide scrollbar for horizontal scroll containers */
.scrollbar-hide {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.scrollbar-hide::-webkit-scrollbar {
display: none; /* Chrome, Safari and Opera */
}
47 changes: 33 additions & 14 deletions frontend/components/about/CommunitySection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,46 @@ export function CommunitySection() {
</div>

<div className="max-w-7xl mx-auto px-4 text-center">
<Link
href="https://github.com/DevLoversTeam/devlovers.net/discussions"
<div className="flex flex-col items-center gap-3 md:hidden">
<span className="text-sm text-gray-600 dark:text-gray-400 font-medium">
Have a success story or feature request?
</span>
<Link
href="https://github.com/DevLoversTeam/devlovers.net/discussions"
target="_blank"
className="group inline-flex items-center gap-2 px-5 py-3 rounded-full
bg-gray-900 dark:bg-white text-white dark:text-black
text-xs font-bold uppercase tracking-wider
transition-all duration-300
hover:bg-[#1e5eff] dark:hover:bg-[#ff2d55]
hover:text-white dark:hover:text-white
hover:scale-[1.02]"
>
<Github size={14} />
Join Discussion
<ArrowRight size={12} className="group-hover:translate-x-1 transition-transform" />
</Link>
</div>

<Link
href="https://github.com/DevLoversTeam/devlovers.net/discussions"
target="_blank"
className="group relative inline-flex flex-col md:flex-row items-center justify-center gap-4 p-1.5 pl-6 pr-1.5 rounded-full
className="group relative hidden md:inline-flex items-center justify-center gap-4 p-1.5 pl-6 pr-1.5 rounded-full
bg-white dark:bg-white/5 border border-gray-200 dark:border-white/10
transition-all duration-300 ease-out
hover:scale-[1.02]
hover:scale-[1.02]
hover:border-[#1e5eff]/50 dark:hover:border-[#ff2d55]/50
hover:shadow-[0_0_30px_-5px_rgba(30,94,255,0.15)] dark:hover:shadow-[0_0_30px_-5px_rgba(255,45,85,0.15)]"
>
<div className="flex flex-col items-start md:items-center">
<span className="text-sm text-gray-700 dark:text-gray-200 font-medium">
Have a success story or feature request?
</span>
</div>

<span className="flex items-center gap-2 px-5 py-2.5 rounded-full
bg-gray-900 dark:bg-white text-white dark:text-black
text-xs font-bold uppercase tracking-wider
<span className="text-sm text-gray-700 dark:text-gray-200 font-medium">
Have a success story or feature request?
</span>

<span className="flex items-center gap-2 px-5 py-2.5 rounded-full
bg-gray-900 dark:bg-white text-white dark:text-black
text-xs font-bold uppercase tracking-wider
transition-all duration-300
group-hover:bg-[#1e5eff] dark:group-hover:bg-[#ff2d55]
group-hover:bg-[#1e5eff] dark:group-hover:bg-[#ff2d55]
group-hover:text-white dark:group-hover:text-white"
>
<Github size={14} />
Expand Down
67 changes: 34 additions & 33 deletions frontend/components/about/FeaturesSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,39 +128,40 @@ export function FeaturesSection() {
</Link>
</div>

<div className="flex flex-wrap justify-center gap-2 mb-8 p-1.5 transition-all
rounded-2xl md:rounded-full
border border-gray-200 dark:border-white/10
bg-white dark:bg-white/5 backdrop-blur-md shadow-sm dark:shadow-none"
>
{features.map((feature) => {
const isActive = activeTab === feature.id
return (
<button
key={feature.id}
onClick={() => setActiveTab(feature.id)}
className={`relative px-5 py-2.5 rounded-full text-sm font-medium transition-all duration-300 ${
isActive
? "text-white"
: "text-gray-600 dark:text-gray-400 hover:text-black dark:hover:text-white hover:bg-gray-100 dark:hover:bg-white/10"
}`}
>
{isActive && (
<motion.div
layoutId="activeTabBackground"
className="absolute inset-0 bg-[#1e5eff] dark:bg-[#ff2d55] shadow-lg shadow-[#1e5eff]/25 dark:shadow-[#ff2d55]/25"
initial={false}
transition={{ type: "spring", bounce: 0.2, duration: 0.6 }}
style={{ borderRadius: 9999 }}
/>
)}
<span className="relative z-10 flex items-center gap-2">
<feature.icon size={16} />
{t(`${feature.id}.title`)}
</span>
</button>
)
})}
<div className="flex justify-center mb-8">
<div className="inline-flex gap-1 md:gap-2 p-1.5 rounded-full
border border-gray-200 dark:border-white/10
bg-white dark:bg-white/5 backdrop-blur-md shadow-sm dark:shadow-none"
>
{features.map((feature) => {
const isActive = activeTab === feature.id
return (
<button
key={feature.id}
onClick={() => setActiveTab(feature.id)}
className={`relative p-2.5 md:px-5 md:py-2.5 rounded-full text-sm font-medium transition-all duration-300 ${
isActive
? "text-white"
: "text-gray-600 dark:text-gray-400 hover:text-black dark:hover:text-white hover:bg-gray-100 dark:hover:bg-white/10"
}`}
>
{isActive && (
<motion.div
layoutId="activeTabBackground"
className="absolute inset-0 bg-[#1e5eff] dark:bg-[#ff2d55] shadow-lg shadow-[#1e5eff]/25 dark:shadow-[#ff2d55]/25"
initial={false}
transition={{ type: "spring", bounce: 0.2, duration: 0.6 }}
style={{ borderRadius: 9999 }}
/>
)}
<span className="relative z-10 flex items-center gap-2">
<feature.icon size={18} className="md:w-4 md:h-4" />
<span className="hidden md:inline">{t(`${feature.id}.title`)}</span>
</span>
</button>
)
})}
</div>
</div>

<div className="max-w-2xl mx-auto text-center relative h-20 w-full overflow-hidden">
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/about/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function HeroSection({ stats }: { stats?: PlatformStats }) {
}

return (
<DynamicGridBackground className="flex min-h-[calc(100svh)] items-center justify-center bg-gray-50 transition-colors duration-300 dark:bg-transparent pt-20 pb-10">
<DynamicGridBackground showStaticGrid className="flex min-h-[calc(100svh)] items-center justify-center bg-gray-50 transition-colors duration-300 dark:bg-transparent pt-20 pb-10">
<div className="relative z-10 grid w-full max-w-[1600px] grid-cols-1 items-center px-4 sm:px-6 lg:px-8 xl:grid-cols-12 xl:gap-8 h-full">

<div className="hidden h-full flex-col justify-center gap-24 xl:col-span-3 xl:flex">
Expand Down
Loading