bug(content): Page would not render properly in some cases

Because:
- There appeared to be invalid html

This Commit:
- Fixes the mismatched <span>Learn more</a> html
- Fixes bad div tag
- Corrects className to be class.
- Adds extra fixes include for brandMessaging. It needs `{{{` not `{{`
This commit is contained in:
dschom 2023-10-04 10:33:44 -07:00
Родитель 55c3223276
Коммит bc5734d797
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F26AEE99174EE68B
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -3,7 +3,7 @@
<div class="banner-brand-message w-full"> <div class="banner-brand-message w-full">
<div class="flex justify-center p-2 brand-banner-bg"> <div class="flex justify-center p-2 brand-banner-bg">
{{#showPrelaunch}} {{#showPrelaunch}}
<div class="flex"/> <div class="flex">
<div class="flex-none relative"> <div class="flex-none relative">
<img <img
class="w-8 h-8 bg-black m-4 mt-1" class="w-8 h-8 bg-black m-4 mt-1"
@ -17,17 +17,17 @@
</p> </p>
<p class="text-start text-xs"> <p class="text-start text-xs">
{{#t}}Youll still sign in with the same username and password, and there are no other changes to the products that you use.{{/t}} {{#t}}Youll still sign in with the same username and password, and there are no other changes to the products that you use.{{/t}}
<span role="link" tabindex="0" class="brand-learn-more cursor-pointer underline">{{#t}}Learn more{{/t}}</a> <span role="link" tabindex="0" class="brand-learn-more cursor-pointer underline">{{#t}}Learn more{{/t}}</span>
</p> </p>
</div> </div>
</div> </div>
{{/showPrelaunch}} {{/showPrelaunch}}
{{#showPostlaunch}} {{#showPostlaunch}}
<div className="flex"/> <div class="flex"/>
<div> <div>
<p class="text-sm font-bold"> <p class="text-sm font-bold">
{{#t}}Weve renamed Firefox accounts to Mozilla accounts. Youll still sign in with the same username and password, and there are no other changes to the products that you use.{{/t}} {{#t}}Weve renamed Firefox accounts to Mozilla accounts. Youll still sign in with the same username and password, and there are no other changes to the products that you use.{{/t}}
<span role="link" tabindex="0" class="brand-learn-more cursor-pointer underline">{{#t}}Learn more{{/t}}</a> <span role="link" tabindex="0" class="brand-learn-more cursor-pointer underline">{{#t}}Learn more{{/t}}</span>
</p> </p>
</div> </div>
</div> </div>

Просмотреть файл

@ -1,4 +1,4 @@
{{ brandMessagingHTML }} {{{ brandMessagingHTML }}}
<div class="card"> <div class="card">
<header class="mb-2"> <header class="mb-2">
<h1 id="fxa-signup-password-header" class="card-header"> <h1 id="fxa-signup-password-header" class="card-header">