Skip to content

Commit

Permalink
Merge pull request #278 from BigBen-7/main
Browse files Browse the repository at this point in the history
fix: fix slight ui issues
CLOSES #278
  • Loading branch information
BigBen-7 authored Mar 7, 2025
2 parents 65f6ba1 + fe08805 commit 028a9a1
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/app/(auth)/change-password/page.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use client';

import PasswordChangeForm from '@/components/ChangePassword';
import PasswordChangeForm from '@/components/PasswordChangeForm';


export default function SignInPage() {
return (
<div className="w-full max-h-screen flex items-center justify-center px-4 py-12 bg-white">
<PasswordChangeForm />
<PasswordChangeForm />
</div>
);
}
12 changes: 12 additions & 0 deletions frontend/app/(root)/subadmin-signin/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import SubAdminSignInForm from "@/components/SubAdminSignInForm";
import React from "react";

function page() {
return (
<div>
<SubAdminSignInForm />
</div>
);
}

export default page;
4 changes: 2 additions & 2 deletions frontend/components/AdminSignin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const AdminSignin = () => {
const [password, setPassword] = useState("");

return (
<div className="flex min-h-screen items-center justify-center px-4">
<div className="w-full max-w-[498px] bg-white px-6 py-8 sm:px-12">
<div className="flex h-96 mt-10 items-center justify-center px-4">
<div className="w-full max-w-[498px] bg-white px-6 py-3 sm:px-12">
{/* Title */}
<h2 className="text-center text-4xl font-bold text-[#29296E]">
Admin Sign In
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions frontend/components/SubAdminSignInForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ export default function SubAdminSignInForm() {
};

return (
<div className="w-full max-w-md mx-auto px-4">
<div className="w-full max-w-md mx-auto px-4 py-12">
<div className="text-center mb-8">
<h1 className="text-4xl font-bold text-[#383874] mb-2">
<h1 className="text-2xl md:text-4xl font-bold text-[#383874] mb-2">
Sub Admin Sign In
</h1>
<p className="text-gray-600">Enter your details to Log In</p>
<p className="text-gray-600 text-sm md:text-base">Enter your details to Log In</p>
</div>

<form onSubmit={handleSubmit} className="space-y-6">
Expand Down

0 comments on commit 028a9a1

Please sign in to comment.