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 1
1
import { Card } from '@blueprintjs/core'
2
2
3
- import dayjs from 'dayjs'
4
3
import { useLinks } from 'hooks/useLinks'
5
4
import { ComponentType } from 'react'
6
5
@@ -22,7 +21,6 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
22
21
const { SOCIAL_LINKS } = useLinks ( )
23
22
return (
24
23
< 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 /> }
26
24
< div className = "md:w-2/3 order-2 md:order-1 mr-0 md:mr-8 mt-4 md:mt-0" >
27
25
< Operations />
28
26
</ div >
@@ -61,8 +59,6 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
61
59
</ >
62
60
) ) }
63
61
</ div >
64
-
65
- < Ad />
66
62
</ div >
67
63
</ div >
68
64
) }
@@ -71,22 +67,3 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
71
67
</ div >
72
68
)
73
69
} )
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