feat: 添加首页模板

This commit is contained in:
landaiqing
2024-04-22 00:02:42 +08:00
parent f2b1aa6578
commit 299d84f30f
20 changed files with 1492 additions and 87 deletions

View File

@@ -1,8 +1,8 @@
*,
*:after,
*:before {
box-sizing: border-box;
}
//*,
//*:after,
//*:before {
// box-sizing: border-box;
//}

View File

@@ -1,13 +1,14 @@
// import FileSharing from '@/components/FileSharing'
// import DefaultLayOut from '@/layout/default'
import BlurCard from '@/components/BlurCard'
import HomeIndex from '@/components/HomeIndex'
export default () => {
return (
<div>
{/*<DefaultLayOut />*/}
<BlurCard />
{/*<BlurCard />*/}
<HomeIndex />
</div>
)
}

8
src/views/Main/index.tsx Normal file
View File

@@ -0,0 +1,8 @@
// import DefaultLayOut from '@/layout/default'
export default () => {
return (
<>
{/*<DefaultLayOut />*/}
</>
)
}

View File

@@ -25,8 +25,8 @@
box-shadow: rgb(0 0 0 / 15%) 0px 2px 15px;
//float: right;
height: 550px;
position: relative;
padding: 30px 0 30px 0;
border-radius: 15px;
}

View File

@@ -24,6 +24,7 @@
height: 550px;
position: relative;
padding: 30px 0 30px 0;
border-radius: 15px;
}

View File

@@ -248,7 +248,7 @@ export default observer(() => {
</Button>
</Form>
<a href='/' className={styles.go_to_register}>
<a href='/login' className={styles.go_to_register}>
<span></span>
</a>
</Space>