🔍 revise page title and footer branding (fix #49)

This commit is contained in:
DrMaxNix 2024-01-30 13:30:08 +01:00
parent ab0a255c2a
commit 63c531b13e
3 changed files with 26 additions and 22 deletions

View File

@ -66,8 +66,8 @@
<div class="page-container">
<div class="page">
<div class="title">
<span class="abolish"><?= $dict->get("page_title_abolish") ?></span>
<span class="introduce"><?= $dict->get("page_title_introduce") ?></span>
<h1><?= $dict->get("page_title_h1") ?></h1>
<h2><?= $dict->get("page_title_h2") ?></h2>
</div>
<div class="section">
@ -419,7 +419,7 @@
<div class="footer">
<div class="brand">
<img src="<?= File::file("./asset/logo-256.png") ?>" alt="logo" />
<span>SBGG Jetzt!</span>
<span>SBGG.jetzt</span>
<a href="https://git.tjdev.de/kimendisch/sbgg.jetzt" target="_blank"><?= $dict->get("text_sourcecode") ?> <i class="ti ti-external-link"></i></a>
<span class="version">v<?= Project::version() ?></span>
</div>

View File

@ -148,6 +148,10 @@ span.inline {
/* PAGE TITLE */
.page > .title {
display: flex;
flex-direction: column;
gap: 1rem;
margin: 2rem 0;
}
@media only screen and (max-width: 1000px) {
@ -155,21 +159,21 @@ span.inline {
margin: 0 0;
}
}
.page > .title h1, .page > .title span {
font-size: 2rem;
}
.page > .title .abolish {
margin-bottom: 1rem;
color: var(--color-gray);
}
.page > .title .introduce h1 {
display: inline;
.page > .title h1, .page > .title h2 {
align-self: center;
margin: 0;
}
.page > .title h1 {
font-size: 3rem;
background-image: linear-gradient(to right, var(--color-red), var(--color-orange), var(--color-yellow), var(--color-green), var(--color-blue), var(--color-purple));
-webkit-background-clip: text;
color: transparent;
}
.page > .title h2 {
font-size: 1.5rem;
}

View File

@ -4,26 +4,26 @@
$dict->define([
"title" => [
"de" => "Selbstbestimmungsgesetz Jetzt!",
"en" => "Self-Determination Act Now!"
"de" => "SBGG.jetzt - Alle Infos zum Selbstbestimmungsgesetz",
"en" => "SBGG.jetzt - Everything about the German Self-Determination Law"
],
"description" => [
"de" => "Das TSG muss endlich durch ein Selbstbestimmungsgesetz ersetzt werden! Diese Seite verfolgt den Fortschritt der Gesetzgebung.",
"en" => "The TSG must be replaced by a Self-Determination Law! This page is tracking the progress of the legislation."
"de" => "Alle Infos zum Selbstbestimmungsgesetz an einem Ort",
"en" => "Everything about the German Self-Determination Law in one place"
],
"page_title_abolish" => [
"de" => "TSG abschaffen,",
"en" => "Abolish the TSG,"
"page_title_h1" => [
"de" => "SBGG.jetzt",
"en" => "SBGG.jetzt"
],
"page_title_introduce" => [
"de" => "<h1>Selbst&shy;bestim&shy;mungs&shy;gesetz</h1> einführen!",
"en" => "Introduce a <h1>Self-Determination Law</h1>!"
"page_title_h2" => [
"de" => "Alle Infos zum Selbstbestimmungsgesetz",
"en" => "Everything about the German Self-Determination Law"
],