ch/streamlines formatting|fx/adds missing section

This commit is contained in:
itsscb 2024-04-22 23:11:22 +02:00
parent 0eed063478
commit 50d7ce24ea
9 changed files with 400 additions and 388 deletions

8
dist/index.html vendored
View File

@ -6,15 +6,15 @@
<link rel="icon" href="/favicon-928ba63f33046eed.ico" integrity="sha384-Neq57jnFrTfqAN1JvKAVVVcH1EW3//cZHmK2NRXRlNrxAZR6ErTvXzbOLSyHzkA4"> <link rel="icon" href="/favicon-928ba63f33046eed.ico" integrity="sha384-Neq57jnFrTfqAN1JvKAVVVcH1EW3//cZHmK2NRXRlNrxAZR6ErTvXzbOLSyHzkA4">
<link rel="preload" href="/digitaler-frieden-41eb229f6c516288_bg.wasm" crossorigin="anonymous" integrity="sha384-Q0T2T56iiwSG02s/4mtEOdpxvjBQbyYxts2yi95aI8YYmrLSsFL7e/o4rGVHjMSm" as="fetch" type="application/wasm"> <link rel="preload" href="/digitaler-frieden-6ccedcde5d939437_bg.wasm" crossorigin="anonymous" integrity="sha384-4ifYi1pq8Ih1mVjDI+GTtnXXbMv7C3BjH7mTEpcg7Qk+P/pU0vfUZgVbb1zBmslJ" as="fetch" type="application/wasm">
<link rel="modulepreload" href="/digitaler-frieden-41eb229f6c516288.js" crossorigin="anonymous" integrity="sha384-5owiTz49KdxhXPCnfR2GokkJnFqa++HeraekuGgskT+OizWrNTANvcXzigi62YCH"></head> <link rel="modulepreload" href="/digitaler-frieden-6ccedcde5d939437.js" crossorigin="anonymous" integrity="sha384-5owiTz49KdxhXPCnfR2GokkJnFqa++HeraekuGgskT+OizWrNTANvcXzigi62YCH"></head>
<body class="bg-black text-white "> <body class="bg-black text-white ">
<script type="module"> <script type="module">
import init, * as bindings from '/digitaler-frieden-41eb229f6c516288.js'; import init, * as bindings from '/digitaler-frieden-6ccedcde5d939437.js';
init('/digitaler-frieden-41eb229f6c516288_bg.wasm'); init('/digitaler-frieden-6ccedcde5d939437_bg.wasm');
window.wasmBindings = bindings; window.wasmBindings = bindings;
</script><script>"use strict"; </script><script>"use strict";

View File

