Skip to content

Commit

Permalink
chore: Update button styling and spacing in LoginForm and Welcome com…
Browse files Browse the repository at this point in the history
…ponents
  • Loading branch information
tako0614 committed Jun 22, 2024
1 parent 03f5464 commit c71b7da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions islands/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ export default function RegisterForm(

return (
<>
<button
<button
onClick={handleButtonClick}
class="bg-[#192320] text-white rounded-3xl py-2 px-4 hover:bg-[#192320] border w-full mt-5">
class="bg-[#192320] text-white rounded-3xl py-2 px-4 hover:bg-[#192320] border w-full mt-3">
ログイン
</button>
</button>
{showModal && (
<div class="fixed z-50 w-full h-full overflow-hidden bg-[rgba(75,92,108,0.4)] left-0 top-0 text-black dark:text-white">
<div class="bg-[#f0f0f5] dark:bg-black lg:w-1/3 w-full h-full lg:h-4/6 mx-auto lg:my-[6.5%] p-5 lg:rounded-xl">
Expand Down
6 changes: 3 additions & 3 deletions islands/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,18 +238,18 @@ export default function Welcome({ sitekey }: { sitekey: string }) {
</div>
</div>
<div class="lg:w-1/3">
<div class="space-y-3 mb-6">
<div class="mb-6">
<RegisterForm
token={recaptchaToken}
sitekey={sitekey}
/>
<button
<button
onClick={
() => {
alert("まだ実装してない!!!")
}
}
class="bg-[#192320] text-white rounded-3xl py-2 px-4 hover:bg-[#192320] border w-full mt-5">
class="bg-[#192320] text-white rounded-3xl py-2 px-4 hover:bg-[#192320] border w-full mt-3">
他のサーバーを探す
</button>
<LoginForm
Expand Down

0 comments on commit c71b7da

Please sign in to comment.