aifeilong 9195a0a899 Redesign international public site around People/News/Research/Cooperation.
Use sliced assets under public/assets, shared hero and hex section backgrounds, and ignore the local images/ design source folder.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 17:52:15 +08:00

115 lines
3.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 对齐线上最新站 www.star-guidelines.cn 顶栏导航。
*/
export const TOP_NAV = [
{ key: "home", to: "/index" },
{
key: "ranking",
to: "/guideRanking",
children: [
{ key: "chinaGuideRanking", to: "/guideRanking?type=1" },
{ key: "chinaConsensusRanking", to: "/guideRanking?type=2" },
{ key: "tcmGuideRanking", to: "/guideRanking?type=1&scope=tcm" },
{ key: "tcmConsensusRanking", to: "/guideRanking?type=2&scope=tcm" },
{ key: "orgRanking", to: "/organizationRanking" },
{ key: "magazineRanking", to: "/magazineRanking" },
],
},
{ key: "database", to: "/guidelineAndConsensus" },
{ key: "organization", to: "/organization" },
{ key: "workgroup", to: "/specialist" },
{
key: "about",
to: "/about",
children: [
{ key: "about", to: "/about" },
{ key: "statement", to: "/statement" },
{ key: "contact", to: "/relation" },
],
},
];
export const FOOTER_NAV = [
{
titleKey: "about",
links: [
{ key: "about", to: "/about" },
{ key: "statement", to: "/statement" },
{ key: "contact", to: "/relation" },
],
},
{
titleKey: "ranking",
links: [
{ key: "chinaGuideRanking", to: "/guideRanking?type=1" },
{ key: "orgRanking", to: "/organizationRanking" },
{ key: "magazineRanking", to: "/magazineRanking" },
],
},
{
titleKey: "database",
links: [
{ key: "database", to: "/guidelineAndConsensus" },
{ key: "organization", to: "/organization" },
{ key: "workgroup", to: "/specialist" },
{ key: "news", to: "/newsList" },
],
},
];
/** 线上 COS 轮播原图(已下载到本地) */
export const FALLBACK_BANNERS = [
{
id: "live-1",
image_url: "/assets/img/carousel/jishitang.png",
link_url: "/about",
title: "积石堂",
},
{
id: "live-2",
image_url: "/assets/img/carousel/yuanshi.png",
link_url: "/about",
title: "院士",
},
{
id: "live-3",
image_url: "/assets/img/carousel/yuzhong.jpg",
link_url: "/about",
title: "榆中",
},
{
id: "live-4",
image_url: "/assets/img/carousel/landa.jpg",
link_url: "/about",
title: "兰大",
},
];
/** 国际站改版:单层顶栏高度 */
export const HEADER_OFFSET = 72;
/** 国际站一级导航(People / News / Research / Cooperation) */
export const INTL_TOP_NAV = [
{
id: "people",
label: "People",
to: "/people",
children: [
{ id: "mission", label: "Mission & Vision", to: "/people" },
{ id: "committees", label: "Committees", to: "/people#committees" },
{ id: "team", label: "Team Members", to: "/specialist" },
],
},
{ id: "news", label: "News", to: "/newsList" },
{ id: "research", label: "Research", to: "/research" },
{
id: "cooperation",
label: "Cooperation",
to: "/cooperation",
children: [
{ id: "join", label: "Join a committee", to: "/cooperation/join" },
{ id: "contact", label: "Talk to us", to: "/relation" },
],
},
];