删除福利应用
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
(globalThis["TURBOPACK_CHUNK_LISTS"] || (globalThis["TURBOPACK_CHUNK_LISTS"] = [])).push({
|
||||
script: typeof document === "object" ? document.currentScript : undefined,
|
||||
chunks: ["static/chunks/src_05zrynp5ca6j-._.js","static/chunks/1cpi_next_0bj3ntwo4jqkq._.js","static/chunks/18nd_tailwind-variants_dist_1n2pr2lt30jew._.js","static/chunks/0i2c_react-aria_dist_private_09gosis2h5cil._.js","static/chunks/14sg_@heroui_react_dist_12ffc8h67kl1w._.js","static/chunks/1-s6_react-aria-components_dist_private_1pxbg48umv9o7._.js","static/chunks/04a7_tailwindcss_dist_lib_1g629h2ghraqo.js","static/chunks/04a7_tailwindcss_dist_lib_mjs_0b0_5l7hdq7eb._.js","static/chunks/04a7_tailwindcss_dist_0futf_k9rucgf._.js","static/chunks/node_modules__pnpm_1nolhze9spw29._.js","static/chunks/_0potb313406qi._.css","static/chunks/src_components_common_EmptyState_tsx_06zmq8sncx29c._.js"],
|
||||
source: "entry"
|
||||
});
|
||||
@@ -1057,7 +1057,7 @@ function StartupGridDialog(param) {
|
||||
href: href,
|
||||
target: "_blank",
|
||||
rel: "noopener noreferrer",
|
||||
"aria-label": `${title},浏览福利应用`,
|
||||
"aria-label": `${title},查看推广`,
|
||||
children: inner
|
||||
}, item.id || `${index}-${item.images}`, false, {
|
||||
fileName: "[project]/src/components/common/StartupAdDialog.tsx",
|
||||
@@ -4290,12 +4290,6 @@ const NAV_ITEMS = [
|
||||
label: "回家的路",
|
||||
page: "home-road",
|
||||
exact: false
|
||||
},
|
||||
{
|
||||
href: "/apps",
|
||||
label: "福利应用",
|
||||
page: "apps",
|
||||
exact: false
|
||||
}
|
||||
];
|
||||
function activeNavKey(pathname) {
|
||||
@@ -4358,11 +4352,6 @@ const CHANNELS = {
|
||||
title: "回家的路",
|
||||
kicker: "STAY CONNECTED",
|
||||
subtitle: "收藏访问入口,下次回来更方便。"
|
||||
},
|
||||
apps: {
|
||||
title: "福利应用",
|
||||
kicker: "APPLICATIONS",
|
||||
subtitle: "应用与网站推荐,集中查看。"
|
||||
}
|
||||
};
|
||||
const SORTS = [
|
||||
@@ -5183,10 +5172,17 @@ function isTranslationCurrent(pathname, urlValue) {
|
||||
if (href === "/") return pathname === "/";
|
||||
return pathname === href || pathname.startsWith(`${href}/`);
|
||||
}
|
||||
/** 已下线的福利应用页,后台导航配置了也不展示。 */ const REMOVED_NAV_HREF = /^\/apps(?:[/?#]|$)/;
|
||||
function usableTranslationCategories(list) {
|
||||
return (list || []).filter((item)=>{
|
||||
var _item_name;
|
||||
return item === null || item === void 0 ? void 0 : (_item_name = item.name) === null || _item_name === void 0 ? void 0 : _item_name.trim();
|
||||
return (item === null || item === void 0 ? void 0 : (_item_name = item.name) === null || _item_name === void 0 ? void 0 : _item_name.trim()) && !REMOVED_NAV_HREF.test(translationHref(item.urlValue));
|
||||
}).map((item)=>{
|
||||
var _item_translationList;
|
||||
return ((_item_translationList = item.translationList) === null || _item_translationList === void 0 ? void 0 : _item_translationList.length) ? {
|
||||
...item,
|
||||
translationList: item.translationList.filter((child)=>!REMOVED_NAV_HREF.test(translationHref(child.urlValue)))
|
||||
} : item;
|
||||
});
|
||||
}
|
||||
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,7 +1,4 @@
|
||||
self.__BUILD_MANIFEST = {
|
||||
"/_error": [
|
||||
"static/chunks/pages/_error.js"
|
||||
],
|
||||
"__rewrites": {
|
||||
"afterFiles": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user