Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft for design cleanup in join page #425

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/app/join/Stepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function Stepper({
gap="2"
align="center"
justify="center"
className="mx-auto w-full">
className="mx-auto mt-3 w-full">
{Array.from({ length: total }).map((_, i) => (
<Separator
key={i}
Expand Down
4 changes: 2 additions & 2 deletions apps/web/app/join/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export default function Page({ children }: { children: React.ReactNode }) {
<Box className="w-full text-center">
<Heading
as="h1"
className="font-display text-2xl">
className="text-2xl font-light">
Let&apos;s Make your
</Heading>
<Heading
as="h2"
className="font-display text-5xl">
className="text-5xl font-bold">
UnInbox
</Heading>
{children}
Expand Down
12 changes: 7 additions & 5 deletions apps/web/app/join/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@ export default function Page() {
}

return (
// Draft for design cleanup in join page
<Flex
direction="column"
gap="3"
className="mx-auto w-full max-w-[560px] px-4">
className="mx-auto w-full max-w-[400px] px-4 sm:max-w-[560px]">
<Text
mt="3"
size="4"
mt="8"
size="5"
weight="bold">
Choose Your Username
</Text>
Expand All @@ -87,13 +88,13 @@ export default function Page() {
gap="1">
<Text
size="3"
className="text-pretty"
className="mt-2 text-pretty"
weight="medium">
This will be your username across the whole Un ecosystem.
</Text>
<Text
size="3"
className="text-pretty"
className="mt-1 text-pretty"
weight="medium">
It&apos;s yours personally and can join as many organizations as you
want.
Expand Down Expand Up @@ -210,6 +211,7 @@ export default function Page() {
</Text>

<Button
mt="4"
disabled={!usernameData?.available || !agree}
onClick={nextStep}>
I like it!
Expand Down