From f39cba8e3035aac23db55dbb68301e0596fafec6 Mon Sep 17 00:00:00 2001 From: celine Date: Mon, 13 Apr 2026 00:31:46 -0400 Subject: [PATCH] bunch of styling things to make it look nice --- components/LoginButton.tsx | 140 +++++++++++++---------- components/Subscribe/EmailSubscribe.tsx | 2 +- components/Subscribe/HandleSubscribe.tsx | 4 +- components/ToggleGroup.tsx | 5 +- 4 files changed, 87 insertions(+), 64 deletions(-) diff --git a/components/LoginButton.tsx b/components/LoginButton.tsx index 5d576061..8e3213f2 100644 --- a/components/LoginButton.tsx +++ b/components/LoginButton.tsx @@ -19,6 +19,7 @@ import { useToaster } from "./Toast"; import { InfoSmall } from "./Icons/InfoSmall"; import { HelpSmall } from "./Icons/HelpSmall"; import { HelpTiny } from "./Icons/HelpTiny"; +import { BlueskyTiny } from "./Icons/BlueskyTiny"; export function LoginButton() { let identityData = useIdentityData(); @@ -63,69 +64,90 @@ export function LoginActionButton() { { value: "log in", label: "Log In" }, { value: "sign up", label: "Sign Up" }, ]} + fullWidth /> - {state === "log in" ? ( - <> -
-

Log into the Atmosphere

- } /> -
- } - /> -
- - - ) : state === "email log in" ? ( - <> -

Log in with Email

- - + {state === "log in" ? ( + <> +
+

Log into the Atmosphere

+ + What's that? +
+ } + /> + + } + /> +
+ + + ) : state === "email log in" ? ( + <> +

Log in with Email

+ + + } + > + { + toaster({ + content:
Welcome back!
, + type: "success", + }); + }} /> - } - > - { - toaster({ - content:
Welcome back!
, - type: "success", - }); - }} - /> - - } - /> -
- - - ) : ( - <>heckin make a bluesky account yo - )} + + } + /> +
+ + + ) : ( +
+

+ Leaflet is part of
+ the Atmosphere. +

+
+ Create an Atmosphere account on Bluesky to get started! +
+ + Sign up via Bluesky + + +
+ )} + {/**/} ); diff --git a/components/Subscribe/EmailSubscribe.tsx b/components/Subscribe/EmailSubscribe.tsx index c4013565..18fc7319 100644 --- a/components/Subscribe/EmailSubscribe.tsx +++ b/components/Subscribe/EmailSubscribe.tsx @@ -17,7 +17,7 @@ export const EmailInput = (props: { > { - Sign up through Bluesky! + Sign up via Bluesky! ); diff --git a/components/ToggleGroup.tsx b/components/ToggleGroup.tsx index f671f52c..18b5d8dc 100644 --- a/components/ToggleGroup.tsx +++ b/components/ToggleGroup.tsx @@ -6,16 +6,17 @@ export function ToggleGroup(props: { options: { value: T; label: ReactNode }[]; className?: string; optionClassName?: string; + fullWidth?: boolean; }) { return (
{props.options.map((option) => (