1- import React , { ReactElement } from "react"
1+ import React from "react"
22import {
33 Button ,
44 ModalBody ,
@@ -15,32 +15,15 @@ import {
1515 Highlight ,
1616 Text ,
1717} from "@chakra-ui/react"
18- import { BaseModalProps , DappMode } from "#/types"
19- import { EmbedApp } from "#/utils/referralProgram"
20- import { useIsEmbed , useMobileMode } from "#/hooks"
18+ import { BaseModalProps } from "#/types"
19+ import { useMobileMode } from "#/hooks"
2120import {
2221 step1Video ,
2322 step2Video ,
2423 step3Video ,
2524} from "#/assets/videos/welcome-steps"
2625import withBaseModal from "./ModalRoot/withBaseModal"
2726
28- const dappModeToContent : Record < DappMode , ( ) => ReactElement > = {
29- standalone : ( ) => (
30- < >
31- Acre makes earning rewards with your BTC simple and secure. Dedicated to
32- everyone, it's fun and easy to use. No advanced knowledge required.
33- </ >
34- ) ,
35- "ledger-live" : ( ) => (
36- < Highlight query = "Ledger Live" >
37- Acre makes earning rewards with your BTC simple and secure. Tailored for
38- Ledger Live, it's fun and easy to use. No advanced knowledge
39- required.
40- </ Highlight >
41- ) ,
42- }
43-
4427const steps = [
4528 {
4629 id : 0 ,
@@ -52,9 +35,14 @@ const steps = [
5235 </ Box >
5336 </ Text >
5437 ) ,
55- content : ( embeddedApp ?: EmbedApp ) =>
56- dappModeToContent [ embeddedApp ?? "standalone" ] ( ) ,
57-
38+ content : ( ) => (
39+ < >
40+ When you deposit BTC, Acre's dispatcher routes it into audited,
41+ risk-reviewed vaults run by independent risk managers. Your bitcoin
42+ stays under your control while it compounds on-chain. Simple, secure,
43+ transparent.
44+ </ >
45+ ) ,
5846 video : step1Video ,
5947 } ,
6048 {
@@ -87,9 +75,9 @@ const steps = [
8775 ) ,
8876 content : ( ) => (
8977 < Highlight query = "Acre Points Program" >
90- As a depositor, you're automatically in the Acre Points Program.
91- Enjoy daily points drops and exclusive partner rewards. Start stacking
92- those points!
78+ Deposit BTC to start earning. Monitor your position, review the vaults,
79+ earn with the Acre Points Program automatically, and redeem back into
80+ Bitcoin at any time. Your bitcoin, on-chain, working for you.
9381 </ Highlight >
9482 ) ,
9583 video : step3Video ,
@@ -122,7 +110,6 @@ function WelcomeModalBase({ closeModal }: BaseModalProps) {
122110 index : 0 ,
123111 count : steps . length ,
124112 } ) as UseStepsReturn & { goToNext : ( ) => void }
125- const { embeddedApp } = useIsEmbed ( )
126113 const isMobileMode = useMobileMode ( )
127114
128115 const isLastStep = activeStep + 1 === steps . length
@@ -138,7 +125,7 @@ function WelcomeModalBase({ closeModal }: BaseModalProps) {
138125 { activeStepData . title }
139126 </ ModalHeader >
140127 < ModalBody textAlign = "left" display = "block" color = "text.secondary" >
141- { activeStepData . content ( embeddedApp ) }
128+ { activeStepData . content ( ) }
142129 </ ModalBody >
143130 < ModalFooter
144131 display = "flex"
0 commit comments