Skip to content

Commit

Permalink
Use aside tag for ads
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Apr 23, 2024
1 parent f3fcb63 commit 903c145
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
24 changes: 11 additions & 13 deletions layouts/partials/tw/promo-double.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@
}}


<section class="{{ $wrapperClass }}" data-ga-category="promo-image">
<p>
{{ if $link }}
<a href="{{ $link }}">
{{- $picture -}}
</a>
{{ else }}
<span>
{{- $picture -}}
</span>
{{ end }}
</p>
</section>
<aside class="{{ $wrapperClass }}" data-ga-category="promo-image">
{{ if $link }}
<a href="{{ $link }}">
{{- $picture -}}
</a>
{{ else }}
<span>
{{- $picture -}}
</span>
{{ end }}
</aside>
10 changes: 5 additions & 5 deletions layouts/partials/tw/promo-topper.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
}}


<section
class="px-auto bg-white py-8 sm:py-10"
<aside
class="py-8 sm:py-10"
data-ga-category="topper"
data-sf-campaign="701Dn000000YgojIAC"
>
<p class="flex items-center justify-center px-4">
<div class="flex items-center justify-center px-4">
{{ if $link }}
<a
class="mx-auto sm:max-w-full md:max-w-3xl lg:max-w-[960px]"
Expand All @@ -45,5 +45,5 @@
{{- $picture -}}
</span>
{{ end }}
</p>
</section>
</div>
</aside>

0 comments on commit 903c145

Please sign in to comment.