Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Use the rounded button shape across the auth pages (#3589)

Luke Vella230af29157ae
diff --git a/apps/web/src/app/[locale]/(auth)/components/already-logged-in.tsx b/apps/web/src/app/[locale]/(auth)/components/already-logged-in.tsx
index 5e3277b97..196799580 100644
--- a/apps/web/src/app/[locale]/(auth)/components/already-logged-in.tsx
+++ b/apps/web/src/app/[locale]/(auth)/components/already-logged-in.tsx
@@ -53,7 +53,11 @@ export async function AlreadyLoggedIn({ redirectTo }: { redirectTo?: string }) {
without consulting the server. A document navigation always
sends the current cookies. */}
<a
- className={buttonVariants({ variant: "primary", size: "xl" })}
+ className={buttonVariants({
+ variant: "primary",
+ size: "xl",
+ shape: "rounded",
+ })}
href={validateRedirectUrl(redirectTo) ?? "/"}
>
<Trans
diff --git a/apps/web/src/app/[locale]/(auth)/components/sign-out-button.tsx b/apps/web/src/app/[locale]/(auth)/components/sign-out-button.tsx
index 4c7378eb0..e03295350 100644
--- a/apps/web/src/app/[locale]/(auth)/components/sign-out-button.tsx
+++ b/apps/web/src/app/[locale]/(auth)/components/sign-out-button.tsx
@@ -11,6 +11,7 @@ export function SignOutButton() {
return (
<Button
size="xl"
+ shape="rounded"
loading={isSigningOut}
onClick={() => {
setIsSigningOut(true);
diff --git a/apps/web/src/app/[locale]/(auth)/forgot-password/components/forgot-password-form.tsx b/apps/web/src/app/[locale]/(auth)/forgot-password/components/forgot-password-form.tsx
index e046fc908..910e333b2 100644
--- a/apps/web/src/app/[locale]/(auth)/forgot-password/components/forgot-password-form.tsx
+++ b/apps/web/src/app/[locale]/(auth)/forgot-password/components/forgot-password-form.tsx
@@ -106,6 +106,7 @@ export function ForgotPasswordForm() {
<div>
<Button
size="xl"
+ shape="rounded"
loading={form.formState.isSubmitting}
type="submit"
className="w-full"
diff --git a/apps/web/src/app/[locale]/(auth)/login/verify/components/otp-form.tsx b/apps/web/src/app/[locale]/(auth)/login/verify/components/otp-form.tsx
index 17db85f3d..1e2762b08 100644
--- a/apps/web/src/app/[locale]/(auth)/login/verify/components/otp-form.tsx
+++ b/apps/web/src/app/[locale]/(auth)/login/verify/components/otp-form.tsx
@@ -149,6 +149,7 @@ export function OTPForm({
className="w-full"
variant="primary"
size="xl"
+ shape="rounded"
type="submit"
loading={
form.formState.isSubmitting || form.formState.isSubmitSuccessful
diff --git a/apps/web/src/app/[locale]/(auth)/login/verify/page.tsx b/apps/web/src/app/[locale]/(auth)/login/verify/page.tsx
index 11809812e..8994d9143 100644
--- a/apps/web/src/app/[locale]/(auth)/login/verify/page.tsx
+++ b/apps/web/src/app/[locale]/(auth)/login/verify/page.tsx
@@ -87,6 +87,7 @@ export default async function VerifyPage() {
className={buttonVariants({
size: "xl",
variant: "link",
+ shape: "rounded",
className: "w-full",
})}
>
diff --git a/apps/web/src/app/[locale]/(auth)/reset-password/components/reset-password-form.tsx b/apps/web/src/app/[locale]/(auth)/reset-password/components/reset-password-form.tsx
index e0a1d6ac2..b47016c5a 100644
--- a/apps/web/src/app/[locale]/(auth)/reset-password/components/reset-password-form.tsx
+++ b/apps/web/src/app/[locale]/(auth)/reset-password/components/reset-password-form.tsx
@@ -113,6 +113,7 @@ export function ResetPasswordForm() {
<div className="mt-6">
<Button
size="xl"
+ shape="rounded"
loading={form.formState.isSubmitting}
type="submit"
className="w-full"