Startseite: umlaufenden Kreistext wiederhergestellt
Macht 82d4c91 rückgängig – der Text am Akzentkreis und das
Einstellungsfeld „Text im Kreis“ sind wieder da.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
82d4c910b2
commit
fdb6b0e70e
8 changed files with 27 additions and 5 deletions
|
|
@ -29,6 +29,7 @@ export const load = () => {
|
|||
intro: s.intro,
|
||||
heroEnabled: s.heroEnabled,
|
||||
hero: getMedia(s.heroImageId),
|
||||
heroTagline: s.heroTagline,
|
||||
highlight: highlight(),
|
||||
tiles: db.select().from(tiles).orderBy(asc(tiles.sortOrder), asc(tiles.id)).all(),
|
||||
posts: listPosts({ limit: s.homeNewsCount }).items,
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
<div class="space-y-14 lg:space-y-20">
|
||||
{#if data.heroEnabled}
|
||||
<HomeHero image={data.hero} headline={data.greeting} highlight={data.highlight} />
|
||||
<HomeHero image={data.hero} headline={data.greeting} tagline={data.heroTagline} highlight={data.highlight} />
|
||||
{:else}
|
||||
<h1 class="font-bold text-3xl sm:text-4xl text-brand-ink pt-4">{data.greeting}</h1>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ export const actions = {
|
|||
logoId: f.int('logoId'),
|
||||
heroEnabled: f.bool('heroEnabled'),
|
||||
heroImageId: f.int('heroImageId'),
|
||||
heroTagline: f.str('heroTagline', 40),
|
||||
website,
|
||||
contactEmail: f.str('contactEmail', 200),
|
||||
contactIntro: f.str('contactIntro', 400),
|
||||
|
|
|
|||
|
|
@ -55,6 +55,11 @@
|
|||
Am besten ein Foto im Querformat, mindestens 1600 px breit. Solange keins gewählt ist, erscheint eine
|
||||
Platzhalter in der Markenfarbe.
|
||||
</p>
|
||||
<div>
|
||||
<label class="label" for="heroTagline">Text im Kreis</label>
|
||||
<input id="heroTagline" name="heroTagline" class="field" maxlength="40" value={s.heroTagline} placeholder="z. B. Arbeit, Bildung, Teilhabe" />
|
||||
<p class="hint">Läuft oben am Farbkreis entlang, höchstens 40 Zeichen. Leer lassen, wenn kein Text erscheinen soll.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="label" for="greeting">Begrüßung</label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue