From c9eb8798ea1d9fbabdb8fba38d170cccbe385222 Mon Sep 17 00:00:00 2001 From: Petri Partio Date: Sun, 2 Jun 2024 23:29:21 +0300 Subject: [PATCH] feat: make form input a bit prettier --- components/Form.tsx | 37 +++++++++++++++++++++---------------- components/Spinner.tsx | 16 ++++++++++++++++ 2 files changed, 37 insertions(+), 16 deletions(-) create mode 100644 components/Spinner.tsx diff --git a/components/Form.tsx b/components/Form.tsx index 4c0be07..6cb38a8 100644 --- a/components/Form.tsx +++ b/components/Form.tsx @@ -2,6 +2,7 @@ import { FormEvent, ReactNode, useState } from 'react'; import Confetti from 'react-confetti'; +import Spinner from './Spinner'; const API_URL = 'https://koodiklinikka-api.fly.dev/invites'; @@ -91,22 +92,26 @@ export default function Form() { Syötä sähköpostiosoitteesi alle ja saat kutsun Slack-yhteisöömme: -
- - +
+
+ +
+
+ +