diff --git a/src/lib/components/InputRange.svelte b/src/lib/components/InputRange.svelte index d1cc6e6..46c06c6 100644 --- a/src/lib/components/InputRange.svelte +++ b/src/lib/components/InputRange.svelte @@ -4,10 +4,31 @@ export let value = 50; - +
+ +

gar nicht

+

sehr

+
diff --git a/src/lib/components/Questions.svelte b/src/lib/components/Questions.svelte index d9cd759..1fb537c 100644 --- a/src/lib/components/Questions.svelte +++ b/src/lib/components/Questions.svelte @@ -6,6 +6,7 @@ import Button from './button.svelte'; import InputRange from './InputRange.svelte'; import { goto } from '$app/navigation'; + import Loader from './Loader.svelte'; let data = persisted<{ name: string; @@ -34,6 +35,7 @@ adelsTitel: undefined, adelsTitelSuggestions: [], provideAdelsTitel: undefined, + portraitPublic: true, confidence: undefined, confidenceAccepted: false, createPersonality: undefined @@ -87,20 +89,23 @@
- + {#if !$data.nameAccepted} Name akzeptieren {/if}
{#if ($data.name && $data.nameAccepted) || $data.confidence !== undefined}
- +
@@ -116,7 +121,9 @@ {#if $data.confidence !== undefined && $data.confidenceAccepted && $data.createPersonality === undefined}
- +
+ {:else if loadingPortrait} -

Portrait wird gemalt

+
+ +

Euer edles Antlitz wird gemalt

+
{:else if $data.portraitUrl}
{#if !$data.portraitAccepted} - - -
- Porträt annehmen Neues Porträt anfordern {/if}
@@ -258,15 +269,18 @@ {/if} {#if $data.portraitAccepted} -
- {#if isSubmitting} -
+ {#if isSubmitting} +
+
+

Einladung wird abgeschickt

-
- {:else} - - {/if} -
+
+
+ {:else} +
+ +
+ {/if} {/if}
@@ -276,7 +290,7 @@ justify-content: center; padding-block: 20px; margin: 0 auto; - width: 100%; + width: 99%; max-width: 500px; padding-block: 50px; font-size: 2em; @@ -299,8 +313,8 @@ width: 100%; font-size: 1em; margin: 0 auto; - width: fit-content; border-bottom: 1px solid white; + box-sizing: border-box; } input[type='text']::after { content: ''; @@ -309,16 +323,28 @@ width: 100%; } + select { + background: transparent; + color: white; + border: none; + padding: 5px; + border-bottom: 1px solid white; + } + + select > option { + color: black; + } section { color: white; font-family: 'Parisienne', cursive; max-width: 500px; + padding: 20px; margin: 0 auto; font-size: 2em; width: 70%; border-width: 30px; border-style: solid; - border-image: url(/border.svg); + border-image: url(/border_b.svg); border-image-repeat: stretch; border-image-slice: 100%; border-image-slice: 24% 23%; diff --git a/src/lib/components/TextSplit.svelte b/src/lib/components/TextSplit.svelte index c0b6804..779ef0c 100644 --- a/src/lib/components/TextSplit.svelte +++ b/src/lib/components/TextSplit.svelte @@ -31,7 +31,7 @@ animation: fadeIn 1s ease forwards; animation-delay: var(--delay); font-size: 0.7em; - color: #fffa; + color: #fffffff2; } @keyframes fadeIn { from { diff --git a/src/lib/components/button.svelte b/src/lib/components/button.svelte index f179dfb..e900d22 100644 --- a/src/lib/components/button.svelte +++ b/src/lib/components/button.svelte @@ -17,7 +17,7 @@ color: #ceba51; background: transparent; border-width: 30px; - border-image: url(/border.png); + border-image: url(/border_b.svg); border-image-repeat: stretch; border-image-slice: 100%; border-image-slice: 24% 23%; @@ -32,17 +32,17 @@ button::after { content: ''; position: absolute; - background: rgba(0, 0, 0, 0.7); - box-shadow: 0 0 70px #ffb11b22; + /*background: rgba(0, 0, 0, 0.7);*/ + filter: drop-shadow(0 0 70px #ffb11b22); top: -15px; left: -15px; z-index: -1; width: calc(100% + 30px); height: calc(100% + 30px); - transition: box-shadow 0.8s ease; + transition: filter 0.8s ease; } button:hover::after { - box-shadow: 0 0 40px #ffb11b55; + filter: drop-shadow(0 0 40px #ffb11b55); } diff --git a/src/lib/components/maskenball.svelte b/src/lib/components/maskenball.svelte index 76d8e2c..32048cf 100644 --- a/src/lib/components/maskenball.svelte +++ b/src/lib/components/maskenball.svelte @@ -8,7 +8,7 @@ font-family: Parisienne; color: #d9c556; text-align: center; - font-size: 4em; + font-size: min(7vw, 2em); margin-top: 0em; animation: fadeIn 5s ease forwards; animation-delay: 3s; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 61cd7fb..a6d1a9d 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,4 @@