Fix top index image
This commit is contained in:
+10
-2
@@ -1,7 +1,7 @@
|
|||||||
/** @jsxImportSource theme-ui */
|
/** @jsxImportSource theme-ui */
|
||||||
import { Box, Text } from '@theme-ui/components'
|
import { Box, Text } from '@theme-ui/components'
|
||||||
import PageLink from '../components/atoms/PageLink'
|
import PageLink from '../components/atoms/PageLink'
|
||||||
import SquareImageBox from '../components/atoms/SquareImageBox'
|
import Image from 'next/image'
|
||||||
import RootNavigator from '../components/organisms/RootNavigator'
|
import RootNavigator from '../components/organisms/RootNavigator'
|
||||||
|
|
||||||
const IndexPage = () => {
|
const IndexPage = () => {
|
||||||
@@ -11,8 +11,16 @@ const IndexPage = () => {
|
|||||||
<Box sx={{ p: 3 }}>
|
<Box sx={{ p: 3 }}>
|
||||||
<Box mb={4}>
|
<Box mb={4}>
|
||||||
<PageLink href='/honkai3rd'>
|
<PageLink href='/honkai3rd'>
|
||||||
|
<Box sx={{ position: 'relative' }}>
|
||||||
|
<Image
|
||||||
|
alt='Honkai 3rd Wallpaper'
|
||||||
|
src='/assets/honkai3rd/wallpaper.png'
|
||||||
|
width={640}
|
||||||
|
height={360}
|
||||||
|
layout='responsive'
|
||||||
|
/>
|
||||||
|
</Box>
|
||||||
<Text sx={{ fontSize: 3 }}>Honkai 3rd</Text>
|
<Text sx={{ fontSize: 3 }}>Honkai 3rd</Text>
|
||||||
<SquareImageBox size={280} src='/assets/honkai3rd/banner.png' />
|
|
||||||
</PageLink>
|
</PageLink>
|
||||||
</Box>
|
</Box>
|
||||||
<Box mb={4}>
|
<Box mb={4}>
|
||||||
|
|||||||
Reference in New Issue
Block a user