Refine Hardnerd banner and remove legacy sidebar advertisement
This commit is contained in:
parent
77f9b09c58
commit
6c94ecbd0b
BIN
public/images/ads/hn-ad-refined-20261031.png
Normal file
BIN
public/images/ads/hn-ad-refined-20261031.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
14
resources/views/components/banners.blade.php
Executable file → Normal file
14
resources/views/components/banners.blade.php
Executable file → Normal file
@ -1,13 +1 @@
|
||||
<div class="widget card widget_nice_tag_cloud">
|
||||
<div class="widget-header h6">
|
||||
广告
|
||||
<div class="widget-border"></div>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://{{ env('url_ad_fu') }}">
|
||||
<img src="/upload/images/ad_fu.png" style="border-radius: 10px;">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{-- Legacy sidebar advertisement removed at user request, 2026-10-31. --}}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
@if (config('advertising.hn.enabled') && config('advertising.hn.url') && is_file(public_path('images/ads/hn-ad-quality-20261030.png')))
|
||||
@if (config('advertising.hn.enabled') && config('advertising.hn.url') && is_file(public_path('images/ads/hn-ad-refined-20261031.png')))
|
||||
@once
|
||||
@push('styles')
|
||||
<link rel="stylesheet" href="/css/hn-article-ad.css?v={{ filemtime(public_path('css/hn-article-ad.css')) }}">
|
||||
@ -6,7 +6,7 @@
|
||||
@endonce
|
||||
<aside class="hn-article-ad hn-image-ad" aria-label="HN 图片广告">
|
||||
<a class="hn-image-ad__link" href="{{ config('advertising.hn.url') }}" target="_blank" rel="sponsored noopener noreferrer" aria-label="广告:了解 Hardnerd 网络服务(新窗口打开)">
|
||||
<img src="/images/ads/hn-ad-quality-20261030.png?v={{ filemtime(public_path('images/ads/hn-ad-quality-20261030.png')) }}" alt="Hardnerd 广告:探索全球网络无限可能。硬核专线架构,品质网络体验" width="1962" height="801">
|
||||
<img src="/images/ads/hn-ad-refined-20261031.png?v={{ filemtime(public_path('images/ads/hn-ad-refined-20261031.png')) }}" alt="Hardnerd 广告:硬核架构,品质专线,全球网络畅通无阻" width="1964" height="801">
|
||||
</a>
|
||||
</aside>
|
||||
@endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user