fix: 分站价格单位改为每1M tokens + 移除所有SubRouter主站标识

- 价格表单位从 "per 1K tokens" 改为 "per 1M tokens"(价格×1000显示)
- 移除 footer "Powered by SubRouter" 字样
- 默认站名从 "SubRouter" 改为 "AI Platform"
- HTML title 从 "SubRouter Dist Site" 改为 "AI Platform"
- 分站不再包含任何主站品牌标识

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
abingyydsandClaude Sonnet 4.6 committed 2026-03-21 06:01:43 +09:00
1 parent 9dfc5e79bc
commit cc9a8bcc0e
15 files changed
+283 -8

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ export default function Layout() {
const location = useLocation();
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
const siteName = site?.name || 'SubRouter';
const siteName = site?.name || 'AI Platform';
const navItems = [
{ to: '/', label: 'Home', auth: false },
@@ -140,7 +140,7 @@ export default function Layout() {
<footer className="border-t border-white/[0.06] mt-auto">
<div className="max-w-7xl mx-auto px-6 py-8 flex flex-col md:flex-row items-center justify-between gap-4">
<p className="text-sm text-neutral-500">
&copy; {new Date().getFullYear()} {siteName}. Powered by SubRouter.
&copy; {new Date().getFullYear()} {siteName}.
</p>
<div className="flex items-center gap-4">
{site?.contact_email && (
+5 -5
View File
@@ -36,7 +36,7 @@ export default function Pricing() {
<div className="text-center mb-10">
<h1 className="text-3xl font-heading font-bold text-white mb-3">Model Pricing</h1>
<p className="text-neutral-400 max-w-xl mx-auto">
Transparent, pay-as-you-go pricing for all available models. Prices shown per 1K tokens.
Transparent, pay-as-you-go pricing for all available models. Prices shown per 1M tokens.
</p>
</div>
@@ -66,8 +66,8 @@ export default function Pricing() {
<thead>
<tr className="border-b border-white/[0.06]">
<th className="text-left px-5 py-3.5 font-medium text-neutral-400">Model</th>
<th className="text-right px-5 py-3.5 font-medium text-neutral-400">Input / 1K tokens</th>
<th className="text-right px-5 py-3.5 font-medium text-neutral-400">Output / 1K tokens</th>
<th className="text-right px-5 py-3.5 font-medium text-neutral-400">Input / 1M tokens</th>
<th className="text-right px-5 py-3.5 font-medium text-neutral-400">Output / 1M tokens</th>
<th className="text-center px-5 py-3.5 font-medium text-neutral-400">Status</th>
</tr>
</thead>
@@ -78,10 +78,10 @@ export default function Pricing() {
<span className="font-mono text-white">{m.display_name || m.model_name}</span>
</td>
<td className="px-5 py-3.5 text-right font-mono text-neutral-300">
{m.input_price != null ? `$${Number(m.input_price).toFixed(6)}` : '-'}
{m.input_price != null ? `$${(Number(m.input_price) * 1000).toFixed(4)}` : '-'}
</td>
<td className="px-5 py-3.5 text-right font-mono text-neutral-300">
{m.output_price != null ? `$${Number(m.output_price).toFixed(6)}` : '-'}
{m.output_price != null ? `$${(Number(m.output_price) * 1000).toFixed(4)}` : '-'}
</td>
<td className="px-5 py-3.5 text-center">
<span className={`inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs border ${