optimization
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 28s
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 703 KiB |
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 6.1 MiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 350 KiB |
|
Before Width: | Height: | Size: 750 KiB After Width: | Height: | Size: 268 KiB |
|
Before Width: | Height: | Size: 329 KiB After Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 747 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 451 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 718 KiB |
|
Before Width: | Height: | Size: 745 KiB After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 668 KiB After Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 578 KiB After Width: | Height: | Size: 194 KiB |
|
|
@ -61,7 +61,10 @@ export default function RegisterForm() {
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div style={{
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center'
|
||||||
|
}}>
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={user.subscription}
|
checked={user.subscription}
|
||||||
|
|
@ -72,7 +75,6 @@ export default function RegisterForm() {
|
||||||
<span style="font-size: 0.8rem">Du kannst deine Daten jederzeit löschen oder die E-Mail Benachrichtigung deaktivieren.</span>
|
<span style="font-size: 0.8rem">Du kannst deine Daten jederzeit löschen oder die E-Mail Benachrichtigung deaktivieren.</span>
|
||||||
{error && <p style={{ color: 'red' }}>{error}</p>}
|
{error && <p style={{ color: 'red' }}>{error}</p>}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<style>{`
|
<style>{`
|
||||||
input[type=checkbox] {
|
input[type=checkbox] {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
|
|
|
||||||
|
|
@ -15,5 +15,6 @@ import Form from "../layouts/Form.astro";
|
||||||
>
|
>
|
||||||
<UserDetails client:load />
|
<UserDetails client:load />
|
||||||
<ToggleSubscription client:load />
|
<ToggleSubscription client:load />
|
||||||
|
<br />
|
||||||
<DeleteUser client:load />
|
<DeleteUser client:load />
|
||||||
</Form>
|
</Form>
|
||||||
|
|
@ -80,7 +80,8 @@ body {
|
||||||
background-color: var(--primary-dark);
|
background-color: var(--primary-dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=name], input[type=email] {
|
input[type=name],
|
||||||
|
input[type=email] {
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #e9e9e9;
|
background-color: #e9e9e9;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
|
@ -143,4 +144,9 @@ input[type=checkbox] {
|
||||||
.back-btn:hover {
|
.back-btn:hover {
|
||||||
color: var(--primary-dark);
|
color: var(--primary-dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type=checkbox] {
|
||||||
|
margin: 0 6px 0 0 !important;
|
||||||
|
zoom: 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||