diff --git a/partials/landingpages/index.php b/partials/landingpages/index.php index 66b994a..4886b52 100755 --- a/partials/landingpages/index.php +++ b/partials/landingpages/index.php @@ -9,24 +9,20 @@ $modules = array_values(array_filter( )); ?>
-
-
-

Verfuegbare Module

-

Module mit Login-Pflicht erscheinen erst nach passender Anmeldung.

-
- + + +
+
- Keine Module fuer den aktuellen Zugriff sichtbar. + Keine Module für den aktuellen Zugriff sichtbar.
@@ -34,11 +30,9 @@ $modules = array_values(array_filter( - - Oeffnen
diff --git a/partials/structure/layout_start.php b/partials/structure/layout_start.php index b387ede..4cb0a6c 100755 --- a/partials/structure/layout_start.php +++ b/partials/structure/layout_start.php @@ -5,9 +5,12 @@ if ($currentModuleName === null && preg_match('~^/modules/(?:setup|access)/([a-z $currentModuleName = $moduleMatch[1]; } $currentModule = $currentModuleName !== null ? modules()->get($currentModuleName) : null; -$headerEyebrow = $currentModule ? 'Modul' : 'Nexus'; -$headerTitle = $currentModule ? (string)($currentModule['title'] ?? $currentModuleName) : (defined('APP_DOMAIN_PRIMARY') ? (string)APP_DOMAIN_PRIMARY : 'Nexus'); -$headerText = $currentModule ? (string)($currentModule['description'] ?? '') : 'Kompakter Einstieg fuer die verfuegbaren Module.'; +$isStagingHost = defined('APP_DOMAIN_PRIMARY') && str_starts_with((string) APP_DOMAIN_PRIMARY, 'staging.'); +$headerEyebrow = ''; +$headerTitle = $currentModule + ? (string)($currentModule['title'] ?? $currentModuleName) + : ('Nexus' . ($isStagingHost ? ' (staging)' : '')); +$headerText = $currentModule ? (string)($currentModule['description'] ?? '') : ''; $auth = app()->auth(); $authUser = $auth->user(); ?> @@ -43,7 +46,9 @@ $authUser = $auth->user(); Nexus Logo
- + + +

diff --git a/public/assets/css/app.css b/public/assets/css/app.css index 80d97a9..50efd97 100644 --- a/public/assets/css/app.css +++ b/public/assets/css/app.css @@ -183,8 +183,8 @@ a { } .home-hero h1 { - font-size: clamp(1.5rem, 4vw, 2.35rem); - line-height: 1; + font-size: clamp(1.35rem, 3vw, 1.95rem); + line-height: 1.05; } .home-hero p { @@ -312,6 +312,12 @@ body.has-modal-open { margin-top: 0; } +.section-head { + display: flex; + justify-content: flex-end; + margin-bottom: 14px; +} + .module-list { display: grid; gap: 10px; @@ -319,7 +325,7 @@ body.has-modal-open { .module-row { display: grid; - grid-template-columns: auto minmax(0, 1fr) auto; + grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px; @@ -353,22 +359,6 @@ body.has-modal-open { min-width: 0; } -.module-row__action { - display: inline-flex; - align-items: center; - gap: 8px; - padding: 9px 12px; - border-radius: 999px; - color: #ffffff; - font-size: 0.86rem; - font-weight: 800; - background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-3)); -} - -.module-row__action::after { - content: "->"; -} - .module-card { position: relative; display: flex; @@ -395,17 +385,9 @@ body.has-modal-open { box-shadow: 0 20px 36px rgba(1, 22, 32, 0.14); } -.module-kicker { - color: var(--brand-accent); - font-size: 0.74rem; - font-weight: 800; - letter-spacing: 0.08em; - text-transform: uppercase; -} - .module-title { margin: 0; - font-size: 1.12rem; + font-size: 1rem; } .module-desc { @@ -548,12 +530,6 @@ body.has-modal-open { grid-template-columns: auto minmax(0, 1fr); } - .module-row__action { - grid-column: 2; - justify-self: start; - padding: 7px 10px; - } - .section-head { align-items: start; flex-direction: column;