🗑️ Remove lunar new year count down

This commit is contained in:
LittleSheep 2025-02-03 17:11:16 +08:00
parent 8bfd19f7e3
commit 35cb92b322
3 changed files with 3 additions and 19 deletions

View File

@ -19,7 +19,7 @@ export default function Login() {
const userStore = useUserStore()
function doCallback() {
let redirectUrl = searchParams.get('redirect_uri')
const redirectUrl = searchParams.get('redirect_uri')
if (redirectUrl) {
if (redirectUrl.startsWith('/')) {
router.push(redirectUrl)

View File

@ -1,4 +1,4 @@
import { Alert, AlertTitle, Box, Button, Chip, Container, Grid2 as Grid, Link, Paper, Typography } from '@mui/material'
import { Box, Chip, Container, Grid2 as Grid, Link, Paper, Typography } from '@mui/material'
import { Roboto_Serif } from 'next/font/google'
import NextLink from 'next/link'
import Image from 'next/image'
@ -21,22 +21,6 @@ export default function Home() {
return (
<>
<Container sx={{ py: 24, display: 'flex', flexDirection: 'column', gap: 32 }}>
<Alert
variant="filled"
icon={<span>🎉</span>}
severity="info"
action={
<NextLink href="/events/2025-lunar-countdown" passHref>
<Button color="inherit" size="small">
</Button>
</NextLink>
}
>
<AlertTitle gutterBottom={false}></AlertTitle>
2025
</Alert>
<Box>
<Image src="/logo.png" width={128} height={128} alt="company logo" className="mb-2 dark:invert" />
<Typography variant="h3" component="h1" gutterBottom>

View File

@ -92,7 +92,7 @@ export default function Post({ order }: InferGetServerSidePropsType<typeof getSe
<Box sx={{ my: 3, flexDirection: 'column', display: 'flex', gap: 2 }}>
{paid || canceled ? (
canceled ? (
<Typography textAlign="center">Canceled, you're not able to pay this order any more.</Typography>
<Typography textAlign="center">Canceled, you are not able to pay this order any more</Typography>
) : (
<Typography textAlign="center">Paid, you can return to the seller now</Typography>
)