增加首页。

This commit is contained in:
徐涛
2024-12-25 10:21:55 +08:00
parent ff821e4789
commit bf888c8c52
3 changed files with 30 additions and 1 deletions

17
src/pages/Home.module.css Normal file
View File

@@ -0,0 +1,17 @@
@layer pages {
.home_layout {
height: 100%;
width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: calc(var(--spacing) * 8) calc(var(--spacing) * 48);
}
.sologon {
font-size: calc(var(--font-size) * 6);
font-style: italic;
filter: drop-shadow(0 0 calc(var(--spacing) * 4) oklch(from var(--color-yudubai) l c h / 50%));
}
}

9
src/pages/Home.tsx Normal file
View File

@@ -0,0 +1,9 @@
import styles from './Home.module.css';
export function Home() {
return (
<div className={styles.home_layout}>
<div className={styles.sologon}>Color your UI design</div>
</div>
);
}