Hard-enable hubCnOnly, drop foreign cities from default seeds/map/coffeechat, and keep intl cities in separate INT L catalogs until globalization reopens. Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
1.6 KiB
TypeScript
46 lines
1.6 KiB
TypeScript
import { ModuleBoundary } from "~/components/module-boundary";
|
||
/* 主题1=旅居社群(默认)· 主题2=琥珀信号 · 主题3/4=预留;后台 remote skin 可切换 */
|
||
import "@community/app/globals.css";
|
||
import "@hub/app/globals.css";
|
||
import "@hub/app/fx.css";
|
||
import "@hub/app/theme2.css";
|
||
import "@hub/app/theme3.css";
|
||
import "@hub/app/theme4.css";
|
||
import "@hub/app/home.css";
|
||
import "@hub/app/experience.css";
|
||
import "@hub/app/interaction.css";
|
||
import "@hub/app/studio.css";
|
||
import "@hub/app/motion.css";
|
||
import "@hub/app/depth.css";
|
||
import "@hub/app/vivid.css";
|
||
import "@hub/app/h5.css";
|
||
import "@hub/app/blog.css";
|
||
import "@hub/app/discovery.css";
|
||
import "@hub/app/live.css";
|
||
import HubExperience from "@hub/components/HubExperience";
|
||
|
||
export const metadata = {
|
||
title: "Nomadro Hub · 游民社区",
|
||
description: "游民社区:聊天群、约会、语音厅、同城见面、招聘共创",
|
||
};
|
||
|
||
export default function HubLayout({
|
||
children,
|
||
}: {
|
||
children: React.ReactNode;
|
||
}) {
|
||
return (
|
||
<ModuleBoundary moduleKey="hub">
|
||
<div className="community-root hub-skin">
|
||
{/* 首屏防闪:优先缓存主题,否则主题1;远程配置拉取后由 SiteShell 覆盖 */}
|
||
<script
|
||
dangerouslySetInnerHTML={{
|
||
__html: `(function(){var k='nomadro-hub-skin',s='1';try{var v=localStorage.getItem(k);if(v==='1'||v==='2'||v==='3'||v==='4')s=v;}catch(e){}document.documentElement.setAttribute('data-hub-skin',s);})();`,
|
||
}}
|
||
/>
|
||
<HubExperience>{children}</HubExperience>
|
||
</div>
|
||
</ModuleBoundary>
|
||
);
|
||
}
|