This commit is contained in:
root
2026-06-08 10:02:16 +08:00
parent 934b9a4a23
commit b65908e328
24 changed files with 1216 additions and 93 deletions

View File

@@ -16,6 +16,7 @@ import {
WEB_CHAT_PROVIDER_LABEL,
} from "@/app/lib/meetups";
import { mediaUrl } from "@/app/lib/media";
import { avatarForIndex } from "@/app/data/avatars";
interface Attendee {
name: string;
@@ -77,7 +78,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 36,
gradientFrom: "#0f766e",
gradientTo: "#2563eb",
attendees: [{ name: "林晓", photo: "https://i.pravatar.cc/150?img=1" }, { name: "张明", photo: "https://i.pravatar.cc/150?img=2" }, { name: "陈静", photo: "https://i.pravatar.cc/150?img=3" }],
attendees: [{ name: "林晓", photo: avatarForIndex(0) }, { name: "张明", photo: avatarForIndex(4) }, { name: "陈静", photo: avatarForIndex(2) }],
isUpcoming: true,
mode: "online",
accessLevel: "members",
@@ -101,7 +102,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 12,
gradientFrom: "#3b82f6",
gradientTo: "#4f46e5",
attendees: [{ name: "林晓", photo: "https://i.pravatar.cc/150?img=4" }, { name: "张明", photo: "https://i.pravatar.cc/150?img=5" }, { name: "陈静", photo: "https://i.pravatar.cc/150?img=6" }],
attendees: [{ name: "林晓", photo: avatarForIndex(0) }, { name: "张明", photo: avatarForIndex(4) }, { name: "陈静", photo: avatarForIndex(2) }],
isUpcoming: true,
mode: "hybrid",
accessLevel: "vip",
@@ -125,7 +126,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 9,
gradientFrom: "#22c55e",
gradientTo: "#10b981",
attendees: [{ name: "杨帆", photo: "https://i.pravatar.cc/150?img=7" }, { name: "赵磊", photo: "https://i.pravatar.cc/150?img=8" }],
attendees: [{ name: "杨帆", photo: avatarForIndex(28) }, { name: "赵磊", photo: avatarForIndex(10) }],
isUpcoming: true,
mode: "offline",
accessLevel: "public",
@@ -149,7 +150,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 15,
gradientFrom: "#ff4d4f",
gradientTo: "#ff7a45",
attendees: [{ name: "李娜", photo: "https://i.pravatar.cc/150?img=10" }, { name: "王强", photo: "https://i.pravatar.cc/150?img=11" }, { name: "刘洋", photo: "https://i.pravatar.cc/150?img=12" }],
attendees: [{ name: "李娜", photo: avatarForIndex(12) }, { name: "王强", photo: avatarForIndex(18) }, { name: "刘洋", photo: avatarForIndex(30) }],
isUpcoming: true,
mode: "hybrid",
accessLevel: "members",
@@ -173,7 +174,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 54,
gradientFrom: "#7c3aed",
gradientTo: "#0d9488",
attendees: [{ name: "许婷", photo: "https://i.pravatar.cc/150?img=16" }, { name: "马超", photo: "https://i.pravatar.cc/150?img=17" }, { name: "罗敏", photo: "https://i.pravatar.cc/150?img=18" }],
attendees: [{ name: "许婷", photo: avatarForIndex(6) }, { name: "马超", photo: avatarForIndex(17) }, { name: "罗敏", photo: avatarForIndex(15) }],
isUpcoming: true,
mode: "online",
accessLevel: "public",
@@ -197,7 +198,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 11,
gradientFrom: "#06b6d4",
gradientTo: "#0d9488",
attendees: [{ name: "周杰", photo: "https://i.pravatar.cc/150?img=22" }, { name: "吴芳", photo: "https://i.pravatar.cc/150?img=23" }],
attendees: [{ name: "周杰", photo: avatarForIndex(10) }, { name: "吴芳", photo: avatarForIndex(24) }],
isUpcoming: true,
mode: "offline",
accessLevel: "public",
@@ -221,7 +222,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 7,
gradientFrom: "#0ea5e9",
gradientTo: "#0284c7",
attendees: [{ name: "赵磊", photo: "https://i.pravatar.cc/150?img=25" }, { name: "黄薇", photo: "https://i.pravatar.cc/150?img=26" }],
attendees: [{ name: "赵磊", photo: avatarForIndex(10) }, { name: "黄薇", photo: avatarForIndex(22) }],
isUpcoming: true,
mode: "offline",
accessLevel: "public",
@@ -245,7 +246,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 14,
gradientFrom: "#6366f1",
gradientTo: "#4f46e5",
attendees: [{ name: "陈思", photo: "https://i.pravatar.cc/150?img=31" }, { name: "郑凯", photo: "https://i.pravatar.cc/150?img=32" }],
attendees: [{ name: "陈思", photo: avatarForIndex(15) }, { name: "郑凯", photo: avatarForIndex(29) }],
isUpcoming: true,
mode: "hybrid",
accessLevel: "hosts",
@@ -269,7 +270,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 6,
gradientFrom: "#84cc16",
gradientTo: "#65a30d",
attendees: [{ name: "杨帆", photo: "https://i.pravatar.cc/150?img=42" }],
attendees: [{ name: "杨帆", photo: avatarForIndex(28) }],
isUpcoming: false,
mode: "offline",
accessLevel: "public",
@@ -293,7 +294,7 @@ const allMeetups: Meetup[] = [
rsvpCount: 10,
gradientFrom: "#dc2626",
gradientTo: "#b91c1c",
attendees: [{ name: "黄薇", photo: "https://i.pravatar.cc/150?img=44" }, { name: "孙浩", photo: "https://i.pravatar.cc/150?img=45" }],
attendees: [{ name: "黄薇", photo: avatarForIndex(22) }, { name: "孙浩", photo: avatarForIndex(18) }],
isUpcoming: false,
mode: "hybrid",
accessLevel: "members",