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>
115 lines
3.0 KiB
JavaScript
115 lines
3.0 KiB
JavaScript
/**
|
||
* 对齐线上最新站 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" },
|
||
],
|
||
},
|
||
];
|