Compare commits

..

No commits in common. "9e09e144b5389aea77aff66b44c4100767c337f9" and "5a49648e64fe032e91ea5d20d44cf36df1c6048b" have entirely different histories.

2 changed files with 5 additions and 15 deletions

View file

@ -1,7 +1,6 @@
import { createDropzone, createFileUploader } from "@solid-primitives/upload";
import { Title } from "@solidjs/meta";
import { type RouteSectionProps, useNavigate } from "@solidjs/router";
import { Eye, EyeClosed } from "lucide-solid";
import { type Component, type JSX, Show, createSignal } from "solid-js";
import { Portal } from "solid-js/web";
import { Button } from "~/components/ui/button";
@ -67,8 +66,6 @@ export const Home: Component<RouteSectionProps> = () => {
}
};
const [showPassphrase, setShowPassphrase] = createSignal(false);
return (
<>
<Portal>
@ -116,17 +113,10 @@ export const Home: Component<RouteSectionProps> = () => {
</Portal>
<Title>Signal stats</Title>
<form class="mx-auto flex w-full flex-col gap-y-8 p-8 md:w-fit" onSubmit={onSubmit}>
<Flex flexDirection="row" class="w-full gap-x-2 md:w-sm" alignItems="end">
<TextField onChange={(value) => setPassphrase(value)} class="grow">
<TextField onChange={(value) => setPassphrase(value)}>
<TextFieldLabel>Passphrase</TextFieldLabel>
<TextFieldInput type={showPassphrase() ? "text" : "password"} />
<TextFieldInput type="password" class="w-full md:w-sm" />
</TextField>
<Button variant="ghost" onClick={() => setShowPassphrase((oldValue) => !oldValue)}>
<Show when={showPassphrase()} fallback={<EyeClosed />}>
<Eye />
</Show>
</Button>
</Flex>
<Flex
ref={dropzone.setRef}
justifyContent="center"

View file

@ -80,7 +80,7 @@ export const Privacy: Component<RouteSectionProps> = () => {
I run this website as an individual. If you have any questions or complaints regarding my privacy and data
practices, you can reach out to the data controller:
</p>
<p class="bg-info p-4 text-info-foreground">
<p class="bg-info p-4">
duskflower
<br />
privacy(at)duskflower.dev