refactor: 更新管理端页面元数据,统一国际化支持,移除冗余代码
This commit is contained in:
9
src/app/admin/(shell)/rules/odds/page.tsx
Normal file
9
src/app/admin/(shell)/rules/odds/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { RulesOddsConfigScreen } from "@/modules/rules/rules-odds-config-screen";
|
||||
import { buildPageMetadata } from "@/lib/page-metadata";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = buildPageMetadata("config", "nav.rulesOddsTitle");
|
||||
|
||||
export default function AdminRulesOddsPage() {
|
||||
return <RulesOddsConfigScreen />;
|
||||
}
|
||||
14
src/app/admin/(shell)/rules/plays/page.tsx
Normal file
14
src/app/admin/(shell)/rules/plays/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { PlayConfigDocScreen } from "@/modules/config/doc/play-config-doc-screen";
|
||||
import { RulesPageShell } from "@/modules/rules/rules-page-shell";
|
||||
import { buildPageMetadata } from "@/lib/page-metadata";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = buildPageMetadata("config", "nav.rulesPlaysTitle");
|
||||
|
||||
export default function AdminRulesPlaysPage() {
|
||||
return (
|
||||
<RulesPageShell>
|
||||
<PlayConfigDocScreen />
|
||||
</RulesPageShell>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user