From 486e8cc1f84c542576d61ef83bc48cf2c3861ae6 Mon Sep 17 00:00:00 2001 From: Maximilian Liebmann Date: Sun, 4 May 2025 04:36:11 +0200 Subject: [PATCH] feat: update login and logout components and labels --- src/app/home/page.tsx | 2 +- src/app/login/page.tsx | 2 +- src/components/button.module.css | 2 +- src/components/labeled-input.module.css | 2 +- src/components/user/{login-button.tsx => sso-login-button.tsx} | 0 .../user/{logout-button.tsx => sso-logout-button.tsx} | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename src/components/user/{login-button.tsx => sso-login-button.tsx} (100%) rename src/components/user/{logout-button.tsx => sso-logout-button.tsx} (100%) diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index 21b36ff..b28c508 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -1,4 +1,4 @@ -import { Logout } from '@/components/user/logout-button'; +import { Logout } from '@/components/user/sso-logout-button'; export default function Home() { return ( diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index ff5b63c..5e54a9f 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -1,7 +1,7 @@ // /home/max/Git/MeetUp/src/app/login/page.tsx import { auth } from '@/auth'; import LabeledInput from '@/components/labeled-input'; -import Login from '@/components/user/login-button'; +import Login from '@/components/user/sso-login-button'; import { redirect } from 'next/navigation'; import style from './login.module.css'; diff --git a/src/components/button.module.css b/src/components/button.module.css index 85e67b6..0a9df2d 100644 --- a/src/components/button.module.css +++ b/src/components/button.module.css @@ -1,6 +1,6 @@ .button { background-color: var(--color-50); - border-radius: 9999px; + border-radius: 16px; padding: 10px 20px; outline: none; border: 2px solid var(--color-100); diff --git a/src/components/labeled-input.module.css b/src/components/labeled-input.module.css index 483a225..85f46ed 100644 --- a/src/components/labeled-input.module.css +++ b/src/components/labeled-input.module.css @@ -13,7 +13,7 @@ width: 100%; height: 50px; border: 1px solid var(--textbox-75); - border-radius: 9999px; + border-radius: 16px; padding: 10px 20px; background-color: var(--textbox-50); color: var(--foreground); diff --git a/src/components/user/login-button.tsx b/src/components/user/sso-login-button.tsx similarity index 100% rename from src/components/user/login-button.tsx rename to src/components/user/sso-login-button.tsx diff --git a/src/components/user/logout-button.tsx b/src/components/user/sso-logout-button.tsx similarity index 100% rename from src/components/user/logout-button.tsx rename to src/components/user/sso-logout-button.tsx