Translated home message

This commit is contained in:
Julian Prieber 2023-06-22 12:58:48 +02:00
parent dbff5f21e3
commit 7f2c3533e3
4 changed files with 19 additions and 4 deletions

View File

@ -347,9 +347,7 @@ class PageSeeder extends Seeder
<p>&nbsp;</p>
',
'home_message' => '
<p>Take control of your online presence with&nbsp;<a href="https://linkstack.org/"><strong>LinkStack</strong></a> the privacy-focused, open-source <strong>link management platform</strong>. Create a customizable profile page to manage <strong>all your important links in one convenient location</strong> and give your audience a seamless browsing experience.</p>
',
'home_message' => 'default',
'register' => null,
]

View File

@ -20,6 +20,13 @@ return [
'by' => 'von',
'HOME.MESSAGE' => '
<p>Nehmen Sie die Kontrolle über Ihre Online-Präsenz mit <a href="https://linkstack.org/"><strong>LinkStack</strong></a>,
der datenschutzorientierten, quelloffenen <strong>Link-Management-Plattform</strong>. Erstellen Sie eine anpassbare Profilseite, um <strong>
alle Ihre wichtigen Links an einem praktischen Ort zu verwalten</strong> und Ihrem Publikum ein nahtloses Browsing-Erlebnis zu bieten.</p>
',
/*
|--------------------------------------------------------------------------
| Demo Page/Home Page Example Page

View File

@ -19,6 +19,12 @@ return [
'Made with' => 'Made with',
'by' => 'by',
'HOME.MESSAGE' => '
<p>Take control of your online presence with&nbsp;<a href="https://linkstack.org/"><strong>LinkStack</strong></a>
the privacy-focused, open-source <strong>link management platform</strong>. Create a customizable profile page to manage <strong>
all your important links in one convenient location</strong> and give your audience a seamless browsing experience.</p>
',
/*
|--------------------------------------------------------------------------

View File

@ -179,7 +179,11 @@
<h1 class="h1 fw-bold mb-4 pt-4">{{ config('app.name') }}</h1>
<div class="lead">
<?php echo $message->home_message; ?>
@if($message->home_message == "default")
{!!__('messages.HOME.MESSAGE')!!}
@else
{!!$message->home_message!!}
@endif
</div>
<div class="d-flex justify-content-center align-items-center pt-4">