🗑️ Remove lunar new year count down
This commit is contained in:
		| @@ -19,7 +19,7 @@ export default function Login() { | |||||||
|   const userStore = useUserStore() |   const userStore = useUserStore() | ||||||
|  |  | ||||||
|   function doCallback() { |   function doCallback() { | ||||||
|     let redirectUrl = searchParams.get('redirect_uri') |     const redirectUrl = searchParams.get('redirect_uri') | ||||||
|     if (redirectUrl) { |     if (redirectUrl) { | ||||||
|       if (redirectUrl.startsWith('/')) { |       if (redirectUrl.startsWith('/')) { | ||||||
|         router.push(redirectUrl) |         router.push(redirectUrl) | ||||||
|   | |||||||
| @@ -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 { Roboto_Serif } from 'next/font/google' | ||||||
| import NextLink from 'next/link' | import NextLink from 'next/link' | ||||||
| import Image from 'next/image' | import Image from 'next/image' | ||||||
| @@ -21,22 +21,6 @@ export default function Home() { | |||||||
|   return ( |   return ( | ||||||
|     <> |     <> | ||||||
|       <Container sx={{ py: 24, display: 'flex', flexDirection: 'column', gap: 32 }}> |       <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> |         <Box> | ||||||
|           <Image src="/logo.png" width={128} height={128} alt="company logo" className="mb-2 dark:invert" /> |           <Image src="/logo.png" width={128} height={128} alt="company logo" className="mb-2 dark:invert" /> | ||||||
|           <Typography variant="h3" component="h1" gutterBottom> |           <Typography variant="h3" component="h1" gutterBottom> | ||||||
|   | |||||||
| @@ -92,7 +92,7 @@ export default function Post({ order }: InferGetServerSidePropsType<typeof getSe | |||||||
|         <Box sx={{ my: 3, flexDirection: 'column', display: 'flex', gap: 2 }}> |         <Box sx={{ my: 3, flexDirection: 'column', display: 'flex', gap: 2 }}> | ||||||
|           {paid || canceled ? ( |           {paid || canceled ? ( | ||||||
|             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> |               <Typography textAlign="center">Paid, you can return to the seller now</Typography> | ||||||
|             ) |             ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user