Compare commits

..

No commits in common. "0a18da80c239acdf9d074b605934b55af1ded908" and "61cfc1bedcd48145c3b776f70d4c74b5eacb83d6" have entirely different histories.

18 changed files with 3 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 703 KiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 6.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 KiB

After

Width:  |  Height:  |  Size: 750 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 747 KiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 KiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 718 KiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 745 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

After

Width:  |  Height:  |  Size: 668 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 578 KiB

View file

@ -2,14 +2,6 @@ const backdrop = document.querySelector("#image-backdrop");
const preview = document.querySelector("#image-preview"); const preview = document.querySelector("#image-preview");
if (backdrop instanceof HTMLElement && preview instanceof HTMLImageElement) { if (backdrop instanceof HTMLElement && preview instanceof HTMLImageElement) {
document.addEventListener("keydown", (event) => {
if (event.key === "Escape") {
backdrop.hidden = true;
document.body.style.overflow = "";
}
});
document.addEventListener("click", (event) => { document.addEventListener("click", (event) => {
if (!(event.target instanceof Element)) return; if (!(event.target instanceof Element)) return;

View file

@ -61,10 +61,7 @@ export default function RegisterForm() {
required required
/> />
</div> </div>
<div style={{ <div>
display: 'flex',
alignItems: 'center'
}}>
<input <input
type="checkbox" type="checkbox"
checked={user.subscription} checked={user.subscription}
@ -75,6 +72,7 @@ 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;

View file

@ -15,6 +15,5 @@ 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>

View file

@ -80,8 +80,7 @@ body {
background-color: var(--primary-dark); background-color: var(--primary-dark);
} }
input[type=name], input[type=name], input[type=email] {
input[type=email] {
border: none; border: none;
background-color: #e9e9e9; background-color: #e9e9e9;
padding: 4px; padding: 4px;
@ -144,9 +143,4 @@ 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;
}
} }