Skip to content

Commit 50ab8ae

Browse files
committed
💄 update style
1 parent d49cff8 commit 50ab8ae

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: fontend/pages/_app.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import '../styles/globals.css'
33

44
function App({ Component, pageProps }: AppProps) {
55
return (
6-
<>
76
<Component {...pageProps} />
8-
</>
97
)
108
}
119

Diff for: fontend/pages/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const IndexPage = () => {
55
return (
66
<div className='bg-gray-100 w-screen min-h-screen p-10 flex flex-col space-y-6'>
77

8-
<div className='flex flex-row space-x-6'>
8+
<div className='flex flex-row flex-1 space-x-6'>
99

1010
<div className='flex flex-col space-y-6'>
1111
<div className='bg-white w-72 h-72 rounded-lg shadow flex flex-col space-y-4 items-center justify-center'>
@@ -55,7 +55,7 @@ const IndexPage = () => {
5555
<div className='flex flex-row flex-wrap items-center justify-center'>
5656
{
5757
['No. A', 'No. B', 'No. C', 'No. D', 'No. E', 'No. F'].map(item => (
58-
<div className='flex flex-col space-y-2 items-center m-2'>
58+
<div className='flex flex-col space-y-2 items-center m-2' key={item}>
5959
<div className='bg-gray-100 w-16 h-16 rounded-full'></div>
6060
<span className='text-gray-400 text-xs'>{item}</span>
6161
</div>
@@ -74,7 +74,7 @@ const IndexPage = () => {
7474
</div>
7575

7676
<div className='bg-white w-full rounded-lg shadow flex flex-row items-center justify-center space-x-2 p-4'>
77-
<span className="text-gray-500 text-sm">Anoyi © 2021 All Rights Reserved.</span>
77+
<span className="text-gray-500 text-sm">Anoyi © 2022 All Rights Reserved.</span>
7878
<a className="text-gray-500 text-sm hover:text-blue-500" href="https://beian.miit.gov.cn/" target="_blank">鄂ICP备16007917号-1</a>
7979
</div>
8080
</div>

0 commit comments

Comments
 (0)