Wygeneruj mi grafikę zachęcającą do zakupu raportu astrologicznego, która będzie…
- User
Wygeneruj mi grafikę zachęcającą do zakupu raportu astrologicznego, która będzie zawierała stronę tytułową i trzy strony przykładowe z różnych części raportów astrologicznych w formie horyzontalnego bannera do strony lejkowej z możliwością powiększenia go i podglądu do większych rozmiarów. Bez tekstu tylko układ czterech stron raportu.
- Assistant
Poniżej znajdziesz kompletny (responsywny) kod HTML + CSS + SVG, który od razu wyświetla horyzontalny banner 1920 × 600 px z czterema stronami raportu astrologicznego – tytułową i trzema przykładowymi.
• Grafika nie zawiera żadnego tekstu – wyłącznie układ i dekoracyjne elementy, które wizualnie sugerują rozmaite sekcje raportu.
• Po kliknięciu banner automatycznie, płynnie powiększa się do pełnej szerokości okna (light-box).
• Wystarczy skopiować cały kod do pliku .html i otworzyć w przeglądarce; nic więcej nie trzeba instalować.<!DOCTYPE html> <html lang="pl"> <head> <meta charset="UTF-8"> <title>Banner raport astrologiczny</title> <style> :root{ --w:1920; /* szerokość oryginalna */ --h:600; /* wysokość oryginalna */ --scale:.35; /* domyślne pomniejszenie widoku na lejku */ } body{ margin:0; background:#0c0d1d; display:flex; justify-content:center; align-items:center; height:100vh; } /* kontener bannera */ .banner-wrap{ width:calc(var(--w)*var(--scale)*1px); cursor:pointer; transition:all .4s ease; box-shadow:0 8px 20px rgba(0,0,0,.55); border-radius:12px; overflow:hidden; } /* efekt powiększenia */ .banner-wrap.open{ width:100%; height:auto; position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:9999; box-shadow:0 0 0 9999px rgba(0,0,0,.75); } svg{ width:100%; height:auto; display:block; } </style> </head> <body> <div class="banner-wrap" id="banner"> <!-- ========== BANNER SVG ========== --> <svg viewBox="0 0 1920 600" xmlns="http://www.w3.org/2000/svg"> <!-- Definicje gradientów, masek i gwiazd --> <defs> <!-- tło: nocne niebo --> <linearGradient id="bg-grad" x1="0%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" stop-color="#121432"/> <stop offset="100%" stop-color="#050612"/> </linearGradient> <!-- maska gwiazd (punktowe koła jako wycięcia) --> <mask id="star-mask"> <rect width="100%" height="100%" fill="white"/> <!-- losowe gwiazdki --> <g fill="black"> <circle cx="200" cy="90" r="2"/> <circle cx="300" cy="65" r="2"/> <circle cx="1700" cy="70" r="1.7"/> <circle cx="960" cy="130" r="2.2"/> <circle cx="1260" cy="90" r="1.5"/> <circle cx="400" cy="250" r="1.8"/> <circle cx="1550" cy="230" r="1.6"/> <circle cx="1800" cy="300" r="2.1"/> <circle cx="1400" cy="450" r="2.4"/> <circle cx="100" cy="480" r="2"/> <circle cx="600" cy="520" r="1.9"/> </g> </mask> <!-- gradient planetarny --> <radialGradient id="planet-grad" cx="50%" cy="50%" r="50%"> <stop offset="0%" stop-color="#fefefe"/> <stop offset="100%" stop-color="#c4c8ff"/> </radialGradient> <!-- gradient aspektów --> <linearGradient id="line-grad" x1="0%" y1="0%" x2="100%" y2="100%"> <stop offset="0%" stop-color="#92a1ff" stop-opacity=".85"/> <stop offset="100%" stop-color="#e9ebff" stop-opacity=".35"/> </linearGradient> </defs> <!-- tło + gwiazdy --> <rect width="1920" height="600" fill="url(#bg-grad)" mask="url(#star-mask)"/> <!-- ==== STRONA 1 – Tytułowa (0-480) ==== --> <g transform="translate(0 0)"> <!-- podkład (delikatna ramka) --> <rect x="20" y="20" width="440" height="560" rx="12" ry="12" fill="rgba(255,255,255,.03)" stroke="rgba(255,255,255,.07)" stroke-width="2"/> <!-- koło zodiaku --> <g transform="translate(240 300)"> <circle r="170" fill="none" stroke="#4753ff80" stroke-width="2"/> <circle r="140" fill="none" stroke="#4753ff40" stroke-width="1.5"/> <!-- promienie 12 segmentów --> <g stroke="#5865ff70" stroke-width="1.2"> <line x1="0" y1="0" x2="0" y2="-170" /> <line x1="0" y1="0" x2="147.2" y2="-85" /> <line x1="0" y1="0" x2="147.2" y2="85" /> <line x1="0" y1="0" x2="0" y2="170" /> <line x1="0" y1="0" x2="-147.2" y2="85"/> <line x1="0" y1="0" x2="-147.2" y2="-85"/> </g> <!-- małe punkty --> <circle r="4" fill="white"/> </g> </g> <!-- ==== STRONA 2 – Urodzeniowy kosmogram (480-960) ==== --> <g transform="translate(480 0)"> <rect x="20" y="20" width="440" height="560" rx="12" ry="12" fill="rgba(255,255,255,.025)" stroke="rgba(255,255,255,.05)" stroke-width="2"/> <!-- siatka --> <g transform="translate(240 300)"> <circle r="170" fill="none" stroke="#3c9aff70" stroke-width="1.4"/> <circle r="130" fill="none" stroke="#3c9aff50" stroke-width="1.2"/> <circle r="90" fill="none" stroke="#3c9aff40" stroke-width="1"/> <!-- osie x/y --> <line x1="-170" y1="0" x2="170" y2="0" stroke="#3c9aff80" stroke-width="1.4"/> <line x1="0" y1="-170" x2="0" y2="170" stroke="#3c9aff80" stroke-width="1.4"/> <!-- planety – punkty --> <g fill="url(#planet-grad)" stroke="white" stroke-width="0.6"> <circle cx="0" cy="-130" r="7"/> <circle cx="83" cy="-83" r="6"/> <circle cx="115" cy="0" r="6.5"/> <circle cx="70" cy="105" r="5.5"/> <circle cx="-55" cy="124" r="6"/> <circle cx="-120" cy="-30" r="6.5"/> <circle cx="-95" cy="50" r="5.5"/> <circle cx="0" cy="0" r="4.5"/> </g> </g> </g> <!-- ==== STRONA 3 – Aspekty (960-1440) ==== --> <g transform="translate(960 0)"> <rect x="20" y="20" width="440" height="560" rx="12" ry="12" fill="rgba(255,255,255,.02)" stroke="rgba(255,255,255,.05)" stroke-width="2"/> <!-- sieć aspektów --> <g transform="translate(240 300)"> <circle r="170" fill="none" stroke="#ff8a3c55" stroke-width="1.2" stroke-dasharray="4 6"/> <circle r="140" fill="none" stroke="#ff8a3c40" stroke-width="1"/> <!-- węzły --> <g fill="url(#planet-grad)" stroke="white" stroke-width="0.5"> <circle cx="0" cy="-170" r="5.5"/> <circle cx="147" cy="-85" r="5.5"/> <circle cx="147" cy="85" r="5.5"/> <circle cx="0" cy="170" r="5.5"/> <circle cx="-147" cy="85" r="5.5"/> <circle cx="-147" cy="-85" r="5.5"/> </g> <!-- linie aspektów --> <g stroke="url(#line-grad)" stroke-width="1.4" stroke-linecap="round" opacity=".9"> <line x1="0" y1="-170" x2="147" y2="85"/> <line x1="0" y1="-170" x2="-147" y2="-85"/> <line x1="147" y1="-85" x2="0" y2="170"/> <line x1="-147" y1="-85" x2="147" y2="-85"/> <line x1="-147" y1="85" x2="147" y2="85"/> </g> </g> </g> <!-- ==== STRONA 4 – Prognoza / timeline (1440-1920) ==== --> <g transform="translate(1440 0)"> <rect x="20" y="20" width="440" height="560" rx="12" ry="12" fill="rgba(255,255,255,.015)" stroke="rgba(255,255,255,.05)" stroke-width="2"/> <!-- przebieg fali / timeline --> <g transform="translate(40 80)"> <polyline fill="none" stroke="#58d6ff" stroke-width="3" stroke-linecap="round" points=" 0,200 70,150 140,220 210,100 280,260 350,160 420,240 490,90 560,210 640,130 720,200 "/> <!-- punkty zwrotne --> <g fill="#ffffff" stroke="#58d6ff" stroke-width="2"> <circle cx="0" cy="200" r="6"/> <circle cx="210" cy="100" r="6"/> <circle cx="350" cy="160" r="6"/> <circle cx="490" cy="90" r="6"/> <circle cx="640" cy="130" r="6"/> </g> </g> </g> </svg> <!-- ========== /BANNER SVG ========== --> </div> <script> /* powiększanie / zamykanie */ const banner = document.getElementById('banner'); banner.addEventListener('click', ()=> banner.classList.toggle('open') ); </script> </body> </html>Najważniejsze cechy:
• Banner składa się z czterech wycinków (po 480 px szerokości), co odpowiada tytułowi + 3 próbkom raportu.
• Całość zbudowana w SVG (wektor), więc można dowolnie skalować (zachowa ostrość).
• Nie zawiera tekstu – same abstrakcyjne, „kosmiczne” elementy sugerujące wykresy, aspekty i prognozę.
• Kliknięcie powoduje powiększenie (klasa.open) i tworzy pół-transparentne „zaciemnienie” tła, działające jak light-box.
• Jeśli potrzebujesz tylko samego obrazu, skopiuj blok<svg>…</svg>do osobnego pliku.svgbądź wrzuć do Canvy/Figmy jako gotowy element.Gotowe! Wgraj plik na swoją stronę lejkową i ciesz się interaktywnym podglądem raportu astrologicznego 🚀
- User
To right answer B-> wygeneruj taki banner.
- Assistant
Poniżej znajdziesz od razu gotowy plik (HTML + CSS + SVG + JS) – po prostu skopiuj go do np. banner.html i otwórz w przeglądarce.
• Horyzontalny banner 1920 × 600 px (4 „strony”: okładka + 3 przykłady).
• Zero tekstu – jedynie układ i motywy astrologiczne.
• Kliknięcie powiększa banner do pełnej szerokości okna (light-box), ponowne kliknięcie zamyka.
• Wszystko wektorowe (SVG) – nie traci jakości przy skalowaniu.<!DOCTYPE html> <html lang="pl"> <head> <meta charset="UTF-8"> <title>Banner – Raport astrologiczny</title> <style> :root{ --banner-w:1920px; --banner-h:600px; --thumb-scale:.35; /* widok mini (np. w lejku) */ } /* reset + tło strony */ *{box-sizing:border-box;padding:0;margin:0} body{ min-height:100vh; display:flex; justify-content:center; align-items:center; background:#0a0b1c; font-family:system-ui,sans-serif; } /* kontener bannera */ .banner{ width:calc(var(--banner-w) * var(--thumb-scale)); cursor:pointer; transition:.4s ease; border-radius:14px; overflow:hidden; box-shadow:0 8px 18px rgba(0,0,0,.55); } /* stan „open” (light-box) */ .banner.open{ position:fixed; z-index:9999; top:50%;left:50%; transform:translate(-50%,-50%); width:100%; max-width:var(--banner-w); height:auto; box-shadow:0 0 0 9999px rgba(0,0,0,.8); } svg{width:100%;height:auto;display:block} </style> </head> <body> <!-- BANNER --> <div class="banner" id="astrobanner"> <svg viewBox="0 0 1920 600" xmlns="http://www.w3.org/2000/svg"> <!-- ---------- DEFINICJE ---------- --> <defs> <!-- gradient nocnego nieba --> <linearGradient id="sky" x1="0" y1="0" x2="0" y2="1"> <stop offset="0%" stop-color="#131535"/> <stop offset="100%" stop-color="#050613"/> </linearGradient> <!-- „gwiazdki” (mask) --> <mask id="stars"> <rect width="1920" height="600" fill="white"/> <g fill="black"> <!-- kilkanaście kropek --> <circle r="2" cx="180" cy="70"/> <circle r="1.8" cx="310" cy="110"/> <circle r="2.3" cx="780" cy="90"/> <circle r="2" cx="1120" cy="60"/> <circle r="2.2" cx="1630" cy="120"/> <circle r="1.5" cx="350" cy="260"/> <circle r="1.9" cx="1400" cy="180"/> <circle r="2.1" cx="1750" cy="220"/> <circle r="2.4" cx="90" cy="350"/> <circle r="2" cx="890" cy="430"/> <circle r="1.7" cx="1550" cy="390"/> <circle r="2.5" cx="610" cy="500"/> <circle r="2" cx="1290" cy="520"/> <circle r="1.8" cx="1900" cy="470"/> </g> </mask> <!-- białawy gradient planet --> <radialGradient id="planet" cx=".5" cy=".5" r=".5"> <stop offset="0%" stop-color="#ffffff"/> <stop offset="100%" stop-color="#c5caef"/> </radialGradient> <!-- gradient linii aspektów --> <linearGradient id="aspect-line" x1="0" y1="0" x2="1" y2="1"> <stop offset="0%" stop-color="#7ea2ff" stop-opacity=".85"/> <stop offset="100%" stop-color="#d1d8ff" stop-opacity=".35"/> </linearGradient> </defs> <!-- ---------- TŁO ---------- --> <rect width="1920" height="600" fill="url(#sky)" mask="url(#stars)"/> <!-- ============================================================ --> <!-- 1) STRONA TYTUŁOWA (x: 0-480) ------------------------------- --> <g transform="translate(0 0)"> <rect x="20" y="20" width="440" height="560" rx="14" fill="rgba(255,255,255,.03)" stroke="rgba(255,255,255,.07)" stroke-width="2"/> <!-- Koło zodiaku – proste koła + podział 12 --> <g transform="translate(240 300)"> <circle r="165" fill="none" stroke="#4953ff80" stroke-width="2"/> <circle r="130" fill="none" stroke="#4953ff40" stroke-width="1.6"/> <!-- podział 6 promieni = 12 znaków --> <g stroke="#5865ff70" stroke-width="1.3"> <line x1="0" y1="0" x2="0" y2="-165"/> <line x1="0" y1="0" x2="143" y2="-82"/> <line x1="0" y1="0" x2="143" y2="82"/> <line x1="0" y1="0" x2="0" y2="165"/> <line x1="0" y1="0" x2="-143" y2="82"/> <line x1="0" y1="0" x2="-143" y2="-82"/> </g> <circle r="4.5" fill="#fff"/> </g> </g> <!-- ============================================================ --> <!-- 2) NATAL CHART (x: 480-960) -------------------------------- --> <g transform="translate(480 0)"> <rect x="20" y="20" width="440" height="560" rx="14" fill="rgba(255,255,255,.025)" stroke="rgba(255,255,255,.06)" stroke-width="2"/> <g transform="translate(240 300)"> <!-- siatka --> <circle r="165" fill="none" stroke="#3fa1ff70" stroke-width="1.3"/> <circle r="120" fill="none" stroke="#3fa1ff50" stroke-width="1.2"/> <circle r="75" fill="none" stroke="#3fa1ff40" stroke-width="1.1"/> <!-- osie --> <line x1="-165" y1="0" x2="165" y2="0" stroke="#3fa1ff80" stroke-width="1.4"/> <line x1="0" y1="-165" x2="0" y2="165" stroke="#3fa1ff80" stroke-width="1.4"/> <!-- planety --> <g fill="url(#planet)" stroke="#fff" stroke-width="0.65"> <circle cx="0" cy="-120" r="7"/> <circle cx="85" cy="-85" r="6.5"/> <circle cx="115" cy="0" r="6.5"/> <circle cx="70" cy="105" r="6"/> <circle cx="-65" cy="125" r="6"/> <circle cx="-120" cy="-25" r="6.5"/> <circle cx="-95" cy="60" r="5.5"/> <circle cx="0" cy="0" r="4.5"/> </g> </g> </g> <!-- ============================================================ --> <!-- 3) ASPEKTY (x: 960-1440) ----------------------------------- --> <g transform="translate(960 0)"> <rect x="20" y="20" width="440" height="560" rx="14" fill="rgba(255,255,255,.02)" stroke="rgba(255,255,255,.05)" stroke-width="2"/> <g transform="translate(240 300)"> <circle r="165" fill="none" stroke="#ff8d3c55" stroke-width="1.2" stroke-dasharray="4 7"/> <circle r="135" fill="none" stroke="#ff8d3c40" stroke-width="1"/> <!-- węzły (6) --> <g fill="url(#planet)" stroke="#fff" stroke-width="0.55"> <circle r="5.5" cx="0" cy="-165"/> <circle r="5.5" cx="143" cy="-82"/> <circle r="5.5" cx="143" cy="82"/> <circle r="5.5" cx="0" cy="165"/> <circle r="5.5" cx="-143" cy="82"/> <circle r="5.5" cx="-143" cy="-82"/> </g> <!-- linie aspektów --> <g stroke="url(#aspect-line)" stroke-width="1.45" stroke-linecap="round" opacity=".9"> <line x1="0" y1="-165" x2="143" y2="82"/> <line x1="0" y1="-165" x2="-143" y2="-82"/> <line x1="143" y1="-82" x2="0" y2="165"/> <line x1="-143" y1="-82" x2="143" y2="-82"/> <line x1="-143" y1="82" x2="143" y2="82"/> </g> </g> </g> <!-- ============================================================ --> <!-- 4) PROGNOZA / TIMELINE (x: 1440-1920) ----------------------- --> <g transform="translate(1440 0)"> <rect x="20" y="20" width="440" height="560" rx="14" fill="rgba(255,255,255,.015)" stroke="rgba(255,255,255,.05)" stroke-width="2"/> <!-- fala / timeline --> <g transform="translate(40 80)"> <polyline fill="none" stroke="#5adeff" stroke-width="3" stroke-linecap="round" points="0,200 65,155 130,225 195,110 260,260 325,150 390,240 455,90 520,200 585,140 650,200"/> <!-- punkty zwrotne--> <g fill="#fff" stroke="#5adeff" stroke-width="2"> <circle cx="0" cy="200" r="6"/> <circle cx="195" cy="110" r="6"/> <circle cx="325" cy="150" r="6"/> <circle cx="455" cy="90" r="6"/> <circle cx="585" cy="140" r="6"/> </g> </g> </g> </svg> </div> <script> /* proste powiększanie */ const banner = document.getElementById('astrobanner'); banner.addEventListener('click', ()=> banner.classList.toggle('open')); </script> </body> </html>Jak użyć:
- Skopiuj powyższy kod do pliku
banner.html. - Otwórz go – zobaczysz zmniejszony banner.
- Kliknij, aby powiększyć (kolejne kliknięcie zamknie podgląd).
W razie potrzeby możesz: • Zmienić wartość
--thumb-scale(np. 0.25 / 0.4), aby dopasować rozmiar miniatury.
• Jeśli chcesz tylko statyczny obraz, skopiuj zawartość bloku<svg>…</svg>do pliku.svgi osadź gdzie chcesz.Gotowe – banner spełnia wszystkie założenia (4 „strony”, zero tekstu, możliwość powiększenia) 🚀
- Skopiuj powyższy kod do pliku
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.