diff --git a/superpage/src/components/Form.tsx b/superpage/src/components/Form.tsx index 086fbaa..3f28887 100644 --- a/superpage/src/components/Form.tsx +++ b/superpage/src/components/Form.tsx @@ -32,28 +32,26 @@ export function Form() { return ( -
+ {formState.isSubmitSuccessful &&

OK!

} - - -
@@ -67,7 +65,18 @@ interface IInput extends React.HTMLAttributes { export function Input({ as = 'input', className, ...props }: IInput) { return createElement(as, { - className: clsx('border', className), + className: clsx( + 'bg-white/10 focus:bg-white focus:text-black rounded-xl p-4 w-full focus:outline-none transition duration-150', + className, + ), ...props, }) } + +interface ILabel extends React.HTMLAttributes { + className?: string | undefined +} + +function Label({ children, className }: ILabel) { + return +} diff --git a/superpage/src/styles/app.css b/superpage/src/styles/app.css index a0cb9f7..a784ba5 100644 --- a/superpage/src/styles/app.css +++ b/superpage/src/styles/app.css @@ -20,5 +20,5 @@ html, body { - @apply text-white bg-black scroll-pt-24; + @apply text-white bg-black scroll-pt-22; }