feat: 更新 Banner 组件以支持最小高度并添加分析脚本
This commit is contained in:
1 parent
0f3dd0545d
commit
aa227ab369
2 files changed
+2
-1
No files matched your search
@@ -5,6 +5,7 @@
|
|||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>筱周の网站 - XiaoZhou's Website</title>
|
<title>筱周の网站 - XiaoZhou's Website</title>
|
||||||
|
<script defer src="https://umami.xiaozhou233.cn/script.js" data-website-id="5a5128e4-1e6c-4c0f-8f45-536d929aa2a1"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function Banner() {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
ref={parallaxRef}
|
ref={parallaxRef}
|
||||||
className="relative w-full h-screen flex flex-col justify-between text-white overflow-hidden font-mono select-none"
|
className="relative w-full min-h-screen flex flex-col justify-between text-white overflow-hidden font-mono select-none"
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: `url(${bannerImg})`,
|
backgroundImage: `url(${bannerImg})`,
|
||||||
backgroundSize: "cover",
|
backgroundSize: "cover",
|
||||||
|
|||||||
Reference in new issue
Block a user