feat: /contact page on classroomio-com (#428)

* contact page v1

* finished the UI of the contact us page

* working on the forms

* All functions and logic done

* some refactor

* some refactor

* some refactor

* some refactor

* added loading icon

* removed the image

* finished the send email

* some cleanup

* chore: refactoring

* finishing touches

* update .env.example

---------

Co-authored-by: emmanuel <[email protected]>
This commit is contained in:
Rotimi Best
2024-11-12 02:18:51 +01:00
committed by GitHub
co-authored by emmanuel
parent b78a0acc99
commit 89569fe6d1
18 changed files with 862 additions and 185 deletions
@@ -0,0 +1,8 @@
export const isFormValid = (data: { [x: string]: any }) => {
for (const key in data) {
if (!data[key]) {
return false;
}
}
return true;
};