Enhancements to UI Components and Team Member Layout #50
3 changed files with 77 additions and 77 deletions
|
@ -1,11 +1,10 @@
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
|
|
||||||
import { cn } from "@/lib/utils"
|
import { cn } from "@/lib/utils"
|
||||||
|
|
||||||
const Card = React.forwardRef(({ className, ...props }, ref) => (
|
const Card = React.forwardRef(({ className, ...props }, ref) => (
|
||||||
<div
|
<div
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn("rounded-xl border bg-card text-card-foreground shadow", className)}
|
className={cn("rounded-xl border bg-card text-card-foreground shadow transition-transform duration-300 hover:shadow-lg hover:scale-105", className)}
|
||||||
{...props} />
|
{...props} />
|
||||||
))
|
))
|
||||||
Card.displayName = "Card"
|
Card.displayName = "Card"
|
||||||
|
|
116
data/team.js
116
data/team.js
|
@ -48,6 +48,36 @@ const teamData = [
|
||||||
"mastodon": "https://mas.to/@HRM_CA"
|
"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": {
|
"name": {
|
||||||
en: "AhmadReza Khatamian",
|
en: "AhmadReza Khatamian",
|
||||||
|
@ -78,35 +108,6 @@ const teamData = [
|
||||||
"donate": "https://daramet.com/prbarkati"
|
"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": {
|
"name": {
|
||||||
en: "Ali Mohammad Esmaeeli",
|
en: "Ali Mohammad Esmaeeli",
|
||||||
|
@ -124,34 +125,17 @@ const teamData = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": {
|
"name": {
|
||||||
en: "Ali Almasi",
|
en: "Mostafa Aminzar",
|
||||||
fa: "علی الماسی"
|
fa: "مصطفی امینزار"
|
||||||
},
|
},
|
||||||
"stack": {
|
"stack": {
|
||||||
en: "Web Developer",
|
en: "UI/UX Designer",
|
||||||
fa: "توسعهدهنده وب"
|
fa: "طراح UI/UX"
|
||||||
},
|
},
|
||||||
"image": "https://avatars.githubusercontent.com/AliAlmasi",
|
"image": "https://avatars.githubusercontent.com/MosiO1998",
|
||||||
"socials": {
|
"socials": {
|
||||||
"github": "https://github.com/AliAlmasi",
|
"github": "https://github.com/MosiO1998",
|
||||||
"donate": "https://daramet.com/alialmasi",
|
"donate": "https://daramet.com/mosio"
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -172,17 +156,18 @@ const teamData = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": {
|
"name": {
|
||||||
en: "Mahdi Gholamhosseini",
|
en: "Ali Almasi",
|
||||||
fa: "مهدی غلامحسینی"
|
fa: "علی الماسی"
|
||||||
},
|
},
|
||||||
"stack": {
|
"stack": {
|
||||||
en: "Web Developer",
|
en: "Web Developer",
|
||||||
fa: "توسعهدهنده وب"
|
fa: "توسعهدهنده وب"
|
||||||
},
|
},
|
||||||
"image": "https://avatars.githubusercontent.com/m6hdix",
|
"image": "https://avatars.githubusercontent.com/AliAlmasi",
|
||||||
"socials": {
|
"socials": {
|
||||||
"github": "https://github.com/m6hdix",
|
"github": "https://github.com/AliAlmasi",
|
||||||
"donate": "https://daramet.com/m6hdix"
|
"donate": "https://daramet.com/alialmasi",
|
||||||
|
"mastodon": "https://ieji.de/@almasi"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -215,6 +200,21 @@ const teamData = [
|
||||||
"twitter": "https://x.com/Bravemobin/",
|
"twitter": "https://x.com/Bravemobin/",
|
||||||
"donate": "https://daramet.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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,32 @@
|
||||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
|
||||||
import { useTranslation } from "@/utils/translation"
|
import { useTranslation } from "@/utils/translation"
|
||||||
import { Users, Book, MessageCircle, Code, ArrowLeftCircle, ArrowRightCircle } from 'lucide-react'
|
import { Users, Book, MessageCircle, Code, ArrowLeftCircle, ArrowRightCircle } from 'lucide-react'
|
||||||
import { Button } from "@/components/ui/button"
|
|
||||||
import Link from "next/link"
|
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 }) => (
|
const JoinCard = ({ icon: Icon, caption, link, text, url, arrow: Arrow }) => (
|
||||||
<Card className="animate-in fade-in zoom-in duration-300">
|
<Link href={url} className="block">
|
||||||
<CardHeader>
|
<Card className="animate-in fade-in zoom-in duration-300 cursor-pointer">
|
||||||
<div className="flex gap-4 justify-between">
|
<CardHeader>
|
||||||
<CardTitle>
|
<div className="flex gap-4 justify-between">
|
||||||
<Icon className="h-6 w-6 inline-block align-middle me-2" />
|
<CardTitle>
|
||||||
{caption}
|
<Icon className="h-6 w-6 inline-block align-middle me-2" />
|
||||||
</CardTitle>
|
{caption}
|
||||||
<Button asChild variant="outline" className="rounded-full">
|
</CardTitle>
|
||||||
<Link href={url}>{link} <Arrow size={16} /></Link>
|
<div className="flex items-center">
|
||||||
</Button>
|
<span>{link}</span>
|
||||||
</div>
|
<Arrow size={16} className="ml-2" />
|
||||||
</CardHeader>
|
</div>
|
||||||
<CardContent>{text}</CardContent>
|
</div>
|
||||||
</Card>
|
</CardHeader>
|
||||||
|
<CardContent>{text}</CardContent>
|
||||||
|
</Card>
|
||||||
|
</Link>
|
||||||
)
|
)
|
||||||
|
|
||||||
export default function Join() {
|
export default function Join() {
|
||||||
const { t, lang } = useTranslation();
|
const { t, lang } = useTranslation();
|
||||||
|
|
||||||
const arrow = lang == 'fa' ? ArrowLeftCircle : ArrowRightCircle
|
const arrow = lang === 'fa' ? ArrowLeftCircle : ArrowRightCircle
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="py-12 md:py-24 lg:py-32">
|
<main className="py-12 md:py-24 lg:py-32">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue