File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 11import { Card } from '@blueprintjs/core'
22
3- import dayjs from 'dayjs'
43import { useLinks } from 'hooks/useLinks'
54import { ComponentType } from 'react'
65
@@ -22,7 +21,6 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
2221 const { SOCIAL_LINKS } = useLinks ( )
2322 return (
2423 < div className = "flex flex-col md:flex-row px-4 pb-16 mt-4 md:px-8 md:mt-8 max-w-[96rem] mx-auto" >
25- { isMD && < Ad /> }
2624 < div className = "md:w-2/3 order-2 md:order-1 mr-0 md:mr-8 mt-4 md:mt-0" >
2725 < Operations />
2826 </ div >
@@ -61,8 +59,6 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
6159 </ >
6260 ) ) }
6361 </ div >
64-
65- < Ad />
6662 </ div >
6763 </ div >
6864 ) }
@@ -71,22 +67,3 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
7167 </ div >
7268 )
7369} )
74-
75- const Ad = dayjs ( ) . isBefore ( '2025-05-11 00:00:00+8' )
76- ? ( ) => {
77- const t = useTranslation ( )
78- return (
79- // eslint-disable-next-line react/jsx-no-target-blank
80- < a
81- className = "block relative dark:brightness-[85%]"
82- href = "https://www.ldmnq.com/ldy/ldymuban/#/landing/9651"
83- target = "_blank"
84- >
85- < img src = "/ad_leidian.jpg" alt = "雷电模拟器" />
86- < div className = "absolute bottom-2 right-2 border border-current rounded text-[10px] text-zinc-300 px-1 " >
87- { t . pages . index . advertisement }
88- </ div >
89- </ a >
90- )
91- }
92- : ( ) => null
You can’t perform that action at this time.
0 commit comments