Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create bounty form #113

Merged
merged 5 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions frontend/src/app/explore/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -90,8 +91,8 @@ const Explore: FC = () => {
<Stack>
<HasConnectedAccount>
<Flex mt={20} mr={20} justify="flex-end">
<Link href={"/bounty/create"}>
<Button size="lg">Submit bounty</Button>
<Link href={GOOGLE_BOUNTY_CREATION_FORM_URL}>
<Button size="lg">Create bounty</Button>
</Link>
</Flex>
</HasConnectedAccount>
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/utils/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";