mirror of
https://github.com/timvisee/send.git
synced 2025-10-03 09:49:14 +02:00
Move main notice on top of text
This commit is contained in:
parent
9931074905
commit
b3317df707
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ module.exports = function intro(state) {
|
||||||
const notice = state.WEB_UI.MAIN_NOTICE_HTML
|
const notice = state.WEB_UI.MAIN_NOTICE_HTML
|
||||||
? html`
|
? html`
|
||||||
<p
|
<p
|
||||||
class="w-full mt-8 p-2 border-default dark:border-grey-70 rounded-default text-orange-60 bg-yellow-40 text-center leading-normal"
|
class="w-full mt-2 p-2 border-default dark:border-grey-70 rounded-default text-orange-60 bg-yellow-40 text-center leading-normal"
|
||||||
>
|
>
|
||||||
${raw(state.WEB_UI.MAIN_NOTICE_HTML)}
|
${raw(state.WEB_UI.MAIN_NOTICE_HTML)}
|
||||||
</p>
|
</p>
|
||||||
|
@ -16,6 +16,7 @@ module.exports = function intro(state) {
|
||||||
<send-intro
|
<send-intro
|
||||||
class="flex flex-col items-center justify-center bg-white px-6 md:py-0 py-6 mb-0 h-full w-full dark:bg-grey-90"
|
class="flex flex-col items-center justify-center bg-white px-6 md:py-0 py-6 mb-0 h-full w-full dark:bg-grey-90"
|
||||||
>
|
>
|
||||||
|
${notice}
|
||||||
<div class="mt-12 flex flex-col h-full">
|
<div class="mt-12 flex flex-col h-full">
|
||||||
<h1 class="text-3xl font-bold md:pb-2">
|
<h1 class="text-3xl font-bold md:pb-2">
|
||||||
${state.translate('introTitle')}
|
${state.translate('introTitle')}
|
||||||
|
@ -23,7 +24,6 @@ module.exports = function intro(state) {
|
||||||
<p class="max-w-sm leading-loose mt-6 md:mt-2 md:pr-14">
|
<p class="max-w-sm leading-loose mt-6 md:mt-2 md:pr-14">
|
||||||
${state.translate('introDescription')}
|
${state.translate('introDescription')}
|
||||||
</p>
|
</p>
|
||||||
${notice}
|
|
||||||
</div>
|
</div>
|
||||||
</send-intro>
|
</send-intro>
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue