Files

135 lines
5.3 KiB
JSON

{
"site": {
"brand": "X",
"pageTitle": "X · 正在发生",
"description": "一个 X 风格的中文社交时间线示例页面。",
"timelineTitle": "首页",
"searchPlaceholder": "搜索",
"tabs": ["为你推荐", "正在关注"],
"currentUser": {
"name": "林小满",
"handle": "@linxiaoman",
"initial": "林",
"colors": ["#5662f6", "#9f45d8"]
}
},
"navigation": {
"primary": [
{"label": "首页", "icon": "i-home", "href": "#mainFeed"},
{"label": "探索", "icon": "i-search", "href": "#explore"},
{"label": "通知", "icon": "i-bell", "href": "#notifications", "badge": 4},
{"label": "私信", "icon": "i-message", "href": "#messages"},
{"label": "圈子", "icon": "i-users", "href": "#circle"},
{"label": "书签", "icon": "i-bookmark", "href": "#bookmarks"},
{"label": "个人资料", "icon": "i-user", "href": "#profile"},
{"label": "更多", "icon": "i-more", "href": "#more"}
],
"postLabel": "发布",
"mobile": [
{"label": "首页", "icon": "i-home"},
{"label": "探索", "icon": "i-search"},
{"label": "通知", "icon": "i-bell"},
{"label": "私信", "icon": "i-message"},
{"label": "书签", "icon": "i-bookmark"}
],
"footerLinks": [
{"label": "服务条款", "href": "#terms"},
{"label": "隐私政策", "href": "#privacy"},
{"label": "Cookie", "href": "#cookies"},
{"label": "无障碍", "href": "#accessibility"}
],
"copyright": "© 2026 X"
},
"composer": {
"audience": "所有人",
"placeholder": "有什么新鲜事?",
"replyPermission": "所有人都可以回复",
"draftsLabel": "草稿",
"maxLength": 280
},
"posts": {
"replyUI": {
"defaultSort": "hot",
"initialVisible": 10,
"pageSize": 10,
"hotLabel": "热门",
"latestLabel": "最新",
"showMoreLabel": "查看更多",
"showAllLabel": "查看全部"
},
"items": [
{
"id": "city-sky",
"author": "许知夏",
"handle": "@summerxu",
"initial": "许",
"colors": ["#15a88b", "#2e88cc"],
"verified": true,
"time": "32 分钟",
"text": "今天的天空像一封刚拆开的蓝色情书。",
"tags": ["城市漫步"],
"media": {"type": "skyline", "caption": "南浦大桥 · 06:42", "alt": "蓝色天空与城市大桥的抽象插画"},
"metrics": {"replies": 18, "reposts": 34, "likes": 276, "views": 84000}
},
{
"id": "design-restraint",
"author": "陈默",
"handle": "@modesign",
"initial": "陈",
"colors": ["#0f7d78", "#51b35e"],
"verified": false,
"time": "1 小时",
"text": "设计并不是不断加东西。更多时候,是在所有“还可以再做一点”的时刻,知道什么时候停下。",
"tags": [],
"media": {"type": "quote", "author": "周野", "handle": "@zhouye", "initial": "周", "colors": ["#f97316", "#db2777"], "time": "昨天", "text": "复杂很容易,克制才需要勇气。"},
"metrics": {"replies": 12, "reposts": 91, "likes": 538, "views": 120000}
},
{
"id": "bookstore-map",
"author": "光合计划",
"handle": "@photosynthesis",
"initial": "光",
"colors": ["#ff8a37", "#d93f7b"],
"verified": true,
"time": "3 小时",
"text": "我们把城市里 12 家小书店画成了一张散步地图。这个周末,选一条从没走过的街,去遇见一本意料之外的书吧。",
"tags": ["独立书店", "城市阅读"],
"media": {"type": "map", "caption": "独立书店散步地图", "alt": "城市书店散步地图抽象插画"},
"metrics": {"replies": 46, "reposts": 182, "likes": 902, "views": 240000}
},
{
"id": "commute-playlist",
"author": "宋可心",
"handle": "@kexin",
"initial": "宋",
"colors": ["#8b5cf6", "#3b82f6"],
"verified": false,
"time": "5 小时",
"text": "下班路上的随机播放,总会精准地挑中你今天最需要听到的那一句。你们最近单曲循环的是哪首?",
"tags": ["通勤歌单"],
"metrics": {"replies": 68, "reposts": 21, "likes": 309, "views": 56000}
}
]
},
"trends": {
"title": "正在发生",
"showMoreLabel": "显示更多",
"items": [
{"category": "中国 · 热门", "title": "#秋日城市漫步", "count": "2.8 万条动态", "href": "#trend1"},
{"category": "科技 · 热门", "title": "AI 产品设计", "count": "1.7 万条动态", "href": "#trend2"},
{"category": "文化 · 热门", "title": "独立书店地图", "count": "8,942 条动态", "href": "#trend3"},
{"category": "音乐 · 趋势", "title": "通勤歌单", "count": "5,610 条动态", "href": "#trend4"}
]
},
"recommendations": {
"title": "推荐关注",
"showMoreLabel": "显示更多",
"items": [
{"name": "周野", "handle": "@zhouye", "initial": "周", "colors": ["#f97316", "#db2777"]},
{"name": "顾念", "handle": "@gunian", "initial": "顾", "colors": ["#0ea5e9", "#10b981"]},
{"name": "理想生活研究所", "handle": "@betterlife", "initial": "理", "colors": ["#6366f1", "#ec4899"]}
]
}
}