Skip to content

Commit 1638c17

Browse files
committed
Cloak the webinar banner strip until Alpine resolves its state
1 parent 8f17bf4 commit 1638c17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎layouts/partials/nav.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div>
1111
{{- else if .Scratch.Get "webinarBannerActive" -}}
1212
{{- $webinarPath := printf "%s/webinar/" .Site.LanguagePrefix -}}
13-
<div class="nav-promo-strip w-full bg-primary text-center text-sm text-white p-0.5" x-show="webinar.state !== 'none'">
13+
<div class="nav-promo-strip w-full bg-primary text-center text-sm text-white p-0.5" x-show="webinar.state !== 'none'" x-cloak>
1414
<p>
1515
<span x-show="webinar.state !== 'upcoming' && webinar.state !== 'live'">{{ i18n "webinar_banner" | safeHTML }}</span>
1616
<span x-show="webinar.state === 'upcoming'" x-cloak>

0 commit comments

Comments
 (0)