@ -8,8 +8,8 @@ pub fn Clues() -> Html {
html! { html! {
<div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0"> <div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0">
<section id="navigation" class="mb-12"> <section id="navigation" class="mb-12">
<h3 <h3
class="text-primary class="text-primary
hover:bg-text-dark hover:bg-text-dark
hover:text-white hover:text-white
hover:-translate-y-1 hover:-translate-y-1
@ -22,158 +22,159 @@ pub fn Clues() -> Html {
top-4 top-4
left-4 left-4
" "
> >
<Link<Route> to={Route::Deceased}> <Link<Route> to={Route::Deceased}>
<div class="flex items-center"> <div class="flex items-center">
<svg <svg
class="w-8 " class="w-8 "
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="currentColor" fill="currentColor"
> >
<path d="M0 0h24v24H0z" fill="none" /> <path d="M0 0h24v24H0z" fill="none" />
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" /> <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
</svg> </svg>
{ "Zurück" } { "Zurück" }
</div> </div>
</Link<Route>> </Link<Route>>
</h3> </h3>
<img <img
src="public/digitaler-frieden_logo.jpg" src="public/digitaler-frieden_logo.jpg"
alt="logo digitaler frieden" alt="logo digitaler frieden"
class="absolute top-4 right-4 md:min-w-56 md:w-56 w-0" class="absolute top-4 right-4 md:min-w-56 md:w-56 w-0"
/> />
</section> </section>
<section class="fade-in w-full max-w-lg" id="content"> <section class="fade-in w-full max-w-lg" id="content">
<div class="flex flex-col items-center justify-between"> <div class="flex flex-col items-center justify-between">
<div class="flex flex-col items-start"> <div class="flex flex-col items-start">
<h3 class="text-3xl font-bold mb-4">{ "Spurhinweise hinzufügen" }</h3> <h3 class="text-3xl font-bold mb-4">{ "Spurhinweise hinzufügen" }</h3>
<p class="mb-6"> <p class="mb-6">
{ "Füge alle dir bekannten E-Mail Adressen und Telefonnummern hinzu." } { "Füge alle dir bekannten E-Mail Adressen und Telefonnummern hinzu." }
</p> </p>
<div <div
class="flex flex-col justify-between items-center w-full mb-10 space-y-4 md:space-y-4" class="flex flex-col justify-between items-center w-full mb-10 space-y-4 md:space-y-4"
> >
<div class="flex justify-between w-full relative"> <div class="flex justify-between w-full relative">
<h3 class="font-bold text-2xl ">{ "E-Mail Adressen" }</h3> <h3 class="font-bold text-2xl ">{ "E-Mail Adressen" }</h3>
<svg <svg
class="text-primary w-10 absolute right-4" class="text-primary w-10 absolute right-4"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="currentColor" fill="currentColor"
> >
<path d="M0 0h24v24H0z" fill="none" /> <path d="M0 0h24v24H0z" fill="none" />
<path <path
d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
/> />
</svg> </svg>
</div>
<div class="flex justify-start items-center space-x-4 w-full">
<svg
class="w-10 text-danger"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M0 0h24v24H0z" fill="none" />
<path
d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
/>
</svg>
<p class="text-md">{ "max.mustermann@example.com" }</p>
</div>
<div class="flex justify-start items-center w-full space-x-4">
<svg
class="w-10 text-danger"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M0 0h24v24H0z" fill="none" />
<path
d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
/>
</svg>
<p class="text-md">{ "jon.doe@blub.com" }</p>
</div>
</div> </div>
<div class="flex justify-start items-center space-x-4 w-full"> <div
<svg class="flex flex-col justify-center items-center w-full mb-6 space-y-4 md:space-y-4"
class="w-10 text-danger" >
xmlns="http://www.w3.org/2000/svg" <div class="flex justify-between w-full relative">
viewBox="0 0 24 24" <h3 class="font-bold text-2xl ">{ "Telefonnummern" }</h3>
fill="currentColor" <svg
> class="text-primary w-10 absolute right-4"
<path d="M0 0h24v24H0z" fill="none" /> xmlns="http://www.w3.org/2000/svg"
<path viewBox="0 0 24 24"
d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" fill="currentColor"
/> >
</svg> <path d="M0 0h24v24H0z" fill="none" />
<p class="text-md">{ "max.mustermann@example.com" }</p> <path
</div> d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
<div class="flex justify-start items-center w-full space-x-4"> />
<svg </svg>
class="w-10 text-danger" </div>
xmlns="http://www.w3.org/2000/svg" <div class="flex justify-start items-center space-x-4 w-full">
viewBox="0 0 24 24" <svg
fill="currentColor" class="w-10 text-danger"
> xmlns="http://www.w3.org/2000/svg"
<path d="M0 0h24v24H0z" fill="none" /> viewBox="0 0 24 24"
<path fill="currentColor"
d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" >
/> <path d="M0 0h24v24H0z" fill="none" />
</svg> <path
<p class="text-md">{ "jon.doe@blub.com" }</p> d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
</div> />
</div> </svg>
<div <p class="text-md">{ "+49 1234 567 890" }</p>
class="flex flex-col justify-center items-center w-full mb-6 space-y-4 md:space-y-4" </div>
> <div class="flex justify-start items-center w-full space-x-4">
<div class="flex justify-between w-full relative"> <svg
<h3 class="font-bold text-2xl ">{ "Telefonnummern" }</h3> class="w-10 text-danger"
<svg xmlns="http://www.w3.org/2000/svg"
class="text-primary w-10 absolute right-4" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" fill="currentColor"
viewBox="0 0 24 24" >
fill="currentColor" <path d="M0 0h24v24H0z" fill="none" />
> <path
<path d="M0 0h24v24H0z" fill="none" /> d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
<path />
d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" </svg>
/> <p class="text-md">{ "+49 9876 543 210" }</p>
</svg> </div>
</div>
<div class="flex justify-start items-center space-x-4 w-full">
<svg
class="w-10 text-danger"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M0 0h24v24H0z" fill="none" />
<path
d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
/>
</svg>
<p class="text-md">{ "+49 1234 567 890" }</p>
</div>
<div class="flex justify-start items-center w-full space-x-4">
<svg
class="w-10 text-danger"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M0 0h24v24H0z" fill="none" />
<path
d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
/>
</svg>
<p class="text-md">{ "+49 9876 543 210" }</p>
</div> </div>
</div> </div>
</div> </div>
</div>
</section> </section>
<section id="next" class="fade-in w-full flex justify-center max-w-lg mb-4"> <section id="next" class="fade-in w-full flex justify-center max-w-lg mb-4">
<Link<Route> <Link<Route>
to={Route::Relationship} to={Route::Relationship}
classes={classes!("bg-primary", classes={classes!(
"hover:bg-primary-dark", "bg-primary",
"hover:text-white", "hover:bg-primary-dark",
"hover:-translate-y-1", "hover:text-white",
"hover:cursor-pointer", "hover:-translate-y-1",
"transition", "hover:cursor-pointer",
"duration-150", "transition",
"font-bold", "duration-150",
"text-xl", "font-bold",
"max-w-xl", "text-xl",
"rounded-md", "max-w-xl",
"text-black", "rounded-md",
"text-center", "text-black",
"w-full", "text-center",
"min-h-16", "w-full",
"h-16", "min-h-16",
"flex", "h-16",
"justify-center", "flex",
"items-center", "justify-center",
"mb-12", "items-center",
)} "mb-12",
> )}
{ "Weiter" } >
</Link<Route>> { "Weiter" }
</section> </Link<Route>>
</section>
</div> </div>
} }
} }

