diff --git a/devcon-app/src/assets/icons/zupass.svg b/devcon-app/src/assets/icons/zupass.svg new file mode 100644 index 000000000..7df935882 --- /dev/null +++ b/devcon-app/src/assets/icons/zupass.svg @@ -0,0 +1,3 @@ + + + diff --git a/devcon-app/src/components/domain/app/dc7/profile/zupass/index.tsx b/devcon-app/src/components/domain/app/dc7/profile/zupass/index.tsx index e69de29bb..b8f0ef9c3 100644 --- a/devcon-app/src/components/domain/app/dc7/profile/zupass/index.tsx +++ b/devcon-app/src/components/domain/app/dc7/profile/zupass/index.tsx @@ -0,0 +1,87 @@ +import React from 'react' +import { usePageContext } from 'context/page-context' +import Image from 'next/image' +import { Button } from 'lib/components/button' +import { Separator } from 'lib/components/ui/separator' +import { motion } from 'framer-motion' +import ZupassIcon from 'assets/icons/zupass.svg' +import OnboardingZupass from 'assets/images/dc-7/onboarding-zupass.png' +import { Toaster } from 'lib/components/ui/toaster' +import { useToast } from 'lib/hooks/use-toast' + +export const Zupass = (props: any) => { + // const pageContext = usePageContext() + // const { toast } = useToast() + + const containerVariants = { + hidden: { opacity: 0 }, + visible: { + opacity: 1, + transition: { + staggerChildren: 0.25, + }, + }, + } + + const itemVariants = { + hidden: { opacity: 0, x: -30 }, + visible: { opacity: 1, x: 0, transition: { duration: 0.5 } }, + } + + return ( + + + + + + + Connect your Zupass + + + To import your Visual Ticket, Swag items, and unlock unique experiences made available through Zupass at + Devcon. + + + + Onboarding Notifications + + + + + + {props.onSkip && ( + <> + + + + Not right now + + + )} + + + + ) +} diff --git a/devcon-app/src/pages/wip/onboarding/index.tsx b/devcon-app/src/pages/wip/onboarding/index.tsx index 9ef59e975..b09a7c3e2 100644 --- a/devcon-app/src/pages/wip/onboarding/index.tsx +++ b/devcon-app/src/pages/wip/onboarding/index.tsx @@ -1,4 +1,5 @@ import { Notifications } from 'components/domain/app/dc7/profile/notifications' +import { Zupass } from 'components/domain/app/dc7/profile/zupass' import React, { useState } from 'react' import Page from 'components/domain/app/dc7/page' import { DotsSelector } from 'lib/components/dots-selector' @@ -126,7 +127,7 @@ const OnboardingPage = (props: any) => { >
{currentStep === 0 && setCurrentStep(1)} />} - {currentStep === 1 && setCurrentStep(2)} />} + {currentStep === 1 && setCurrentStep(2)} />} {currentStep === 2 &&
Content for Step 3
} {currentStep === 3 &&
Content for Step 4
}