-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
954 additions
and
106 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
39 changes: 27 additions & 12 deletions
39
packages/nextjs/components/punk-society/PunkConnectButton/AddressQRCodeModal.tsx
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
47 changes: 47 additions & 0 deletions
47
packages/nextjs/components/punk-society/PunkConnectButton/BridgeUSDCModal.tsx
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,47 @@ | ||
import Image from "next/image"; | ||
|
||
type BridgeUSDCModalProps = { | ||
modalId: string; | ||
}; | ||
|
||
export const BridgeUSDCModal = ({ modalId }: BridgeUSDCModalProps) => { | ||
const handleBridgeUSDCClick = () => { | ||
window.open("https://x.com/LuloxDev", "_blank"); | ||
}; | ||
return ( | ||
<> | ||
<div> | ||
<input type="checkbox" id={`${modalId}`} className="modal-toggle" /> | ||
<label htmlFor={`${modalId}`} className="modal cursor-pointer"> | ||
<label className="modal-box relative" htmlFor=""> | ||
<div className="flex flex-col justify-center items-center text-center"> | ||
<h2 className="text-xl font-bold mb-4 text-red-600"> | ||
Sorry, we can't bridge USDC from Avalanche yet. | ||
</h2> | ||
|
||
<button | ||
onClick={handleBridgeUSDCClick} | ||
className="btn btn-primary border-0 flex items-center bg-black hover:bg-green-600 active:bg-green-600" | ||
> | ||
<Image | ||
src="/lulox.jpg" | ||
alt="Import your key in Core!" | ||
width={40} | ||
height={40} | ||
className="mr-2 rounded-full" | ||
/> | ||
Send me a DM and I'll get you started! | ||
</button> | ||
<label | ||
htmlFor={`${modalId}`} | ||
className="btn text-xl rounded-full bg-red-600 hover:bg-red-500 btn-ghost btn-sm btn-circle absolute right-3 top-3" | ||
> | ||
✕ | ||
</label> | ||
</div> | ||
</label> | ||
</label> | ||
</div> | ||
</> | ||
); | ||
}; |
Oops, something went wrong.