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

@@ -1,6 +1,8 @@
/**
* 博客文章 Mock 数据
*/
import { avatarForIndex } from "./avatars";
export interface BlogPost {
id: string;
title: string;
@@ -26,7 +28,7 @@ export const blogPosts: BlogPost[] = [
excerptEn: "Based on 3000+ surveys, analyzing the lifestyle, work patterns and future trends of China's digital nomad community.",
coverImage: "https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=800",
author: "游牧中国",
authorAvatar: "https://api.dicebear.com/7.x/initials/svg?seed=NomadCNA",
authorAvatar: avatarForIndex(20),
date: "2024-12-20",
category: "研究报告",
categoryEn: "Research",
@@ -41,7 +43,7 @@ export const blogPosts: BlogPost[] = [
excerptEn: "A comprehensive comparison of digital nomad visa policies and application processes in Thailand, Indonesia, Vietnam, Malaysia and more.",
coverImage: "https://images.unsplash.com/photo-1528181304800-259b08848526?w=800",
author: "小明",
authorAvatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=xiaoming",
authorAvatar: avatarForIndex(9),
date: "2024-12-15",
category: "签证指南",
categoryEn: "Visa Guide",
@@ -56,7 +58,7 @@ export const blogPosts: BlogPost[] = [
excerptEn: "Why has Dali become the top destination for digital nomads? A comprehensive analysis of climate, cost of living and community vibe.",
coverImage: "https://images.unsplash.com/photo-1584551246679-0daf3d275d0f?w=800",
author: "小红",
authorAvatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=xiaohong",
authorAvatar: avatarForIndex(2),
date: "2024-12-10",
category: "城市攻略",
categoryEn: "City Guide",
@@ -71,7 +73,7 @@ export const blogPosts: BlogPost[] = [
excerptEn: "From time management to self-motivation, sharing common challenges and practical solutions in remote work.",
coverImage: "https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=800",
author: "老王",
authorAvatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=laowang",
authorAvatar: avatarForIndex(21),
date: "2024-12-05",
category: "经验分享",
categoryEn: "Experience",
@@ -86,7 +88,7 @@ export const blogPosts: BlogPost[] = [
excerptEn: "In the era of social media, how can digital nomads build their personal brand to attract more opportunities and resources?",
coverImage: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800",
author: "阿花",
authorAvatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=ahua",
authorAvatar: avatarForIndex(12),
date: "2024-11-28",
category: "职业发展",
categoryEn: "Career",
@@ -101,7 +103,7 @@ export const blogPosts: BlogPost[] = [
excerptEn: "Understanding tax residency definitions in different countries and how to plan your tax status rationally.",
coverImage: "https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=800",
author: "李老师",
authorAvatar: "https://api.dicebear.com/7.x/avataaars/svg?seed=lishilaoshi",
authorAvatar: avatarForIndex(14),
date: "2024-11-20",
category: "财务管理",
categoryEn: "Finance",