feat: add auto ad to city page and weather art
The auto ad is added to the city page and the weather art page. It improves user experience by showing relevant ads to the user. This change should not affect performance as it only modifies the view. - Add auto ad in city page and weather art page. - Refactor shadow effects to improve user experience. - No side effects or any other consequences.
This commit is contained in:
parent
5e716a46d9
commit
eb9bfc7972
@ -61,11 +61,11 @@
|
||||
], as: :stat %>
|
||||
</div>
|
||||
|
||||
<div class="card bg-base-100 backdrop-blur-md shadow-lg border border-primary/20 overflow-hidden"> <!-- 调整透明度和阴影 -->
|
||||
<div class="card bg-base-100 backdrop-blur-md shadow-lg border border-primary/20 overflow-hidden">
|
||||
<%= render 'shared/map', city: @city %>
|
||||
</div>
|
||||
|
||||
<div class="card bg-base-100 backdrop-blur-md shadow-lg overflow-hidden"> <!-- 调整透明度和阴影 -->
|
||||
<div class="card bg-base-100 backdrop-blur-md shadow-lg overflow-hidden">
|
||||
<%= render 'shared/auto_ad' %>
|
||||
</div>
|
||||
|
||||
|
@ -77,6 +77,10 @@
|
||||
<%= render 'shared/map', city: @weather_art.city %>
|
||||
</div>
|
||||
|
||||
<div class="card bg-base-100 backdrop-blur-md shadow-lg overflow-hidden">
|
||||
<%= render 'shared/auto_ad' %>
|
||||
</div>
|
||||
|
||||
<!-- AI Prompt -->
|
||||
<div class="bg-primary/10 backdrop-blur-md p-6 rounded-lg border border-primary/20">
|
||||
<div class="flex items-center gap-3 mb-4">
|
||||
|
Loading…
Reference in New Issue
Block a user