Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
20 changes: 9 additions & 11 deletions src/components/landing/BugBounty.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import HypernativeLogo from "@/assets/misc/hypernative-logo.png";
import ImmunefiLogo from "@/assets/misc/immunefi-logo.png";
import PintoTokenLogo from "@/assets/tokens/PINTO.png";
import UsdcTokenLogo from "@/assets/tokens/USDC.png";
import { ANALYTICS_EVENTS } from "@/constants/analytics-events";
import useIsMobile from "@/hooks/display/useIsMobile";
import { trackClick } from "@/utils/analytics";
Expand All @@ -24,7 +23,7 @@ export default function BugBounty() {
// Mark animation as started to prevent repeating
valueChanged.current = true;

setValue(100000);
setValue(5000);
}
},
{
Expand All @@ -50,8 +49,7 @@ export default function BugBounty() {
{/* Title */}
<div className="text-center mb-8 sm:mb-12">
<h2 className="pinto-body sm:pinto-h2 font-light text-black">
Pinto is secured by repeated audits, a large bug bounty program and state of the art off-chain security
measures.
Pinto is secured by repeated audits, a bug bounty program and state of the art off-chain security measures.
</h2>
</div>
</div>
Expand Down Expand Up @@ -99,8 +97,8 @@ export default function BugBounty() {
<div className="flex flex-col items-center h-[2rem] sm:h-[5rem] justify-center">
<div className="flex flex-row gap-2 sm:gap-4 items-center">
<img
src={PintoTokenLogo}
alt={"Pinto Token Icon"}
src={UsdcTokenLogo}
alt={"USDC"}
className="h-8 w-8 min-w-8 min-h-8 sm:w-16 sm:h-16 sm:min-h-16 sm:min-w-16"
/>
<NumberFlow
Expand All @@ -122,19 +120,19 @@ export default function BugBounty() {
<div className="flex flex-col items-center h-[2rem] sm:h-[3.25rem] justify-center">
<div className="pinto-body sm:text-2xl font-light flex flex-row gap-2 sm:gap-4 items-center">
<span>Bug Bounty with</span>
<img src={ImmunefiLogo} alt={"ImmuneFi"} className="h-4 sm:h-8" />
<span className="font-medium">Sherlock</span>
</div>
</div>

{/* Bottom section - button */}
<div className="flex items-center justify-center h-[2.5rem] sm:h-[4rem]">
<Link
to={"https://immunefi.com/bug-bounty/pinto/information/"}
to={"https://audits.sherlock.xyz/bug-bounties/221"}
target="_blank"
rel="noopener noreferrer"
onClick={trackClick(ANALYTICS_EVENTS.LANDING.BUG_BOUNTY_IMMUNEFI_CLICK, {
onClick={trackClick(ANALYTICS_EVENTS.LANDING.BUG_BOUNTY_SHERLOCK_CLICK, {
section: "bug_bounty",
destination: "https://immunefi.com/bug-bounty/pinto/information/",
destination: "https://audits.sherlock.xyz/bug-bounties/221",
})}
>
<Button
Expand Down
2 changes: 1 addition & 1 deletion src/constants/analytics-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ const LANDING_EVENTS = {

// Bug Bounty Section
BUG_BOUNTY_AUDITS_CLICK: "landing_bug_bounty_audits_click", // Learn More - Audits
BUG_BOUNTY_IMMUNEFI_CLICK: "landing_bug_bounty_immunefi_click", // Learn More - Bug Bounty
BUG_BOUNTY_SHERLOCK_CLICK: "landing_bug_bounty_sherlock_click", // Learn More - Bug Bounty
BUG_BOUNTY_HYPERNATIVE_CLICK: "landing_bug_bounty_hypernative_click", // Learn More - Off-chain Monitoring

// Resources Section
Expand Down
Loading