's'
This commit is contained in:
128
app/[locale]/dating/constants.ts
Normal file
128
app/[locale]/dating/constants.ts
Normal file
@@ -0,0 +1,128 @@
|
||||
import { avatarForIndex } from "@/app/data/avatars";
|
||||
import type { DatingProfile, MatchIntent } from "./types";
|
||||
|
||||
export const TAB_ORDER: MatchIntent[] = [
|
||||
"friends",
|
||||
"dating",
|
||||
"partner",
|
||||
"roommate",
|
||||
"cofounder",
|
||||
"explore",
|
||||
];
|
||||
|
||||
export const PROFILE_GRADIENTS = [
|
||||
"from-rose-400 via-pink-400 to-fuchsia-400",
|
||||
"from-amber-400 via-orange-400 to-red-400",
|
||||
"from-emerald-400 via-teal-400 to-cyan-400",
|
||||
"from-violet-400 via-purple-400 to-indigo-400",
|
||||
"from-blue-400 via-indigo-400 to-violet-500",
|
||||
"from-sky-400 via-cyan-400 to-teal-400",
|
||||
];
|
||||
|
||||
export const FALLBACK_PROFILES: DatingProfile[] = [
|
||||
{
|
||||
id: "fb-1",
|
||||
name: "林晓雨",
|
||||
age: 28,
|
||||
location: "大理",
|
||||
citySlug: "dali",
|
||||
gender: "女",
|
||||
single: "单身",
|
||||
lookingFor: ["friends", "dating", "explore"],
|
||||
tags: ["本科学历", "远程工作者", "数字游民", "咖啡爱好者"],
|
||||
bio: "数字游民三年,目前在云南大理远程做产品设计。喜欢爬山、摄影,周末常去洱海边发呆。",
|
||||
gradient: PROFILE_GRADIENTS[0],
|
||||
initial: "林",
|
||||
avatarColor: "bg-rose-500",
|
||||
photo: avatarForIndex(0),
|
||||
},
|
||||
{
|
||||
id: "fb-2",
|
||||
name: "陈浩然",
|
||||
age: 32,
|
||||
location: "成都",
|
||||
citySlug: "chengdu",
|
||||
gender: "男",
|
||||
single: "单身",
|
||||
lookingFor: ["friends", "partner", "cofounder"],
|
||||
tags: ["硕士学历", "独立开发者", "自由职业者", "素食主义"],
|
||||
bio: "在成都住了两年,做独立开发。喜欢冲浪和冥想,寻找志同道合的旅伴一起探索世界。",
|
||||
gradient: PROFILE_GRADIENTS[1],
|
||||
initial: "陈",
|
||||
avatarColor: "bg-amber-500",
|
||||
photo: avatarForIndex(4),
|
||||
},
|
||||
{
|
||||
id: "fb-3",
|
||||
name: "王思琪",
|
||||
age: 26,
|
||||
location: "深圳",
|
||||
citySlug: "shenzhen",
|
||||
gender: "女",
|
||||
single: "单身",
|
||||
lookingFor: ["dating", "roommate", "explore"],
|
||||
tags: ["本科学历", "内容创作者", "数字游民", "环保主义者"],
|
||||
bio: "自由撰稿人,在深圳写写画画。热爱瑜伽和冥想,相信慢生活才是真正的奢侈。",
|
||||
gradient: PROFILE_GRADIENTS[2],
|
||||
initial: "王",
|
||||
avatarColor: "bg-emerald-500",
|
||||
photo: avatarForIndex(2),
|
||||
},
|
||||
{
|
||||
id: "fb-4",
|
||||
name: "张明远",
|
||||
age: 30,
|
||||
location: "杭州",
|
||||
citySlug: "hangzhou",
|
||||
gender: "男",
|
||||
single: "单身",
|
||||
lookingFor: ["cofounder", "friends"],
|
||||
tags: ["MBA学历", "创业中", "自由职业者", "徒步爱好者"],
|
||||
bio: "正在杭州创业,做远程团队协作工具。周末喜欢去西湖徒步,偶尔品鉴龙井茶。",
|
||||
gradient: PROFILE_GRADIENTS[3],
|
||||
initial: "张",
|
||||
avatarColor: "bg-violet-500",
|
||||
photo: avatarForIndex(28),
|
||||
},
|
||||
{
|
||||
id: "fb-5",
|
||||
name: "李雅婷",
|
||||
age: 27,
|
||||
location: "厦门",
|
||||
citySlug: "xiamen",
|
||||
gender: "女",
|
||||
single: "单身",
|
||||
lookingFor: ["explore", "friends"],
|
||||
tags: ["本科学历", "UI设计师", "数字游民", "摄影爱好者"],
|
||||
bio: "在厦门远程做UI设计,业余时间探索闽南美食。喜欢用相机记录生活,寻找一起探店的朋友。",
|
||||
gradient: PROFILE_GRADIENTS[4],
|
||||
initial: "李",
|
||||
avatarColor: "bg-rose-500",
|
||||
photo: avatarForIndex(12),
|
||||
},
|
||||
{
|
||||
id: "fb-6",
|
||||
name: "刘子轩",
|
||||
age: 33,
|
||||
location: "昆明",
|
||||
citySlug: "kunming",
|
||||
gender: "男",
|
||||
single: "单身",
|
||||
lookingFor: ["roommate", "friends"],
|
||||
tags: ["博士学历", "数据科学家", "远程工作者", "户外爱好者"],
|
||||
bio: "在昆明远程工作,热爱户外运动。正在探索云南各地,希望认识更多志同道合的朋友。",
|
||||
gradient: PROFILE_GRADIENTS[5],
|
||||
initial: "刘",
|
||||
avatarColor: "bg-blue-500",
|
||||
photo: avatarForIndex(10),
|
||||
},
|
||||
];
|
||||
|
||||
export const BADGE_KEYS: Record<MatchIntent, string> = {
|
||||
friends: "badgeFriends",
|
||||
dating: "badgeDating",
|
||||
partner: "badgePartner",
|
||||
roommate: "badgeRoommate",
|
||||
cofounder: "badgeCofounder",
|
||||
explore: "badgeExplore",
|
||||
};
|
||||
Reference in New Issue
Block a user