From fc1a8362ca016bf1b19c898a5c190dc2634d6e93 Mon Sep 17 00:00:00 2001 From: ardier16 Date: Thu, 27 Jun 2024 13:33:02 +0300 Subject: [PATCH] Update sections order --- src/app/components/CardsSection.tsx | 6 +-- src/app/components/MetamaskCard.tsx | 42 +++++++++++++++ src/app/components/MetamaskSection.tsx | 44 ---------------- src/app/components/PassportsCard.tsx | 72 +++++++++++++------------- src/app/page.tsx | 6 +-- 5 files changed, 85 insertions(+), 85 deletions(-) create mode 100644 src/app/components/MetamaskCard.tsx delete mode 100644 src/app/components/MetamaskSection.tsx diff --git a/src/app/components/CardsSection.tsx b/src/app/components/CardsSection.tsx index 7007261..b5bd111 100644 --- a/src/app/components/CardsSection.tsx +++ b/src/app/components/CardsSection.tsx @@ -7,7 +7,7 @@ import { useWindowScroll } from '@/contexts/window-scroll' import { Container } from '@/ui' import AirdropCard from './AirdropCard' -import PassportsCard from './PassportsCard' +import MetamaskCard from './MetamaskCard' export default function CardsSection() { const containerRef = useRef(null) @@ -30,7 +30,7 @@ export default function CardsSection() { className='flex flex-col gap-5 lg:gap-50' >
- +
- +
) diff --git a/src/app/components/MetamaskCard.tsx b/src/app/components/MetamaskCard.tsx new file mode 100644 index 0000000..f6ab014 --- /dev/null +++ b/src/app/components/MetamaskCard.tsx @@ -0,0 +1,42 @@ +import RarimeIcon from '@/assets/icons/rarime-icon.svg' +import { Button } from '@/ui' + +export default function MetamaskCard() { + return ( +
+ MetaMask Snap +
+ MetaMask logo + MetaMask extension +
+
+
+

+ Use your RariMe seamlessly across Web3 via MetaMask +

+

+ Your identity and crypto live in a single place +

+
+ +
+
+ ) +} diff --git a/src/app/components/MetamaskSection.tsx b/src/app/components/MetamaskSection.tsx deleted file mode 100644 index b493149..0000000 --- a/src/app/components/MetamaskSection.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import RarimeIcon from '@/assets/icons/rarime-icon.svg' -import { Button, Container } from '@/ui' - -export default function MetamaskSection() { - return ( - -
- MetaMask Snap -
- MetaMask logo - MetaMask extension -
-
-
-

- Use your RariMe seamlessly across web via MetaMask -

-

- Your identity and crypto live in a single place -

-
- -
-
-
- ) -} diff --git a/src/app/components/PassportsCard.tsx b/src/app/components/PassportsCard.tsx index ceb221f..bb32217 100644 --- a/src/app/components/PassportsCard.tsx +++ b/src/app/components/PassportsCard.tsx @@ -4,7 +4,7 @@ import { useState } from 'react' import ChipIcon from '@/assets/icons/chip-icon.svg' import PlayIcon from '@/assets/icons/play-icon.svg' -import { Button, Modal } from '@/ui' +import { Button, Container, Modal } from '@/ui' import PassportDemo from './PassportDemo' @@ -12,41 +12,43 @@ export default function PassportsCard() { const [isDemoModalOpen, setIsDemoModalOpen] = useState(false) return ( -
- Passports Section -
- -
-
-
-

- ZK Passport -

-

- Convert your passport into an incognito profile and generate - zero-knowledge proofs that verify your age, citizenship, or humanity -

+ +
+ Passports Section +
+ +
+
+
+

+ ZK Passport +

+

+ Convert your passport into an incognito profile and generate ZKP + that verify your age, citizenship, or humanity +

+
+ + setIsDemoModalOpen(false)} + > + +
- - setIsDemoModalOpen(false)} - > - -
-
+ ) } diff --git a/src/app/page.tsx b/src/app/page.tsx index e46c035..28b9859 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,7 +6,7 @@ import AboutSection from './components/AboutSection' import CardsSection from './components/CardsSection' import HeroSection from './components/HeroSection' import IntegrationsSection from './components/IntegrationsSection' -import MetamaskSection from './components/MetamaskSection' +import PassportsCard from './components/PassportsCard' import RewardsSection from './components/RewardsSection' export default function Home() { @@ -17,9 +17,9 @@ export default function Home() { - + - +