Skip to content

Commit d73db5e

Browse files
committed
chore: remove mumu ads
1 parent 693e5c4 commit d73db5e

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

public/ads_mumu.jpg

-283 KB
Binary file not shown.

src/pages/index.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
1818
const { isMD } = useCurrentSize()
1919
return (
2020
<div className="flex flex-col md:flex-row px-4 mt-4 md:px-8 md:mt-8 max-w-[96rem] mx-auto">
21-
{isMD && <Ads />}
2221
<div className="md:w-2/3 order-2 md:order-1 mr-0 md:mr-8 mt-4 md:mt-0">
2322
<Operations />
2423
</div>
@@ -56,8 +55,6 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
5655
</>
5756
))}
5857
</div>
59-
60-
<Ads />
6158
</div>
6259
</div>
6360
)}
@@ -66,17 +63,3 @@ export const IndexPage: ComponentType = withGlobalErrorBoundary(() => {
6663
</div>
6764
)
6865
})
69-
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-
)

0 commit comments

Comments
 (0)