rounder buttons, step 1 layout

This commit is contained in:
martin-mfg
2025-12-09 20:39:03 +01:00
parent a0238e9d6d
commit 96db43215d
2 changed files with 19 additions and 17 deletions
@@ -11,7 +11,7 @@ const Button = (props) => {
{...props}
className={classnames(
props.className,
'border-0 py-2 px-6 inline-flex focus:outline-none rounded-sm text-lg',
'border-0 py-2 px-6 inline-flex focus:outline-none rounded-s text-lg',
)}
>
{props.children}
@@ -99,7 +99,7 @@ const LoginStage = ({ setCurrItem }) => {
return (
<div className="h-full flex flex-wrap">
<div className={classnames(deleteModal ? 'opacity-25' : '', 'flex')}>
<div className={classnames(deleteModal ? 'opacity-25' : '', 'md:flex')}>
<div className="lg:block lg:w-3/5 lg:p-8">
<div
className={classnames(
@@ -146,6 +146,23 @@ const LoginStage = ({ setCurrItem }) => {
)}
</div>
{/* Delete Account Button */}
<div className="mt-6 flex items-center gap-4">
<Button
className="h-12 flex justify-center items-center w-[320px] text-black border border-black bg-white hover:bg-gray-100"
onClick={openDeleteModal}
>
<span className="xl:text-lg text-red-600">
Delete Account
</span>
</Button>
<p className="text-sm text-gray-600 flex-1">
This will delete your GitHub Trends account and then
redirect you to a GitHub screen where you can revoke your
access token.
</p>
</div>
{/* Logout Button */}
<div className="mt-6 flex items-center gap-4">
<Button
@@ -158,21 +175,6 @@ const LoginStage = ({ setCurrItem }) => {
Log out from GitHub Trends.
</p>
</div>
{/* Delete Account Button */}
<div className="mt-6 flex items-center gap-4">
<Button
className="h-12 flex justify-center items-center w-[320px] text-black border border-black bg-white hover:bg-gray-100"
onClick={openDeleteModal}
>
<span className="xl:text-lg">Delete Account</span>
</Button>
<p className="text-sm text-gray-600 flex-1">
This will delete your GitHub Trends account and then
redirect you to a GitHub screen where you can revoke your
access token.
</p>
</div>
</>
) : (
<>