'init'
This commit is contained in:
100
app/data/cities.ts
Normal file
100
app/data/cities.ts
Normal file
@@ -0,0 +1,100 @@
|
||||
export interface City {
|
||||
id: number;
|
||||
name: string;
|
||||
country: string;
|
||||
countryEmoji: string;
|
||||
overallScore: number;
|
||||
costPerMonth: number;
|
||||
internetSpeed: number;
|
||||
safety: string;
|
||||
liked: string;
|
||||
temperature: number;
|
||||
humidity: number;
|
||||
nomadsNow: number;
|
||||
description: string;
|
||||
gradientFrom: string;
|
||||
gradientTo: string;
|
||||
icon: string;
|
||||
tags: string[];
|
||||
}
|
||||
|
||||
export const cities: City[] = [
|
||||
{
|
||||
id: 1,
|
||||
name: "大理",
|
||||
country: "中国",
|
||||
countryEmoji: "🇨🇳",
|
||||
overallScore: 4.5,
|
||||
costPerMonth: 3000,
|
||||
internetSpeed: 50,
|
||||
safety: "很好",
|
||||
liked: "极好",
|
||||
temperature: 16,
|
||||
humidity: 60,
|
||||
nomadsNow: 520,
|
||||
description: "苍山洱海,文艺气息浓厚的慢生活之城",
|
||||
gradientFrom: "#2563eb",
|
||||
gradientTo: "#0891b2",
|
||||
icon: "🏯",
|
||||
tags: ["热门", "便宜", "宜居", "山城", "文化", "友好社区"],
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "成都",
|
||||
country: "中国",
|
||||
countryEmoji: "🇨🇳",
|
||||
overallScore: 4.4,
|
||||
costPerMonth: 4500,
|
||||
internetSpeed: 80,
|
||||
safety: "很好",
|
||||
liked: "极好",
|
||||
temperature: 17,
|
||||
humidity: 75,
|
||||
nomadsNow: 680,
|
||||
description: "天府之国,美食与慢节奏的完美融合",
|
||||
gradientFrom: "#059669",
|
||||
gradientTo: "#65a30d",
|
||||
icon: "🐼",
|
||||
tags: ["热门", "美食", "都市", "新一线", "文化", "友好社区"],
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "深圳",
|
||||
country: "中国",
|
||||
countryEmoji: "🇨🇳",
|
||||
overallScore: 4.1,
|
||||
costPerMonth: 8000,
|
||||
internetSpeed: 120,
|
||||
safety: "极好",
|
||||
liked: "很好",
|
||||
temperature: 23,
|
||||
humidity: 70,
|
||||
nomadsNow: 850,
|
||||
description: "科技创新之城,创业者的乐园",
|
||||
gradientFrom: "#1d4ed8",
|
||||
gradientTo: "#0284c7",
|
||||
icon: "🌃",
|
||||
tags: ["热门", "高速网络", "都市", "一线城市", "安全"],
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: "杭州",
|
||||
country: "中国",
|
||||
countryEmoji: "🇨🇳",
|
||||
overallScore: 4.3,
|
||||
costPerMonth: 6500,
|
||||
internetSpeed: 90,
|
||||
safety: "很好",
|
||||
liked: "很好",
|
||||
temperature: 18,
|
||||
humidity: 68,
|
||||
nomadsNow: 420,
|
||||
description: "西湖美景,互联网与人文的融合",
|
||||
gradientFrom: "#7c3aed",
|
||||
gradientTo: "#ec4899",
|
||||
icon: "⛲",
|
||||
tags: ["热门", "都市", "新一线", "文化", "宜居"],
|
||||
},
|
||||
];
|
||||
|
||||
export const allTags = ["全部", "热门", "便宜", "都市", "文化", "宜居", "友好社区"];
|
||||
Reference in New Issue
Block a user