From e1be445867dc85380d19ad0480b0a35eb9beef4b Mon Sep 17 00:00:00 2001 From: ERFouX Date: Fri, 24 Jan 2025 13:40:45 +0330 Subject: [PATCH 1/3] Enhance Card component with hover effects and smooth transitions --- components/ui/card.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ui/card.jsx b/components/ui/card.jsx index 2dca6b3..f81791b 100644 --- a/components/ui/card.jsx +++ b/components/ui/card.jsx @@ -1,11 +1,10 @@ import * as React from "react" - import { cn } from "@/lib/utils" const Card = React.forwardRef(({ className, ...props }, ref) => (
)) Card.displayName = "Card" -- 2.47.2 From 430793fe96da89561315c9021d0a59f873fa1cbd Mon Sep 17 00:00:00 2001 From: ERFouX Date: Fri, 24 Jan 2025 13:40:56 +0330 Subject: [PATCH 2/3] Update the stack of a team member and rearrange the layout of team members --- data/team.js | 116 +++++++++++++++++++++++++-------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/data/team.js b/data/team.js index d859a47..c94c647 100644 --- a/data/team.js +++ b/data/team.js @@ -48,6 +48,36 @@ const teamData = [ "mastodon": "https://mas.to/@HRM_CA" } }, + { + "name": { + en: "Erfan Arabi", + fa: "عرفان عربی" + }, + "stack": { + en: "Team Leader", + fa: "راهبر تیم" + }, + "image": "https://avatars.githubusercontent.com/ERFouX", + "socials": { + "github": "https://github.com/ERFouX", + "mastodon": "https://mas.to/@ERFouX", + "donate": "https://daramet.com/ERFouX" + } + }, + { + "name": { + en: "Pouya Madankar", + fa: "پویا مدنکار" + }, + "stack": { + en: "Frontend Developer", + fa: "توسعه‌دهنده فرانت‌اند" + }, + "image": "https://avatars.githubusercontent.com/pouyaMK", + "socials": { + "github": "https://github.com/pouyaMK" + } + }, { "name": { en: "AhmadReza Khatamian", @@ -78,35 +108,6 @@ const teamData = [ "donate": "https://daramet.com/prbarkati" } }, - { - "name": { - en: "Pouya Madankar", - fa: "پویا مدنکار" - }, - "stack": { - en: "Frontend Developer", - fa: "توسعه‌دهنده فرانت‌اند" - }, - "image": "https://avatars.githubusercontent.com/pouyaMK", - "socials": { - "github": "https://github.com/pouyaMK" - } - }, - { - "name": { - en: "Mostafa Aminzar", - fa: "مصطفی امین‌زار" - }, - "stack": { - en: "UI/UX Designer", - fa: "طراح UI/UX" - }, - "image": "https://avatars.githubusercontent.com/MosiO1998", - "socials": { - "github": "https://github.com/MosiO1998", - "donate": "https://daramet.com/mosio" - } - }, { "name": { en: "Ali Mohammad Esmaeeli", @@ -124,34 +125,17 @@ const teamData = [ }, { "name": { - en: "Ali Almasi", - fa: "علی الماسی" + en: "Mostafa Aminzar", + fa: "مصطفی امین‌زار" }, "stack": { - en: "Web Developer", - fa: "توسعه‌دهنده وب" + en: "UI/UX Designer", + fa: "طراح UI/UX" }, - "image": "https://avatars.githubusercontent.com/AliAlmasi", + "image": "https://avatars.githubusercontent.com/MosiO1998", "socials": { - "github": "https://github.com/AliAlmasi", - "donate": "https://daramet.com/alialmasi", - "mastodon": "https://ieji.de/@almasi" - } - }, - { - "name": { - en: "Erfan Arabi", - fa: "عرفان عربی" - }, - "stack": { - en: "Contributer", - fa: "مشارکت کننده" - }, - "image": "https://avatars.githubusercontent.com/ERFouX", - "socials": { - "github": "https://github.com/ERFouX", - "mastodon": "https://mas.to/@ERFouX", - "donate": "https://daramet.com/ERFouX" + "github": "https://github.com/MosiO1998", + "donate": "https://daramet.com/mosio" } }, { @@ -172,17 +156,18 @@ const teamData = [ }, { "name": { - en: "Mahdi Gholamhosseini", - fa: "مهدی غلام‌حسینی" + en: "Ali Almasi", + fa: "علی الماسی" }, "stack": { en: "Web Developer", fa: "توسعه‌دهنده وب" }, - "image": "https://avatars.githubusercontent.com/m6hdix", + "image": "https://avatars.githubusercontent.com/AliAlmasi", "socials": { - "github": "https://github.com/m6hdix", - "donate": "https://daramet.com/m6hdix" + "github": "https://github.com/AliAlmasi", + "donate": "https://daramet.com/alialmasi", + "mastodon": "https://ieji.de/@almasi" } }, { @@ -215,6 +200,21 @@ const teamData = [ "twitter": "https://x.com/Bravemobin/", "donate": "https://daramet.com/bravemobin/" } + }, + { + "name": { + en: "Mahdi Gholamhosseini", + fa: "مهدی غلام‌حسینی" + }, + "stack": { + en: "Web Developer", + fa: "توسعه‌دهنده وب" + }, + "image": "https://avatars.githubusercontent.com/m6hdix", + "socials": { + "github": "https://github.com/m6hdix", + "donate": "https://daramet.com/m6hdix" + } } ] -- 2.47.2 From 839064dc6ae2f1ec7ee7334c3f391f6427029407 Mon Sep 17 00:00:00 2001 From: ERFouX Date: Fri, 24 Jan 2025 13:42:05 +0330 Subject: [PATCH 3/3] Make JoinCard clickable by wrapping the entire card in a Link component --- pages/join.jsx | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/pages/join.jsx b/pages/join.jsx index c5b4514..9c630f9 100644 --- a/pages/join.jsx +++ b/pages/join.jsx @@ -1,31 +1,32 @@ import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { useTranslation } from "@/utils/translation" import { Users, Book, MessageCircle, Code, ArrowLeftCircle, ArrowRightCircle } from 'lucide-react' -import { Button } from "@/components/ui/button" import Link from "next/link" -import { SiBluesky, SiDiscord, SiMastodon, SiTelegram, SiX } from "@icons-pack/react-simple-icons"; const JoinCard = ({ icon: Icon, caption, link, text, url, arrow: Arrow }) => ( - - -
- - - {caption} - - -
-
- {text} -
+ + + +
+ + + {caption} + +
+ {link} + +
+
+
+ {text} +
+ ) export default function Join() { const { t, lang } = useTranslation(); - const arrow = lang == 'fa' ? ArrowLeftCircle : ArrowRightCircle + const arrow = lang === 'fa' ? ArrowLeftCircle : ArrowRightCircle return (
-- 2.47.2