-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: redone migrations and reenabled register form (#53)
* feat: redone migrations and reenabled register form * fix: fk in participants * fix: project output config option * feat: update the number and value of payment as joining the team * feat: added collumn created_by to teams * feat: migration to create bucket auto * feat: added email sent to the owner of team to alert a new member of team and remind the payment * feat: added a check to verify if the team as already paid * feat: modals of information to participants * fix: removed lucide-react and used svgs * feat: improved messages * feat: synced config with remote database * feat: change mail client * chore: change env names * chore: change envs again * feat: removed check box * fix: same email could enter/create in teams multiple times * feat: added email of new member in new member notify --------- Co-authored-by: João Lobo <[email protected]>
- Loading branch information
1 parent
25e0067
commit d15276d
Showing
24 changed files
with
455 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
export default function InformationModal({ title, content, closeModal }) { | ||
return ( | ||
<div className="fixed inset-0 bg-gray-800 bg-opacity-75 flex justify-center items-center"> | ||
<div className="relative bg-black border-2 border-gray-500 rounded-lg shadow-lg"> | ||
<div className="p-4 md:p-5 text-center"> | ||
<div className="flex justify-center mb-4"> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-width="2" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
class="lucide lucide-circle-check-big text-center text-green-500 h-12 w-12" | ||
> | ||
<path d="M21.801 10A10 10 0 1 1 17 3.335" /> | ||
<path d="m9 11 3 3L22 4" /> | ||
</svg> | ||
</div> | ||
<h3 className="mb-5 text-lg font-normal text-white">{title}</h3> | ||
<p className="text-white mb-5">{content}</p> | ||
<button | ||
onClick={closeModal} | ||
className="py-2.5 px-5 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-primary" | ||
type="button" | ||
> | ||
Close | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.