File tree Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Expand file tree Collapse file tree 1 file changed +13
-18
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 { ComponentType } from 'react'
5
4
6
5
import { CardTitle } from 'components/CardTitle'
@@ -68,20 +67,16 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
68
67
)
69
68
} )
70
69
71
- const Ads =
72
- dayjs ( ) . isAfter ( '2025-03-02 00:00:00+8' ) &&
73
- dayjs ( ) . isBefore ( '2025-04-02 00:00:00+8' )
74
- ? ( ) => (
75
- // eslint-disable-next-line react/jsx-no-target-blank
76
- < a
77
- className = "block relative dark:brightness-[85%]"
78
- href = "https://adl.netease.com/d/g/mmwb/c/ad_MAA_cpa"
79
- target = "_blank"
80
- >
81
- < img src = "/ads_mumu.jpg" alt = "MuMu模拟器" />
82
- < div className = "absolute bottom-2 right-2 border border-current rounded text-[10px] text-zinc-300 px-1 " >
83
- 广告
84
- </ div >
85
- </ a >
86
- )
87
- : ( ) => null
70
+ const Ads = ( ) => (
71
+ // eslint-disable-next-line react/jsx-no-target-blank
72
+ < a
73
+ className = "block relative dark:brightness-[85%]"
74
+ href = "https://adl.netease.com/d/g/mmwb/c/ad_MAA_cpa"
75
+ target = "_blank"
76
+ >
77
+ < img src = "/ads_mumu.jpg" alt = "MuMu模拟器" />
78
+ < div className = "absolute bottom-2 right-2 border border-current rounded text-[10px] text-zinc-300 px-1 " >
79
+ 广告
80
+ </ div >
81
+ </ a >
82
+ )
You can’t perform that action at this time.
0 commit comments