From b0b7bfeae7c25cd3c3a8f57b5f1be22766f46a65 Mon Sep 17 00:00:00 2001 From: Rushikesh Nimkar Date: Wed, 21 Aug 2024 15:03:33 +0530 Subject: [PATCH] update: dvpnnft ui --- package.json | 1 + pages/dvpnnft.tsx | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/package.json b/package.json index a7a7ba5..5766f36 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "petra-plugin-wallet-adapter": "^0.3.0", "qrcode.react": "^3.1.0", "react": "18.2.0", + "react-device-detect": "^2.2.3", "react-dom": "18.2.0", "react-google-recaptcha": "^2.1.0", "react-icons": "^4.7.1", diff --git a/pages/dvpnnft.tsx b/pages/dvpnnft.tsx index b709019..5a8204a 100644 --- a/pages/dvpnnft.tsx +++ b/pages/dvpnnft.tsx @@ -1,5 +1,6 @@ import React, { useState } from 'react'; import Footer from "../components/Footer"; +import {BrowserView, MobileView} from 'react-device-detect'; const BaliDVPNNFTPage = () => { const [walletAddress, setWalletAddress] = useState(''); @@ -15,6 +16,7 @@ const BaliDVPNNFTPage = () => { return ( <> +

Mint Your FREE Bali ÐVPN NFT

@@ -40,6 +42,54 @@ const BaliDVPNNFTPage = () => { Erebrus DVPN
+
+ +
+

+ Mint Your FREE Bali DVPN NFT +

+
+
+
+
+ Erebrus DVPN +
+ +
+

+ Secure, Private, Exclusive +

+
+

+ Enter your wallet address and click GO +

+
+ setWalletAddress(e.target.value)} + placeholder="wallet address" + className="w-2/3 p-2 rounded text-2xl text-center mb-4" + /> +
+
+ +
+
+
+
+
+ +