feat: Logo für den Kür-Hub einbinden
Drei Schlittschuhe, durch ein Netzgitter verbunden, in der Hub-Palette. Das Logo ersetzt den R-Platzhalter in der Topbar, dient als Favicon und steht als Hero auf der Kür-Übersicht.
This commit is contained in:
parent
ab88a84d5d
commit
bf656c930f
5 changed files with 74 additions and 6 deletions
|
|
@ -19,6 +19,17 @@ $linkFor = static function (int $targetPage) use ($query, $mine): string {
|
||||||
return url('/') . ($params ? '?' . http_build_query($params) : '');
|
return url('/') . ($params ? '?' . http_build_query($params) : '');
|
||||||
};
|
};
|
||||||
?>
|
?>
|
||||||
|
<section class="hub-hero">
|
||||||
|
<img class="hub-hero-logo" src="<?= e(url('/assets/logo.png')) ?>"
|
||||||
|
alt="Rinkplanner-Hub-Logo: drei Schlittschuhe, durch ein Netz verbunden"
|
||||||
|
width="132" height="132">
|
||||||
|
<div class="hub-hero-text">
|
||||||
|
<p class="eyebrow">Drei Schlittschuhe, ein Netz</p>
|
||||||
|
<p class="hub-hero-title">Küren teilen, Fassungen vergleichen, gemeinsam weiterentwickeln.</p>
|
||||||
|
<p class="hub-hero-sub">Der Hub sammelt Küren, Musik und Revisionen deines Teams an einem Ort.</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<div class="page-head">
|
<div class="page-head">
|
||||||
<div>
|
<div>
|
||||||
<h1>Küren</h1>
|
<h1>Küren</h1>
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,14 @@ $flashes = flash_pull();
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title><?= e($title) ?> · Rinkplanner-Hub</title>
|
<title><?= e($title) ?> · Rinkplanner-Hub</title>
|
||||||
|
<link rel="icon" type="image/png" href="<?= e(url('/assets/logo-icon.png')) ?>">
|
||||||
|
<link rel="apple-touch-icon" href="<?= e(url('/assets/logo-icon.png')) ?>">
|
||||||
<link rel="stylesheet" href="<?= e(url('/assets/hub.css')) ?>">
|
<link rel="stylesheet" href="<?= e(url('/assets/hub.css')) ?>">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="topbar">
|
<header class="topbar">
|
||||||
<a class="brand" href="<?= e(url('/')) ?>">
|
<a class="brand" href="<?= e(url('/')) ?>">
|
||||||
<span class="brand-mark">R</span>
|
<img class="brand-mark" src="<?= e(url('/assets/logo.png')) ?>" alt="" width="32" height="32">
|
||||||
<span>Rinkplanner <strong>Hub</strong></span>
|
<span>Rinkplanner <strong>Hub</strong></span>
|
||||||
</a>
|
</a>
|
||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
|
|
|
||||||
|
|
@ -112,14 +112,12 @@ code {
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-mark {
|
.brand-mark {
|
||||||
align-items: center;
|
|
||||||
background: linear-gradient(135deg, var(--blue), var(--deep-blue));
|
background: linear-gradient(135deg, var(--blue), var(--deep-blue));
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
color: var(--ink);
|
box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgba(56, 189, 248, 0.25);
|
||||||
display: inline-flex;
|
flex: 0 0 auto;
|
||||||
font-weight: 800;
|
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
justify-content: center;
|
object-fit: cover;
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -185,6 +183,55 @@ code {
|
||||||
color: var(--danger);
|
color: var(--danger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hub-hero {
|
||||||
|
align-items: center;
|
||||||
|
background:
|
||||||
|
radial-gradient(120% 160% at 0% 0%, rgba(56, 189, 248, 0.2), transparent 60%),
|
||||||
|
rgba(7, 26, 48, 0.6);
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius);
|
||||||
|
box-shadow: var(--shadow);
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: clamp(1rem, 3vw, 1.8rem);
|
||||||
|
margin-bottom: 1.6rem;
|
||||||
|
padding: clamp(1.1rem, 3vw, 1.7rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hub-hero-logo {
|
||||||
|
border-radius: 20px;
|
||||||
|
box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px var(--line);
|
||||||
|
flex: 0 0 auto;
|
||||||
|
height: clamp(96px, 15vw, 132px);
|
||||||
|
width: clamp(96px, 15vw, 132px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hub-hero-text {
|
||||||
|
flex: 1 1 320px;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hub-hero-text p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hub-hero-text .eyebrow {
|
||||||
|
margin-bottom: 0.35rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hub-hero-text .hub-hero-title {
|
||||||
|
color: var(--frost);
|
||||||
|
font-size: clamp(1.15rem, 2.2vw, 1.5rem);
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 1.25;
|
||||||
|
margin: 0 0 0.35rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hub-hero-text .hub-hero-sub {
|
||||||
|
color: var(--muted);
|
||||||
|
max-width: 56ch;
|
||||||
|
}
|
||||||
|
|
||||||
.page-head {
|
.page-head {
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -701,6 +748,14 @@ audio {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hub-hero {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hub-hero-logo {
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
hub/web/assets/logo-icon.png
Normal file
BIN
hub/web/assets/logo-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
hub/web/assets/logo.png
Normal file
BIN
hub/web/assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
Loading…
Add table
Add a link
Reference in a new issue