Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
21 changes: 14 additions & 7 deletions frontend/src/app/community/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,20 @@ export default function CommunityPage() {
<SecondaryCard title="Ways to Engage">
<div className="grid gap-6 md:grid-cols-2">
{engagementWays.map((way) => (
<div key={way.title} className="rounded-lg bg-gray-200 p-5 dark:bg-gray-700">
<h3 className="mb-2 text-lg font-semibold text-gray-900 dark:text-gray-100">
{way.title}
</h3>
<p className="text-sm text-gray-600 dark:text-gray-400">{way.description}</p>
</div>
))}
<Link
key={way.title}
href={way.href}
target={way.href.startsWith('http') ? '_blank' : undefined}
rel={way.href.startsWith('http') ? 'noopener noreferrer' : undefined}
className="group rounded-lg bg-gray-200 p-5 transition-all duration-300 hover:bg-blue-100 dark:bg-gray-700 dark:hover:bg-gray-600"
>
<h3 className="mb-2 flex items-center gap-2 text-lg font-semibold text-gray-900 dark:text-gray-100">
{way.title}
<FaChevronRight className="h-3 w-3 transform transition-transform group-hover:translate-x-1" />
</h3>
<p className="text-sm text-gray-600 dark:text-gray-400">{way.description}</p>
</Link>
))}
</div>
</SecondaryCard>

Expand Down
4 changes: 4 additions & 0 deletions frontend/src/utils/communityData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,25 @@ export const engagementWays = [
title: 'Join Local Chapters',
description:
'Find and connect with OWASP chapters in your area to participate in local events and meetups.',
href: '/chapters',
},
{
title: 'Connect with Members',
description:
'Network with security professionals, developers, and enthusiasts from around the world.',
href: '/members',
},
{
title: 'Contribute to Projects',
description:
'Share your expertise by contributing to open-source security projects and initiatives.',
href: '/contribute',
},
{
title: 'Participate in Discussions',
description:
'Join conversations, share knowledge, and learn from the global cybersecurity community.',
href: 'https://owasp.org/slack/invite',
},
]

Expand Down