Skip to content

Commit

Permalink
feat : delete empty.png and remove some css and remove forget passwor…
Browse files Browse the repository at this point in the history
…d option
  • Loading branch information
SHABIN-K committed Sep 5, 2023
1 parent 3e7bd12 commit 7724d4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
18 changes: 5 additions & 13 deletions app/(root)/(auth)/(routes)/login/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ const LoginPage = () => {
</div>
<div className="w-full rounded-lg shadow border md:mt-0 sm:max-w-md xl:p-0 bg-[#1c1c24] border-gray-700">
<div className="p-6 space-y-4 md:space-y-6 sm:p-8">
<h1 className="text-xl font-bold leading-tight tracking-tight text-gray-900 md:text-2xl dark:text-white">
<h1 className="text-xl font-bold leading-tight tracking-tight md:text-2xl text-white">
Sign in to your account
</h1>

<form className="space-y-4 md:space-y-6">
<div>
<label
htmlFor="username"
className="block mb-2 text-sm font-medium text-gray-900 dark:text-white"
className="block mb-2 text-sm font-medium text-white"
>
Your email
</label>
Expand All @@ -75,13 +75,13 @@ const LoginPage = () => {
setEmail(e.target.value);
}}
required
className="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
className="border sm:text-sm rounded-lg block w-full p-2.5 bg-gray-700 border-gray-600 placeholder-gray-400 text-white focus:ring-blue-500 focus:border-blue-500"
/>
</div>
<div>
<label
htmlFor="password"
className="block mb-2 text-sm font-medium text-gray-900 dark:text-white"
className="block mb-2 text-sm font-medium text-white"
>
Password
</label>
Expand All @@ -95,17 +95,9 @@ const LoginPage = () => {
setPassword(e.target.value);
}}
required
className="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
className="border sm:text-sm rounded-lg block w-full p-2.5 bg-gray-700 border-gray-600 placeholder-gray-400 text-white focus:ring-blue-500 focus:border-blue-500"
/>
</div>
<div className="flex items-center justify-between">
<a
href="#"
className="text-sm font-medium text-primary-600 hover:underline dark:text-primary-500"
>
Forgot password?
</a>
</div>
{error && (
<div className="flex alert alert-error h-1">
<svg
Expand Down
5 changes: 2 additions & 3 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {})
}
}
},
}
Binary file removed public/empty.png
Binary file not shown.

0 comments on commit 7724d4e

Please sign in to comment.