Nimm die Brand-UI-Kit-Stände 1.2 bis 1.7 ohne Originalmotive auf.
Design-Tokens, SVG-Entwürfe, Cursor-Übergabe, Branding-Freigabe, freigegebene Logovarianten, Hero-, Bild-und-Text- und Premium-Widgets (v1.6) sowie den Kartenentwurf v1.7 mit Ergänzungsdokumenten; die Architektur- und Analysedokumente verweisen bereits auf diese Ordner. Bewusst nicht aufgenommen: 01_originale/ und die Kopien der Originalmotive in 09_hero_widget/assets und 13_premium_karten_v1.7_entwurf/assets (zusammen etwa 30 MB, Veröffentlichung nicht freigegeben, bleiben sonst dauerhaft in der Historie) sowie das Zip des Kartenentwurfs (Duplikat des Ordners). Die Vorschauen dieser beiden Ordner zeigen deshalb im Repository keine Originalmotive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eb6192b067
commit
d5c2b34b9d
130 files changed
+4727
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Lara & Felix – Hero-Widget v1.3 (Design-Arbeitsstand)
|
||||
|
||||
## Direkt ansehen
|
||||
`09_hero_widget/preview/index.html` im Browser öffnen. Diese Vorschau ist interaktiv: Titel, Text, Buttontexte, Variante und Bildfokus ändern sich unmittelbar. Die beiden Buttons führen absichtlich nur zu einem Demo-Anker.
|
||||
|
||||
## Enthalten
|
||||
- `assets/lara-felix-park-original.png`: **unverändert übernommene Kling-Datei**, Figuren nicht neu generiert.
|
||||
- `assets/lara-felix-park-hero.webp`: effiziente 1:1-Konvertierung derselben Aufnahme.
|
||||
- `assets/yellow-rays.svg`, `yellow-underline.svg`: unveränderte Entwurfsassets aus dem Brand-Kit.
|
||||
- `components/lf-hero.css`: isolierte responsive Komponente.
|
||||
- `components/widget-contract.json`: vorgeschlagene CMS-Felder/Varianten.
|
||||
- `preview/index.html`: eigenständige HTML-Demo mit veränderbaren Eingaben.
|
||||
|
||||
## CMS-Integration
|
||||
Die vorhandene zentrale Widget-Registry soll die Felder nach `components/widget-contract.json` abbilden. HTML-Preview ist **kein zweiter Editor** und kein Ersatz der bestehenden Blade-Komponente. Text serverseitig escapen; URL-Schema prüfen; nur öffentlich freigegebene Medien als Bildquelle nutzen. Die vorhandene Laravel-/Filament-Speicherung und Medienberechtigungen beibehalten.
|
||||
|
||||
## Freigabestatus
|
||||
**Vorlage/Designvorschlag**, nicht fachlich bzw. produktiv freigegeben. Das Kling-Motiv wurde vom Nutzer bereitgestellt; eine eigenständige öffentliche Asset-Freigabe ist nicht automatisch vorausgesetzt. Demo-Texte und Links sind Platzhalter. Die Figuren wurden beim Bau dieses Pakets nicht verändert.
|
||||
|
||||
## Responsive Verhalten
|
||||
Ab 850px Bild als große Hintergrundfläche, Texte vor hellem Verlauf links. Auf schmalen Screens Bild oberhalb der Textfläche, mit steuerbarer Objektposition; keine über das Bild gerenderte Überschrift.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 221 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 85"><g fill="none" stroke="#FCD10A" stroke-linecap="round" stroke-width="11"><path d="M23 52L6 40"/><path d="M48 29L46 9"/><path d="M74 44L89 23"/></g></svg>
|
||||
|
After Width: | Height: | Size: 214 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 28"><path d="M9 18 Q102 1 270 12" fill="none" stroke="#FCD10A" stroke-width="13" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 168 B |
@@ -0,0 +1,9 @@
|
||||
/* Lara & Felix brand hero v1.3: standalone CSS, scoped to lf-hero. */
|
||||
.lf-hero{--lf-navy:#032551;--lf-green:#3B7B09;--lf-yellow:#FCD10A;--lf-cream:#F7F6F2;isolation:isolate;position:relative;overflow:hidden;border-radius:clamp(1rem,2.5vw,1.75rem);min-height:clamp(430px,43vw,650px);display:grid;align-items:center;background:var(--lf-cream);font-family:Nunito,'Trebuchet MS',system-ui,sans-serif;color:var(--lf-navy)}
|
||||
.lf-hero *{box-sizing:border-box}.lf-hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% center;z-index:-2}.lf-hero__photo[data-focus="right"]{object-position:80% center}.lf-hero__photo[data-focus="center-right"]{object-position:68% center}.lf-hero__photo[data-focus="center-left"]{object-position:35% center}.lf-hero__photo[data-focus="center"]{object-position:center}
|
||||
.lf-hero--photo-split::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(250,249,243,.99) 0%,rgba(250,249,243,.97) 25%,rgba(250,249,243,.8) 39%,rgba(250,249,243,.20) 56%,rgba(250,249,243,0) 68%)}
|
||||
.lf-hero--editorial-solid{background:var(--lf-navy);color:white;min-height:350px}.lf-hero--editorial-solid .lf-hero__photo{display:none}.lf-hero--editorial-solid::before{content:'';position:absolute;width:55%;aspect-ratio:1;right:-25%;bottom:-75%;background:var(--lf-green);border-radius:50%;opacity:.75;z-index:-1}
|
||||
.lf-hero__inner{width:min(100%,1440px);margin:auto;padding:clamp(2rem,5vw,5rem);padding-block:clamp(3rem,6vw,5.5rem)}.lf-hero__copy{max-width:min(620px,57%)}.lf-hero__eyebrow{display:inline-block;padding:.35em .75em;border-radius:999px;background:#dff0c0;color:#17370b;font-weight:800;font-size:clamp(.8rem,.95vw,1rem)}.lf-hero__title{margin:.22em 0 .28em;font-size:clamp(2.5rem,4.8vw,5.25rem);line-height:1.05;letter-spacing:-.035em;font-weight:900;text-wrap:balance}.lf-hero__title-accent{width:clamp(110px,19vw,245px);height:7px;background:var(--lf-yellow);border-radius:90% 30% 45% 25%;transform:rotate(-1deg);margin-bottom:1.5rem}.lf-hero__description{max-width:56ch;font-size:clamp(1.05rem,1.45vw,1.35rem);line-height:1.48;margin:0 0 2rem}.lf-hero__actions{display:flex;gap:.8rem;flex-wrap:wrap}.lf-hero__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.8rem 1.25rem;border-radius:999px;text-decoration:none;font-weight:800;line-height:1.2;transition:transform .15s ease,background .15s ease;box-shadow:none}.lf-hero__button:hover{transform:translateY(-2px)}.lf-hero__button:focus-visible{outline:3px solid #1769aa;outline-offset:3px}.lf-hero__button--primary{background:var(--lf-green);color:#fff}.lf-hero__button--secondary{background:rgba(255,255,255,.92);color:var(--lf-navy);border:2px solid var(--lf-navy)}.lf-hero--editorial-solid .lf-hero__button--secondary{border-color:white}.lf-hero__bottom{position:absolute;inset:auto 0 0;height:17px;background:linear-gradient(105deg,var(--lf-yellow) 0%,var(--lf-yellow) 22%,var(--lf-green) 72%);clip-path:polygon(0 45%,30% 90%,65% 75%,100% 0,100% 100%,0 100%)}
|
||||
@media(max-width:850px){.lf-hero{min-height:unset;display:block}.lf-hero__photo{position:relative;display:block;width:100%;height:clamp(260px,53vw,440px);object-position:72% center}.lf-hero--photo-split::before{display:none}.lf-hero__inner{padding:2rem 1.5rem 2.8rem}.lf-hero__copy{max-width:100%}.lf-hero__title{font-size:clamp(2.15rem,7vw,3.6rem)}.lf-hero__description{font-size:1.05rem}.lf-hero--editorial-solid .lf-hero__copy{max-width:650px}}
|
||||
@media(max-width:420px){.lf-hero__photo{height:300px;object-position:72% center}.lf-hero__actions{display:grid;grid-template-columns:1fr}.lf-hero__button{width:100%}.lf-hero__inner{padding-inline:1.25rem}}
|
||||
@media(prefers-reduced-motion:reduce){.lf-hero__button{transition:none}.lf-hero__button:hover{transform:none}}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"id": "lf-brand-hero",
|
||||
"version": 1,
|
||||
"status": "design candidate; not yet final code approval",
|
||||
"purpose": "CMS-wiederverwendbarer Marken-Hero; Darstellung und Inhalt getrennt",
|
||||
"layout_role": "single widget, full 4/4 slot recommended, minimum container width 320px",
|
||||
"variants": [
|
||||
"photo-split",
|
||||
"editorial-solid"
|
||||
],
|
||||
"fields": {
|
||||
"eyebrow": {
|
||||
"type": "string",
|
||||
"optional": true
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text",
|
||||
"optional": true
|
||||
},
|
||||
"image": {
|
||||
"type": "public_media_reference",
|
||||
"optional": true,
|
||||
"note": "Use approved public images, never member-restricted media"
|
||||
},
|
||||
"image_alt": {
|
||||
"type": "string",
|
||||
"optional": true,
|
||||
"note": "Meaningful if content image; alt empty if decorative"
|
||||
},
|
||||
"image_focal_point": {
|
||||
"type": "enum",
|
||||
"values": [
|
||||
"center",
|
||||
"center-right",
|
||||
"right",
|
||||
"center-left"
|
||||
],
|
||||
"default": "center-right"
|
||||
},
|
||||
"variant": {
|
||||
"type": "enum",
|
||||
"values": [
|
||||
"photo-split",
|
||||
"editorial-solid"
|
||||
],
|
||||
"default": "photo-split"
|
||||
},
|
||||
"primary_cta": {
|
||||
"type": "link",
|
||||
"optional": true,
|
||||
"fields": [
|
||||
"label",
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"secondary_cta": {
|
||||
"type": "link",
|
||||
"optional": true,
|
||||
"fields": [
|
||||
"label",
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"accent": {
|
||||
"type": "enum",
|
||||
"values": [
|
||||
"underline",
|
||||
"rays",
|
||||
"none"
|
||||
],
|
||||
"default": "underline"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
"use public media authorization logic",
|
||||
"escape textual fields by default",
|
||||
"validate destinations and block unsafe URL schemes",
|
||||
"no fake purchasable products or rights"
|
||||
],
|
||||
"integration": "Map fields to existing central Widget Registry; no separate schema or media database"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<!doctype html><html lang="de"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Lara & Felix – Hero Komponenten-Vorschau</title><link rel="stylesheet" href="../components/lf-hero.css"><style>body{margin:0;background:#eef0ec;color:#032551;font-family:system-ui,sans-serif}.demo{max-width:1600px;margin:auto;padding:24px}.panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:20px 0 28px;padding:18px;border-radius:14px;background:white}.panel label{display:grid;gap:5px;font-size:13px;font-weight:600}.panel input,.panel select,.panel textarea{font:inherit;padding:9px;border:1px solid #abbab6;border-radius:7px}.panel textarea{resize:vertical;min-height:60px}.note{font-size:14px;color:#405366;line-height:1.5}.preview{background:white;border-radius:22px;padding:12px}.foot{margin-top:32px}h1{font-size:22px}h2{font-size:18px}</style></head><body><main class="demo"><h1>Lara & Felix – konfigurierbarer Hero (Arbeitsstand)</h1><p class="note">Echtes Kling-Motiv unverändert verwendet. Text, CTA, Hintergrundvariante und Bildfokus sind unabhängig vom Bild editierbar. Dies ist ein statischer Demonstrator, noch keine Laravel-/Filament-Implementierung.</p><div class="panel" id="controls"><label>Variante<select id="variant"><option value="photo-split">Foto + Text</option><option value="editorial-solid">Navy Editorial</option></select></label><label>Überschrift<input id="title" value="Kinder stark im Alltag"></label><label>Einleitung<textarea id="description">Alltagsnahe Filme, Übungen und didaktische Materialien für die Präventionsarbeit mit Kindern.</textarea></label><label>Erster Button<input id="cta1" value="Materialien entdecken"></label><label>Zweiter Button<input id="cta2" value="Für Trainer und Einrichtungen"></label><label>Bildfokus<select id="focal"><option value="center-right">Mitte rechts</option><option value="right">Rechts</option><option value="center">Mitte</option><option value="center-left">Mitte links</option></select></label></div><div class="preview"><section class="lf-hero lf-hero--photo-split" id="hero"><img class="lf-hero__photo" src="../assets/lara-felix-park-hero.webp" alt="Lara und Felix stehen gemeinsam in einem Park" data-focus="center-right"><div class="lf-hero__inner"><div class="lf-hero__copy"><span class="lf-hero__eyebrow">Lara & Felix · Stark im Alltag</span><h2 class="lf-hero__title" id="heroTitle">Kinder stark im Alltag</h2><div class="lf-hero__title-accent" aria-hidden="true"></div><p class="lf-hero__description" id="heroDescription">Alltagsnahe Filme, Übungen und didaktische Materialien für die Präventionsarbeit mit Kindern.</p><div class="lf-hero__actions"><a href="#demo" class="lf-hero__button lf-hero__button--primary" id="button1">Materialien entdecken</a><a href="#demo" class="lf-hero__button lf-hero__button--secondary" id="button2">Für Trainer und Einrichtungen</a></div></div></div><span class="lf-hero__bottom" aria-hidden="true"></span></section></div><p class="note foot" id="demo">Demo-Links sind absichtlich nicht mit realen Zielseiten verbunden. Bildrechte und öffentliche Freigabe im CMS prüfen. Auf Mobilgeräten wird das Foto oberhalb des Textes gezeigt, damit Gesichter nicht durch eine Textüberlagerung verdeckt werden.</p></main><script>const $=x=>document.getElementById(x);const render=()=>{const h=$('hero');h.className='lf-hero lf-hero--'+$('variant').value;$('heroTitle').textContent=$('title').value;$('heroDescription').textContent=$('description').value;$('button1').textContent=$('cta1').value;$('button2').textContent=$('cta2').value;$('button1').hidden=!$('cta1').value.trim();$('button2').hidden=!$('cta2').value.trim();document.querySelector('.lf-hero__photo').dataset.focus=$('focal').value};$('controls').addEventListener('input',render);$('controls').addEventListener('change',render);</script></body></html>
|
||||
Reference in new issue
Block a user