feat: add custom site name

This commit is contained in:
shinya
2025-06-30 21:31:15 +08:00
parent f57cdb5ec1
commit 6d71fde9ee
5 changed files with 5 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import { ThemeProvider } from '../components/ThemeProvider';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'MoonTV',
title: process.env.NEXT_PUBLIC_SITE_NAME || 'MoonTV',
description: '影视聚合',
manifest: '/manifest.json',
};

View File

@@ -47,7 +47,7 @@ function LoginPageClient() {
</div>
<div className='relative z-10 w-full max-w-md rounded-3xl bg-gradient-to-b from-white/90 via-white/70 to-white/40 dark:from-zinc-900/90 dark:via-zinc-900/70 dark:to-zinc-900/40 backdrop-blur-xl shadow-2xl p-10 dark:border dark:border-zinc-800'>
<h1 className='text-green-600 tracking-tight text-center text-3xl font-extrabold mb-8 bg-clip-text drop-shadow-sm'>
MoonTV
{process.env.NEXT_PUBLIC_SITE_NAME || 'MoonTV'}
</h1>
<form onSubmit={handleSubmit} className='space-y-8'>
<div>