Skip to content

Commit

Permalink
fix: main page style
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowballXueQiu committed Aug 16, 2024
1 parent 7fc8c25 commit c9d95ef
Showing 1 changed file with 32 additions and 29 deletions.
61 changes: 32 additions & 29 deletions app/(index)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { min } from '@floating-ui/utils';
import classes from '@/styles/common.module.css';
import SurveyCard from '@/components/SurveyCard';
import Footer from '@/components/Footer';
import mainPageImage from '@/public/main-page.svg';

export type Survey = {
title: string;
Expand Down Expand Up @@ -63,38 +64,40 @@ export default function HomePage() {
spacing="lg"
style={{ maxWidth: '80%', width: '100%' }}
>
<Stack justify="center">
<Title className={classes.title}>
<Text span c="#008D57" inherit></Text>
<Text span c="#13AE67" inherit></Text>
<Text span c="#089946" inherit></Text>
论坛
</Title>
<Title>&#62; 问卷系统</Title>
<Text fw={500} fz="lg">收集更好的数据,作出更好的决策。</Text>
<Space h="md" />
<Group>
<Button
color="blue"
radius="md"
onClick={() => router.push('https://github.com/orgs/TeamVastsea/teams/klpbbs_survey')}
>
Github
</Button>
<Button
color="gray"
radius="md"
onClick={() => router.push('/oauth')}
>
立即使用
</Button>
</Group>
</Stack>
<Center>
<Stack justify="center">
<Title className={classes.title}>
<Text span c="#008D57" inherit></Text>
<Text span c="#13AE67" inherit></Text>
<Text span c="#089946" inherit></Text>
论坛
</Title>
<Title>&#62; 问卷系统</Title>
<Text fw={500} fz="lg">收集更好的数据,作出更好的决策。</Text>
<Space h="md" />
<Group>
<Button
color="blue"
radius="md"
onClick={() => router.push('https://github.com/orgs/TeamVastsea/teams/klpbbs_survey')}
>
Github
</Button>
<Button
color="gray"
radius="md"
onClick={() => router.push('/oauth')}
>
立即使用
</Button>
</Group>
</Stack>
</Center>

<Container>
<Image
src="favicon.svg"
alt="KLPBBS logo"
src={mainPageImage.src}
alt="Main Page Image"
className={classes.image}
style={{ maxWidth: 380, margin: '0 auto' }}
/>
Expand Down

0 comments on commit c9d95ef

Please sign in to comment.