From c788a759def9f1fed38919c40bd9c4a60066af6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A1udio=20Silva?= Date: Fri, 7 Jun 2024 14:08:14 -0300 Subject: [PATCH] Create bounty form (#113) * Create bounty form * Validate form fields (#112) * Move external links to a single file * Validate form fields in `/bounty/create` * Validate form fields in `/bounty//sponsor` * Validate form fields in `/bounty//exploit` * Adding URL in proper file * prettier --------- Co-authored-by: Guilherme Dantas --- frontend/src/app/explore/page.tsx | 5 +++-- frontend/src/utils/links.tsx | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/explore/page.tsx b/frontend/src/app/explore/page.tsx index cb703ab..d634789 100644 --- a/frontend/src/app/explore/page.tsx +++ b/frontend/src/app/explore/page.tsx @@ -20,6 +20,7 @@ import { BountyStatusBadgeGroup } from "../../components/bountyStatus"; import { HasConnectedAccount } from "../../components/hasConnectedAccount"; import { useBlockTimestamp } from "../../hooks/block"; import { getBountyStatus } from "../../utils/bounty"; +import { GOOGLE_BOUNTY_CREATION_FORM_URL } from "../../utils/links"; const Bounty: FC<{ index: number; @@ -90,8 +91,8 @@ const Explore: FC = () => { - - + + diff --git a/frontend/src/utils/links.tsx b/frontend/src/utils/links.tsx index e72520a..43245f2 100644 --- a/frontend/src/utils/links.tsx +++ b/frontend/src/utils/links.tsx @@ -4,3 +4,5 @@ export const GH_README_URL = `${GH_REPO_URL}/blob/${GH_MAIN_BRANCH}/README.md`; export const DISCORD_CHANNEL_URL = "https://discord.com/channels/600597137524391947/1166042819782258788"; export const X_ACCOUNT_URL = "https://x.com/BugBusterApp"; +export const GOOGLE_BOUNTY_CREATION_FORM_URL = + "https://forms.gle/h4EePFXG41Zwv48a7";