View File

@ -116,7 +116,7 @@ pub fn Deceased() -> Html {
</div> </div>
</div> </div>
</section> </section>
<section id="next" class="w-full fade-in flex justify-center max-w-lg "> <section id="next" class="w-full fade-in flex justify-center max-w-lg mb-6">
<Link<Route> <Link<Route>
to={Route::Clues} to={Route::Clues}
classes={yew::classes!( classes={yew::classes!(

View File

@ -9,7 +9,7 @@ pub fn Register() -> Html {
<div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0"> <div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0">
<section id="navigation" class="mb-2 md:mb-12 lg:mb-0"> <section id="navigation" class="mb-2 md:mb-12 lg:mb-0">
<h3 <h3
class="text-primary class="text-primary
hover:bg-text-dark hover:bg-text-dark
hover:text-white hover:text-white
hover:-translate-y-1 hover:-translate-y-1
@ -22,91 +22,94 @@ pub fn Register() -> Html {
top-4 top-4
left-4 left-4
" "
> >
<Link<Route> to={Route::SignUp}> <Link<Route> to={Route::SignUp}>
<div class="flex items-center"> <div class="flex items-center">
<svg <svg
class="w-8 " class="w-8 "
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="currentColor" fill="currentColor"
> >
<path d="M0 0h24v24H0z" fill="none" /> <path d="M0 0h24v24H0z" fill="none" />
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" /> <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
</svg> </svg>
{ "Zurück" } { "Zurück" }
</div> </div>
</Link<Route>> </Link<Route>>
</h3> </h3>
<img <img
src="public/digitaler-frieden_logo.jpg" src="public/digitaler-frieden_logo.jpg"
alt="logo digitaler frieden" alt="logo digitaler frieden"
class="absolute top-4 right-4 md:-w-56 md:w-56 md:h-auto w-0 h-0" class="absolute top-4 right-4 md:-w-56 md:w-56 md:h-auto w-0 h-0"
/> />
</section> </section>
<section id="content" class="fade-in w-full max-w-lg"> <section id="content" class="fade-in w-full max-w-lg">
<div class="flex flex-col items-start"> <div class="flex flex-col items-start">
<h3 class="text-3xl font-bold mb-6">{ "Registrierung abschließen" }</h3> <h3 class="text-3xl font-bold mb-6">{ "Registrierung abschließen" }</h3>
<div class="group max-w-xl w-full mb-4"> <div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Vorname" }</p> <p class="text-start text-md mb-1">{ "Vorname" }</p>
<input <input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md" class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text" type="text"
/> />
</div> </div>
<div class="group max-w-xl w-full mb-4"> <div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Nachname" }</p> <p class="text-start text-md mb-1">{ "Nachname" }</p>
<input <input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md" class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text" type="text"
/> />
</div> </div>
<div class="group max-w-xl w-full mb-4"> <div class="group max-w-xl w-full mb-4">
<div class="flex justify-between space-x-4"> <div class="flex justify-between space-x-4">
<div class="w-full"> <div class="w-full">
<p class="text-start text-md mb-1">{ "Straße" }</p> <p class="text-start text-md mb-1">{ "Straße" }</p>
<input <input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md" class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text" type="text"
/> />
</div> </div>
<div class="w-24"> <div class="w-24">
<p class="text-start text-md mb-1 w-16">{ "Nr." }</p> <p class="text-start text-md mb-1 w-16">{ "Nr." }</p>
<input <input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md" class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text" type="text"
/> />
</div>
</div> </div>
</div> </div>
<div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Postleitzahl" }</p>
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
<div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Ort" }</p>
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
<div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Telefonnummer" }</p>
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
<div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Geburtsort" }</p>
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
</div> </div>
<div class="group max-w-xl w-full mb-4"> </section>
<p class="text-start text-md mb-1">{ "Postleitzahl" }</p> <section id="next" class="fade-in mb-6 w-full flex justify-center items-center">
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
<div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Ort" }</p>
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
<div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Telefonnummer" }</p>
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
<div class="group max-w-xl w-full mb-4">
<p class="text-start text-md mb-1">{ "Geburtsort" }</p>
<input
class="duration-700 font-bold text-md transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-b text-center focus-within:text-black w-full h-10 rounded-md"
type="text"
/>
</div>
<Link<Route> <Link<Route>
to={Route::Deceased} to={Route::Deceased}
classes={classes!( classes={classes!(
@ -123,12 +126,11 @@ pub fn Register() -> Html {
"text-center", "text-center",
"w-full", "w-full",
"h-16", "h-16",
"mt-20", "flex", "justify-center", "items-center", "mb-12","flex", "justify-center", "items-center",
)} )}
> >
{ "Weiter" } { "Weiter" }
</Link<Route>> </Link<Route>>
</div>
</section> </section>
</div> </div>
} }

View File

@ -10,9 +10,9 @@ pub fn Relationship() -> Html {
html! { html! {
<div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0"> <div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0">
<section id="navigation" class="mb-2 md:mb-32"> <section id="navigation" class="mb-2 md:mb-32">
<div class="flex justify-between"> <div class="flex justify-between">
<h3 <h3
class="text-primary class="text-primary
hover:bg-text-dark hover:bg-text-dark
hover:text-white hover:text-white
hover:-translate-y-1 hover:-translate-y-1
@ -26,81 +26,81 @@ pub fn Relationship() -> Html {
top-4 top-4
left-4 left-4
" "
> >
<Link<Route> to={Route::Clues}> <Link<Route> to={Route::Clues}>
<div class="flex items-center"> <div class="flex items-center">
<svg <svg
class="w-8 " class="w-8 "
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="currentColor" fill="currentColor"
> >
<path d="M0 0h24v24H0z" fill="none" /> <path d="M0 0h24v24H0z" fill="none" />
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" /> <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
</svg> </svg>
{ "Zurück" } { "Zurück" }
</div> </div>
</Link<Route>> </Link<Route>>
</h3> </h3>
<img <img
src="public/digitaler-frieden_logo.jpg" src="public/digitaler-frieden_logo.jpg"
alt="logo digitaler frieden" alt="logo digitaler frieden"
class="absolute top-4 right-4 md:min-w-56 md:w-56 w-0" class="absolute top-4 right-4 md:min-w-56 md:w-56 w-0"
/> />
</div> </div>
</section> </section>
<section id="content" class={classes}> <section id="content" class={classes}>
<div class="flex flex-col items-center "> <div class="flex flex-col items-center ">
<h3 class="text-3xl font-bold mb-6 text-center"> <h3 class="text-3xl font-bold mb-6 text-center">
{ "In welcher Beziehung stehst du zu der verstorbenen Person?" } { "In welcher Beziehung stehst du zu der verstorbenen Person?" }
</h3> </h3>
<div class="flex flex-col items-start min-w-72 md:w-auto mb-32"> <div class="flex flex-col items-start min-w-72 md:w-auto mb-32">
<div class="flex items-center mb-4"> <div class="flex items-center mb-4">
<input <input
id="relationship-widow" id="relationship-widow"
type="radio" type="radio"
value="" value=""
name="relationship" name="relationship"
class="w-4 h-4 accent-primary" class="w-4 h-4 accent-primary"
/> />
<label for="relationship-widow" class="ms-2 "> <label for="relationship-widow" class="ms-2 ">
{ "Ich bin die Witwe / der Witwer der verstorbenen Person" } { "Ich bin die Witwe / der Witwer der verstorbenen Person" }
</label> </label>
</div>
<div class="flex items-center mb-4">
<input
id="relationship-soleheir"
type="radio"
value=""
name="relationship"
class="w-4 h-4 text-primary accent-primary"
/>
<label for="relationship-soleheir" class="ms-2">
<p>
{ "Ich bin notarielle(r) " }
<u>
<strong>{ "Alleinerbin / Alleinerbe" }</strong>
</u>
</p>
</label>
</div>
<div class="flex items-center mb-4">
<input
id="relationship-child"
type="radio"
value=""
name="relationship"
class="w-4 h-4 accent-primary"
/>
<label for="relationship-child" class="ms-2">
{ "Ich bin ein Kind der verstorbenen Person" }
</label>
</div>
</div> </div>
<div class="flex items-center mb-4"> <div class="flex justify-center max-w-xl w-full mb-6">
<input <Link<Route>
id="relationship-soleheir" to={Route::Relationship}
type="radio" classes={classes!("bg-primary",
value=""
name="relationship"
class="w-4 h-4 text-primary accent-primary"
/>
<label for="relationship-soleheir" class="ms-2">
<p>
{ "Ich bin notarielle(r) " }
<u>
<strong>{ "Alleinerbin / Alleinerbe" }</strong>
</u>
</p>
</label>
</div>
<div class="flex items-center mb-4">
<input
id="relationship-child"
type="radio"
value=""
name="relationship"
class="w-4 h-4 accent-primary"
/>
<label for="relationship-child" class="ms-2">
{ "Ich bin ein Kind der verstorbenen Person" }
</label>
</div>
</div>
<div class="flex justify-center max-w-xl w-full mb-6">
<Link<Route>
to={Route::Relationship}
classes={classes!("bg-primary",
"hover:bg-primary-dark", "hover:bg-primary-dark",
"hover:text-white", "hover:text-white",
"hover:-translate-y-1", "hover:-translate-y-1",
@ -119,12 +119,13 @@ pub fn Relationship() -> Html {
"flex", "flex",
"justify-center", "justify-center",
"items-center", "items-center",
"mb-12",
)} )}
> >
{ "Weiter" } { "Weiter" }
</Link<Route>> </Link<Route>>
</div>
</div> </div>
</div>
</section> </section>
</div> </div>
} }

View File

@ -6,11 +6,10 @@ use crate::router::Route;
#[function_component] #[function_component]
pub fn SignUp() -> Html { pub fn SignUp() -> Html {
html! { html! {
<div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0"> <div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0">
<section id="navigation" class="mb-12"> <section id="navigation" class="mb-12">
<h3
<h3 class="text-primary
class="text-primary
hover:bg-text-dark hover:bg-text-dark
hover:text-white hover:text-white
hover:-translate-y-1 hover:-translate-y-1
@ -23,48 +22,48 @@ pub fn SignUp() -> Html {
left-4 left-4
absolute absolute
" "
> >
<Link<Route> to={Route::Home}> <Link<Route> to={Route::Home}>
<div class="flex items-center"> <div class="flex items-center">
<svg <svg
class="w-8 " class="w-8 "
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="currentColor" fill="currentColor"
> >
<path d="M0 0h24v24H0z" fill="none" /> <path d="M0 0h24v24H0z" fill="none" />
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" /> <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
</svg> </svg>
{ "Zurück" } { "Zurück" }
</div> </div>
</Link<Route>> </Link<Route>>
</h3> </h3>
<img <img
src="public/digitaler-frieden_logo.jpg" src="public/digitaler-frieden_logo.jpg"
alt="logo digitaler frieden" alt="logo digitaler frieden"
class="top-4 right-4 absolute md:min-w-56 md:w-56 w-0" class="top-4 right-4 absolute md:min-w-56 md:w-56 w-0"
/> />
</section> </section>
<section id="content" class="w-full fade-in"> <section id="content" class="w-full fade-in">
<div class="min-height mt-64 md:flex md:flex-col md:items-center"> <div class="min-height mt-64 md:flex md:flex-col md:items-center">
<h3 class="text-3xl font-bold mb-6">{ "Jetzt registrieren" }</h3> <h3 class="text-3xl font-bold mb-6">{ "Jetzt registrieren" }</h3>
<p>{ "Gib deine E-Mail Adresse ein." }</p> <p>{ "Gib deine E-Mail Adresse ein." }</p>
<div class="group max-w-xl w-full mb-4"> <div class="group max-w-xl w-full mb-4">
<input <input
class="duration-700 font-bold text-lg transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-2 text-center text-primary focus-within:text-black w-full h-16 mt-4 rounded-md" class="duration-700 font-bold text-lg transition group-hover:cursor-pointer bg-transparent border-white hover:border-[#33d9b2] hover:curser-pointer focus-within:bg-[#33d9b2] active:bg-[#33d9b2] border-2 text-center text-primary focus-within:text-black w-full h-16 mt-4 rounded-md"
type="text" type="text"
/> />
</div> </div>
<div class="flex justify-between max-w-xl w-full"> <div class="flex justify-between max-w-xl w-full">
<div <div
class="text-primary hover:text-white class="text-primary hover:text-white
hover:-translate-y-1 hover:-translate-y-1
hover:cursor-pointer hover:cursor-pointer
transition duration-150 transition duration-150
" "
> >
<Link<Route> to={Route::SignUp}>{ "Stattdessen anmelden" }</Link<Route>> <Link<Route> to={Route::SignUp}>{ "Stattdessen anmelden" }</Link<Route>>
</div> </div>
<Link<Route> <Link<Route>
to={Route::Verify} to={Route::Verify}
classes={classes!( classes={classes!(
@ -82,13 +81,14 @@ pub fn SignUp() -> Html {
"w-full", "w-full",
"min-h-12", "min-h-12",
"h-12", "h-12",
"flex", "justify-center", "items-center", "flex", "justify-center", "items-center","mb-12"
)} )}
> >
{ "Weiter" } { "Weiter" }
</Link<Route>> </Link<Route>>
</div>
</div> </div>
</div> </section>
</section></div> </div>
} }
} }

View File

@ -6,10 +6,10 @@ use crate::router::Route;
#[function_component] #[function_component]
pub fn Verify() -> Html { pub fn Verify() -> Html {
html! { html! {
<div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0"> <div class="flex flex-col justify-center items-center h-full space-y-16 px-8 m-0">
<section id="navigation" class="mb-2 md:mb-12 lg:mb-0"> <section id="navigation" class="mb-2 md:mb-12 lg:mb-0">
<h3 <h3
class="text-primary class="text-primary
hover:bg-text-dark hover:bg-text-dark
hover:text-white hover:text-white
hover:-translate-y-1 hover:-translate-y-1
@ -22,37 +22,45 @@ pub fn Verify() -> Html {
top-4 top-4
left-4 left-4
" "
> >
<Link<Route> to={Route::SignUp}> <Link<Route> to={Route::SignUp}>
<div class="flex items-center"> <div class="flex items-center">
<svg <svg
class="w-8 " class="w-8 "
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24" viewBox="0 0 24 24"
fill="currentColor" fill="currentColor"
> >
<path d="M0 0h24v24H0z" fill="none" /> <path d="M0 0h24v24H0z" fill="none" />
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" /> <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
</svg> </svg>
{ "Zurück" } { "Zurück" }
</div> </div>
</Link<Route>> </Link<Route>>
</h3> </h3>
<img <img
src="public/digitaler-frieden_logo.jpg" src="public/digitaler-frieden_logo.jpg"
alt="logo digitaler frieden" alt="logo digitaler frieden"
class="absolute top-4 right-4 md:min-w-56 md:w-56 w-0" class="absolute top-4 right-4 md:min-w-56 md:w-56 w-0"
/> />
</section> </section>
<section id="content" class="fade-in"> <section id="content" class="fade-in">
<div class="flex flex-col items-center"> <div class="flex flex-col items-center">
<h3 class="text-3xl font-bold mb-6">{ "Verifizieren" }</h3> <h3 class="text-3xl font-bold mb-6">{ "Verifizieren" }</h3>
<div class="flex flex-col items-start min-w-72 md:w-auto"> <div class="flex flex-col items-start min-w-72 md:w-auto">
<p class="mb-3">{ "Bitte verifiziere deine E-Mail Adresse." }</p> <p class="mb-3">{ "Bitte verifiziere deine E-Mail Adresse." }</p>
<p class="mb-8">{ "Wir haben dir eine E-Mail geschickt." }</p> <p class="mb-8">{ "Wir haben dir eine E-Mail geschickt." }</p>
<div class="h-24 w-full"> <div class="h-24 w-full">
<svg class="mail-animation mb-12 w-16 text-primary" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0z" fill="none"/><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg> <svg
</div> class="mail-animation mb-12 w-16 text-primary"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M0 0h24v24H0z" fill="none" />
<path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" />
</svg>
</div>
<p class="mb-8">{ "Dann geht es hier weiter." }</p> <p class="mb-8">{ "Dann geht es hier weiter." }</p>
</div> </div>
<div class="flex justify-center max-w-56 w-full mb-6"> <div class="flex justify-center max-w-56 w-full mb-6">
@ -73,7 +81,7 @@ pub fn Verify() -> Html {
"w-full", "w-full",
"min-h-12", "min-h-12",
"h-12", "h-12",
"flex", "justify-center", "items-center", "flex", "justify-center", "items-center","mb-12"
)} )}
> >
{ "Weiter" } { "Weiter" }
@ -94,6 +102,6 @@ pub fn Verify() -> Html {
</div> </div>
</div> </div>
</section> </section>
</div> </div>
} }
} }