From 9f3d00a0dbb95e34704e49828c1bf1afa3f16c6d Mon Sep 17 00:00:00 2001
From: ArraysID
Date: Sat, 10 May 2025 15:48:35 +0700
Subject: [PATCH] feat: update button components to use onClick for external
links and improve styling
---
.../(frontend)/_components/call-to-action.tsx | 2 +-
.../app/(frontend)/_components/community.tsx | 15 +++----
.../src/app/(frontend)/_components/header.tsx | 13 +++---
.../src/app/(frontend)/_components/hero.tsx | 34 +++++++-------
.../_components/learning-resources.tsx | 44 +++++++++++--------
5 files changed, 57 insertions(+), 51 deletions(-)
diff --git a/apps/landing/src/app/(frontend)/_components/call-to-action.tsx b/apps/landing/src/app/(frontend)/_components/call-to-action.tsx
index b6e36fb..e1f3957 100644
--- a/apps/landing/src/app/(frontend)/_components/call-to-action.tsx
+++ b/apps/landing/src/app/(frontend)/_components/call-to-action.tsx
@@ -51,7 +51,7 @@ export function CallToAction(props: CallToActionSection) {
{c.title}
{c.description}
-
-
-
+
diff --git a/apps/landing/src/app/(frontend)/_components/header.tsx b/apps/landing/src/app/(frontend)/_components/header.tsx
index b9a404f..a1285d9 100644
--- a/apps/landing/src/app/(frontend)/_components/header.tsx
+++ b/apps/landing/src/app/(frontend)/_components/header.tsx
@@ -82,11 +82,14 @@ export function Header() {
-
-
-
+
{/* Mobile Menu Button */}
@@ -110,16 +110,22 @@ export function LearningResources(props: LearningResourcesSection) {
{featured.description}