refactor code to improve readability and maintainability + redesigned announcement bar
This commit is contained in:
+7
-4
@@ -1,4 +1,4 @@
|
||||
import AccentSubmitButton from "@/components/AccentSubmitButton";
|
||||
import AccentSubmitButton from "@/components/ui/Button";
|
||||
import TextInput from "@/components/TextInput";
|
||||
import CenteredForm from "@/layouts/CenteredForm";
|
||||
import Link from "next/link";
|
||||
@@ -88,10 +88,13 @@ export default function Forgot() {
|
||||
|
||||
<AccentSubmitButton
|
||||
type="submit"
|
||||
label="Send Login Link"
|
||||
className="mt-2 w-full"
|
||||
intent="accent"
|
||||
className="mt-2"
|
||||
size="full"
|
||||
loading={submitLoader}
|
||||
/>
|
||||
>
|
||||
Send Login Link
|
||||
</AccentSubmitButton>
|
||||
</>
|
||||
) : (
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user