refactor: 移除广告和赞助相关内容

- 删除public/ads.txt广告配置文件
- 移除Footer中的Secbit加速链接
- 删除Layout中的谷歌广告脚本和meta标签
- 移除friends页面中的Secbit友链
- 删除SideBar中的赞助banner和iframe
This commit is contained in:
afoim
2025-08-14 03:14:10 +08:00
parent 8ffbd24f80
commit 4365742f28
5 changed files with 0 additions and 28 deletions

View File

@@ -1 +0,0 @@
google.com, pub-1683686345039700, DIRECT, f08c47fec0942fa0

View File

@@ -23,9 +23,6 @@ const currentYear = new Date().getFullYear();
<br>
本网站代码
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://github.com/afoim/fuwari">已开源</a>
<br>
本站使用
<a class="transition link text-[var(--primary)] font-medium" target="_blank" href="https://secbit.ai/">Secbit</a> 加速
</div>
</div>

View File

@@ -18,18 +18,5 @@ const className = Astro.props.class;
<div id="sidebar-sticky" class="transition-all duration-700 flex flex-col w-full gap-4 top-4 sticky top-4">
<Categories class="onload-animation" style="animation-delay: 150ms"></Categories>
<Tag class="onload-animation" style="animation-delay: 200ms"></Tag>
<!-- 赞助标 -->
<div class="overflow-hidden flex justify-center">
<a href="https://secbit.ai/" target="_blank" rel="noopener noreferrer">
<img src="/aff/secbit-banner-1.gif" alt="Secbit" class="w-full max-w-[280px] rounded-lg hover:opacity-90 transition-opacity" />
</a>
</div>
<div class="overflow-hidden flex justify-center">
<iframe
src="https://support.nodeget.com/page/promotion?id=316"
style="border:none; border-radius:8px; height:270px; width:100%; max-width:280px;
transform: scale(1.0); transform-origin: center top;"
></iframe>
</div>
</div>
</div>

View File

@@ -242,10 +242,6 @@ const bannerOffset =
<link rel="alternate" type="application/rss+xml" title={profileConfig.name} href={`${Astro.site}rss.xml`}/>
<!-- Umami分析自建 -->
<script defer src="https://umami.2x.nz/script.js" data-website-id="4b4e430d-a12c-4a5c-8cf9-df48eb20fd6d"></script>
<!-- 谷歌广告 -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1683686345039700"
crossorigin="anonymous"></script>
<meta name="google-adsense-account" content="ca-pub-1683686345039700">
{/* <!-- 百度统计 -->
<script>
var _hmt = _hmt || [];

View File

@@ -12,13 +12,6 @@ import { Icon } from "astro-icon/components";
<h1 class="text-2xl font-bold text-black dark:text-white">友链</h1>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<a href="https://secbit.ai" target="_blank" class="friend-card">
<div class="flex items-center gap-2">
<img src="https://secbit.ai/favicon.ico" loading="lazy" class="w-5 h-5 rounded">
<div class="font-bold text-black dark:text-white">Secbit高防CDN</div>
</div>
<div class="text-sm text-black/50 dark:text-white/50">HK、US高防不限速CDN</div>
</a>
<a href="https://fuwari.14131413.xyz/" target="_blank" class="friend-card">
<div class="flex items-center gap-2">
<img src="https://fuwari.14131413.xyz/_astro/demo-avatar.CxcI0ivM_1nbuVe.webp" loading="lazy" class="w-5 h-5 rounded">