feat(assets): add initial fonts and image assets
This commit is contained in:
@@ -3,17 +3,24 @@
|
||||
* Splash Logo
|
||||
*
|
||||
* 原始 Dart: lib/ui/splash/widgets/splash_logo.dart
|
||||
*
|
||||
* 当前实现:纯文字 logo("cozsweet" + tagline)。
|
||||
* 资源:`Assets.images.icLogoHome`(待替换为 `<Image src="/splash/logo.svg" />`)。
|
||||
* 资源: /public/images/splash/ic-logo-home.png (kebab-case 重命名后)
|
||||
* 原名: ic_logo_home.png (snake_case)
|
||||
* 渲染: Assets.images.icLogoHome.image() → next/image <Image>
|
||||
*/
|
||||
import Image from "next/image";
|
||||
import styles from "./splash-logo.module.css";
|
||||
|
||||
export function SplashLogo() {
|
||||
return (
|
||||
<div className={styles.logo}>
|
||||
<span className={styles.brand}>cozsweet</span>
|
||||
<span className={styles.tagline}>Your exclusive AI boyfriend</span>
|
||||
<Image
|
||||
src="/images/splash/ic-logo-home.png"
|
||||
alt="cozsweet"
|
||||
width={120}
|
||||
height={40}
|
||||
priority
|
||||
className={styles.image}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user