@katajere/recap 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/App.css +120 -0
- package/dist/FloatingFrames.css +55 -0
- package/dist/FloatingFrames.d.ts +11 -0
- package/dist/FloatingFrames.d.ts.map +1 -0
- package/dist/FloatingFrames.js +12 -0
- package/dist/LoginScreen.css +146 -0
- package/dist/OtpScreen.css +133 -0
- package/dist/RecapApp.d.ts +17 -0
- package/dist/RecapApp.d.ts.map +1 -0
- package/dist/RecapApp.js +7 -0
- package/dist/RecapStory.css +105 -0
- package/dist/RecapStory.d.ts +11 -0
- package/dist/RecapStory.d.ts.map +1 -0
- package/dist/RecapStory.js +150 -0
- package/dist/StoryProgress.css +47 -0
- package/dist/StoryProgress.d.ts +15 -0
- package/dist/StoryProgress.d.ts.map +1 -0
- package/dist/StoryProgress.js +23 -0
- package/dist/assets/huxxle-blue-logo.png +0 -0
- package/dist/assets/huxxle-blue-logo.svg +14 -0
- package/dist/assets/huxxle-logo.png +0 -0
- package/dist/assets/huxxle_star_final.gif +0 -0
- package/dist/assets/login-logo.png +0 -0
- package/dist/assets/login-logo.svg +14 -0
- package/dist/assets/money-rain.png +0 -0
- package/dist/assets/raining-money.gif +0 -0
- package/dist/assets/recap-music.mp3 +0 -0
- package/dist/assets/sketch_draw.gif +0 -0
- package/dist/assets/slide-logo.png +0 -0
- package/dist/assets/slide-logo.svg +14 -0
- package/dist/assets/sound-off.svg +4 -0
- package/dist/assets/sound-on.svg +5 -0
- package/dist/components/Header.css +46 -0
- package/dist/components/Header.d.ts +12 -0
- package/dist/components/Header.d.ts.map +1 -0
- package/dist/components/Header.js +25 -0
- package/dist/data/mock.d.ts +8 -0
- package/dist/data/mock.d.ts.map +1 -0
- package/dist/data/mock.js +59 -0
- package/dist/data/recapCopy.d.ts +10 -0
- package/dist/data/recapCopy.d.ts.map +1 -0
- package/dist/data/recapCopy.js +23 -0
- package/dist/hooks/useBackgroundMusic.d.ts +20 -0
- package/dist/hooks/useBackgroundMusic.d.ts.map +1 -0
- package/dist/hooks/useBackgroundMusic.js +62 -0
- package/dist/index.css +13 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +40 -0
- package/dist/slides/Slide10Final.css +101 -0
- package/dist/slides/Slide10Final.d.ts +9 -0
- package/dist/slides/Slide10Final.d.ts.map +1 -0
- package/dist/slides/Slide10Final.js +68 -0
- package/dist/slides/Slide1Intro.css +261 -0
- package/dist/slides/Slide1Intro.d.ts +13 -0
- package/dist/slides/Slide1Intro.d.ts.map +1 -0
- package/dist/slides/Slide1Intro.js +61 -0
- package/dist/slides/Slide2Days.css +209 -0
- package/dist/slides/Slide2Days.d.ts +11 -0
- package/dist/slides/Slide2Days.d.ts.map +1 -0
- package/dist/slides/Slide2Days.js +11 -0
- package/dist/slides/Slide3Revenue.css +89 -0
- package/dist/slides/Slide3Revenue.d.ts +12 -0
- package/dist/slides/Slide3Revenue.d.ts.map +1 -0
- package/dist/slides/Slide3Revenue.js +16 -0
- package/dist/slides/Slide4Orders.css +135 -0
- package/dist/slides/Slide4Orders.d.ts +10 -0
- package/dist/slides/Slide4Orders.d.ts.map +1 -0
- package/dist/slides/Slide4Orders.js +16 -0
- package/dist/slides/Slide5Buyers.css +140 -0
- package/dist/slides/Slide5Buyers.d.ts +11 -0
- package/dist/slides/Slide5Buyers.d.ts.map +1 -0
- package/dist/slides/Slide5Buyers.js +12 -0
- package/dist/slides/Slide6Customer.css +92 -0
- package/dist/slides/Slide6Customer.d.ts +10 -0
- package/dist/slides/Slide6Customer.d.ts.map +1 -0
- package/dist/slides/Slide6Customer.js +10 -0
- package/dist/slides/Slide7Products.css +144 -0
- package/dist/slides/Slide7Products.d.ts +11 -0
- package/dist/slides/Slide7Products.d.ts.map +1 -0
- package/dist/slides/Slide7Products.js +29 -0
- package/dist/slides/Slide8Months.css +148 -0
- package/dist/slides/Slide8Months.d.ts +7 -0
- package/dist/slides/Slide8Months.d.ts.map +1 -0
- package/dist/slides/Slide8Months.js +31 -0
- package/dist/slides/Slide9Year.css +93 -0
- package/dist/slides/Slide9Year.d.ts +8 -0
- package/dist/slides/Slide9Year.d.ts.map +1 -0
- package/dist/slides/Slide9Year.js +9 -0
- package/dist/types.d.ts +33 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +11 -0
- package/dist/utils/format.d.ts +9 -0
- package/dist/utils/format.d.ts.map +1 -0
- package/dist/utils/format.js +17 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/motion.d.ts +19 -0
- package/dist/utils/motion.d.ts.map +1 -0
- package/dist/utils/motion.js +80 -0
- package/package.json +98 -0
- package/src/App.css +120 -0
- package/src/App.tsx +73 -0
- package/src/FloatingFrames.css +55 -0
- package/src/FloatingFrames.tsx +27 -0
- package/src/LoginScreen.css +146 -0
- package/src/LoginScreen.tsx +70 -0
- package/src/OtpScreen.css +133 -0
- package/src/OtpScreen.tsx +109 -0
- package/src/RecapApp.tsx +34 -0
- package/src/RecapStory.css +105 -0
- package/src/RecapStory.tsx +269 -0
- package/src/StoryProgress.css +47 -0
- package/src/StoryProgress.tsx +60 -0
- package/src/assets.d.ts +41 -0
- package/src/components/Header.css +46 -0
- package/src/components/Header.tsx +41 -0
- package/src/data/mock.ts +62 -0
- package/src/data/recapCopy.ts +33 -0
- package/src/hooks/useBackgroundMusic.ts +79 -0
- package/src/index.css +13 -0
- package/src/index.ts +70 -0
- package/src/react-app-env.d.ts +26 -0
- package/src/slides/Slide10Final.css +101 -0
- package/src/slides/Slide10Final.tsx +105 -0
- package/src/slides/Slide1Intro.css +261 -0
- package/src/slides/Slide1Intro.tsx +141 -0
- package/src/slides/Slide2Days.css +209 -0
- package/src/slides/Slide2Days.tsx +92 -0
- package/src/slides/Slide3Revenue.css +89 -0
- package/src/slides/Slide3Revenue.tsx +76 -0
- package/src/slides/Slide4Orders.css +135 -0
- package/src/slides/Slide4Orders.tsx +63 -0
- package/src/slides/Slide5Buyers.css +140 -0
- package/src/slides/Slide5Buyers.tsx +74 -0
- package/src/slides/Slide6Customer.css +92 -0
- package/src/slides/Slide6Customer.tsx +27 -0
- package/src/slides/Slide7Products.css +144 -0
- package/src/slides/Slide7Products.tsx +81 -0
- package/src/slides/Slide8Months.css +148 -0
- package/src/slides/Slide8Months.tsx +63 -0
- package/src/slides/Slide9Year.css +93 -0
- package/src/slides/Slide9Year.tsx +35 -0
- package/src/types.ts +39 -0
- package/src/utils/format.ts +18 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/motion.ts +89 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/* Slide2Days - Figma exact specifications */
|
|
2
|
+
|
|
3
|
+
.slide2-days {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Top heading - "Make we look the numbers" */
|
|
11
|
+
.slide2-days__heading {
|
|
12
|
+
position: absolute;
|
|
13
|
+
width: 91.79%;
|
|
14
|
+
/* left: 4.1%;
|
|
15
|
+
top: 10.66%; */
|
|
16
|
+
font-family: 'Lora', serif;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
color: white;
|
|
20
|
+
/* margin: 0 0 4.74% 0; */
|
|
21
|
+
margin: calc(108px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
22
|
+
text-align: left;
|
|
23
|
+
z-index: 3;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Floating rectangles under heading */
|
|
27
|
+
.slide2-days__frames {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
align-items: center;
|
|
32
|
+
padding: 0;
|
|
33
|
+
gap: clamp(8px, 3.08%, 12px);
|
|
34
|
+
position: absolute;
|
|
35
|
+
width: 100%;
|
|
36
|
+
/* height: 28.4vh; */
|
|
37
|
+
left: 0;
|
|
38
|
+
top: clamp(160px, 21.68%, 290px);
|
|
39
|
+
/* margin: calc(183px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right)); */
|
|
40
|
+
z-index: 2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.slide2-days__frames .frame-rect {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
width: clamp(140px, 46.15%, 180px);
|
|
46
|
+
height: clamp(240px, 28.4%, 360px);
|
|
47
|
+
/* aspect-ratio: 180 / 240; */
|
|
48
|
+
border: 1px solid #FFFFFF;
|
|
49
|
+
flex: none;
|
|
50
|
+
/* flex-grow: 0; */
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Days stats section */
|
|
54
|
+
.slide2-days__stats-section {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
align-items: flex-start;
|
|
58
|
+
padding: 0;
|
|
59
|
+
/* gap: 40px; */
|
|
60
|
+
position: absolute;
|
|
61
|
+
width: 91.79%;
|
|
62
|
+
/* left: 4.1vh;
|
|
63
|
+
top: 56.75vh; */
|
|
64
|
+
margin: clamp(400px, 56.75%, 680px) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
65
|
+
z-index: 3;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.stats-label {
|
|
69
|
+
width: 100%;
|
|
70
|
+
font-family: 'Lora', serif;
|
|
71
|
+
font-style: normal;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
font-size: clamp(22px, 2.8%, 32px);
|
|
74
|
+
/* line-height: 72px; */
|
|
75
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
76
|
+
-webkit-background-clip: text;
|
|
77
|
+
-webkit-text-fill-color: transparent;
|
|
78
|
+
background-clip: text;
|
|
79
|
+
margin: 0;
|
|
80
|
+
flex: none;
|
|
81
|
+
order: 0;
|
|
82
|
+
align-self: stretch;
|
|
83
|
+
flex-grow: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.stats-container {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
align-items: flex-start;
|
|
90
|
+
padding: 0;
|
|
91
|
+
/* gap: 20px; */
|
|
92
|
+
width: 100%;
|
|
93
|
+
flex: none;
|
|
94
|
+
order: 1;
|
|
95
|
+
align-self: stretch;
|
|
96
|
+
flex-grow: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.stats-number {
|
|
100
|
+
width: 100%;
|
|
101
|
+
font-family: 'Lora', serif;
|
|
102
|
+
font-style: normal;
|
|
103
|
+
font-weight: 700;
|
|
104
|
+
font-size: clamp(80px, 10.37%, 128px);
|
|
105
|
+
/* line-height: 115px; */
|
|
106
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
107
|
+
-webkit-background-clip: text;
|
|
108
|
+
-webkit-text-fill-color: transparent;
|
|
109
|
+
background-clip: text;
|
|
110
|
+
margin: 0;
|
|
111
|
+
flex: none;
|
|
112
|
+
order: 0;
|
|
113
|
+
align-self: stretch;
|
|
114
|
+
flex-grow: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.stats-sublabel {
|
|
118
|
+
width: 100%;
|
|
119
|
+
font-family: 'Lora', serif;
|
|
120
|
+
font-style: normal;
|
|
121
|
+
font-weight: 400;
|
|
122
|
+
font-size: clamp(14px, 4.1vw, 16px);
|
|
123
|
+
/* line-height: 72px; */
|
|
124
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
125
|
+
-webkit-background-clip: text;
|
|
126
|
+
-webkit-text-fill-color: transparent;
|
|
127
|
+
background-clip: text;
|
|
128
|
+
margin: 0;
|
|
129
|
+
flex: none;
|
|
130
|
+
order: 1;
|
|
131
|
+
align-self: stretch;
|
|
132
|
+
flex-grow: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Divider line */
|
|
136
|
+
.slide2-days__divider {
|
|
137
|
+
position: absolute;
|
|
138
|
+
width: 74.1%;
|
|
139
|
+
height: 0;
|
|
140
|
+
left: 25.9%;
|
|
141
|
+
top: clamp(620px, 79.86%, 900px);
|
|
142
|
+
opacity: 0.4;
|
|
143
|
+
border: clamp(1px, 0.24%, 2px) solid #FFFFFF;
|
|
144
|
+
transform-origin: left;
|
|
145
|
+
z-index: 3;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* @media (min-height: 720px) {
|
|
149
|
+
.slide2-days__divider {
|
|
150
|
+
top: 79.86%;
|
|
151
|
+
bottom: auto;
|
|
152
|
+
}
|
|
153
|
+
} */
|
|
154
|
+
|
|
155
|
+
/* Streak section */
|
|
156
|
+
.slide2-days__streak-section {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
align-items: flex-end;
|
|
160
|
+
padding: 0;
|
|
161
|
+
/* gap: 40px; */
|
|
162
|
+
position: absolute;
|
|
163
|
+
width: 91.79%;
|
|
164
|
+
left: 4.1%;
|
|
165
|
+
top: clamp(640px, 82.23%, 920px);
|
|
166
|
+
z-index: 3;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* @media (min-height: 720px) {
|
|
170
|
+
.slide2-days__streak-section {
|
|
171
|
+
top: 82.23%;
|
|
172
|
+
bottom: auto;
|
|
173
|
+
}
|
|
174
|
+
} */
|
|
175
|
+
|
|
176
|
+
.streak-number {
|
|
177
|
+
width: 100%;
|
|
178
|
+
font-family: 'Lora', serif;
|
|
179
|
+
font-style: normal;
|
|
180
|
+
font-weight: 700;
|
|
181
|
+
font-size: clamp(50px, 6.64%, 96px);
|
|
182
|
+
/* line-height: 115px; */
|
|
183
|
+
text-align: right;
|
|
184
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
185
|
+
-webkit-background-clip: text;
|
|
186
|
+
-webkit-text-fill-color: transparent;
|
|
187
|
+
background-clip: text;
|
|
188
|
+
margin: 0;
|
|
189
|
+
flex: none;
|
|
190
|
+
order: 0;
|
|
191
|
+
align-self: stretch;
|
|
192
|
+
flex-grow: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.streak-label {
|
|
196
|
+
width: 100%;
|
|
197
|
+
font-family: 'Lora', serif;
|
|
198
|
+
font-style: normal;
|
|
199
|
+
font-weight: 400;
|
|
200
|
+
font-size: clamp(14px, 4.1vw, 16px);
|
|
201
|
+
/* line-height: 72px; */
|
|
202
|
+
text-align: right;
|
|
203
|
+
flex: none;
|
|
204
|
+
order: 1;
|
|
205
|
+
align-self: stretch;
|
|
206
|
+
flex-grow: 0;
|
|
207
|
+
color: white;
|
|
208
|
+
margin: 0 0 4.74% 0;
|
|
209
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './Slide2Days.css';
|
|
2
|
+
interface Slide2DaysProps {
|
|
3
|
+
days: number;
|
|
4
|
+
streak: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Slide2Days - Days active and streak statistics
|
|
8
|
+
*/
|
|
9
|
+
declare function Slide2Days({ days, streak }: Slide2DaysProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Slide2Days;
|
|
11
|
+
//# sourceMappingURL=Slide2Days.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slide2Days.d.ts","sourceRoot":"","sources":["../../src/slides/Slide2Days.tsx"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAE1B,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,eAAe,2CA4EpD;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { motion } from 'framer-motion';
|
|
3
|
+
import { formatNumber } from '../utils';
|
|
4
|
+
import './Slide2Days.css';
|
|
5
|
+
/**
|
|
6
|
+
* Slide2Days - Days active and streak statistics
|
|
7
|
+
*/
|
|
8
|
+
function Slide2Days({ days, streak }) {
|
|
9
|
+
return (_jsxs("div", { className: "slide2-days", children: [_jsx(motion.div, { className: "slide2-days__heading", initial: { opacity: 0, y: -20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, ease: 'easeOut' }, children: "Make we look the numbers \uD83D\uDD25" }), _jsxs(motion.div, { className: "slide2-days__frames", initial: { opacity: 0, x: -50 }, animate: { opacity: 1, x: 0 }, transition: { duration: 0.8, delay: 0.2 }, children: [_jsx(motion.div, { className: "frame-rect", animate: { x: [-20, 20] }, transition: { duration: 4, repeat: Infinity, repeatType: 'reverse', ease: 'linear' } }), _jsx(motion.div, { className: "frame-rect", animate: { x: [-20, 20] }, transition: { duration: 4, repeat: Infinity, repeatType: 'reverse', ease: 'linear' } }), _jsx(motion.div, { className: "frame-rect", animate: { x: [-20, 20] }, transition: { duration: 4, repeat: Infinity, repeatType: 'reverse', ease: 'linear' } })] }), _jsxs(motion.div, { className: "slide2-days__stats-section", initial: { opacity: 0, y: 30 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.7, delay: 0.4 }, children: [_jsx("p", { className: "stats-label", children: "You don spend over" }), _jsxs(motion.div, { className: "stats-container", initial: { opacity: 0, scale: 0.9 }, animate: { opacity: 1, scale: 1 }, transition: { duration: 0.6, delay: 0.6 }, children: [_jsx("div", { className: "stats-number", children: formatNumber(days) }), _jsx("p", { className: "stats-sublabel", children: "days dey hustle with Huxxle" })] })] }), _jsx(motion.div, { className: "slide2-days__divider", initial: { scaleX: 0 }, animate: { scaleX: 1 }, transition: { duration: 0.8, delay: 0.9, ease: 'easeInOut' } }), _jsxs(motion.div, { className: "slide2-days__streak-section", initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 1.1 }, children: [_jsx("div", { className: "streak-number", children: formatNumber(streak) }), _jsx("p", { className: "streak-label", children: "day streak, You no dey play oh \uD83E\uDD2F" })] })] }));
|
|
10
|
+
}
|
|
11
|
+
export default Slide2Days;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.slide3-revenue {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
padding: 9.48% 6.15% 7.11%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@media (max-height: 720px), (orientation: landscape) {
|
|
13
|
+
.slide3-revenue {
|
|
14
|
+
padding: clamp(24px, 5vh, 40px) 6.15% clamp(24px, 4vh, 32px);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.slide3-revenue__overlay {
|
|
19
|
+
position: absolute;
|
|
20
|
+
inset: 0;
|
|
21
|
+
background-size: cover;
|
|
22
|
+
background-repeat: no-repeat;
|
|
23
|
+
background-position: center;
|
|
24
|
+
opacity: 0.05;
|
|
25
|
+
mix-blend-mode: screen;
|
|
26
|
+
z-index: 0;
|
|
27
|
+
filter: brightness(0.75);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.slide3-revenue__content {
|
|
31
|
+
position: relative;
|
|
32
|
+
z-index: 1;
|
|
33
|
+
width: 100%;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
gap: clamp(20px, 2.84%, 32px);
|
|
39
|
+
text-align: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.gradient-text {
|
|
43
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
44
|
+
-webkit-background-clip: text;
|
|
45
|
+
-webkit-text-fill-color: transparent;
|
|
46
|
+
background-clip: text;
|
|
47
|
+
color: transparent;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.slide3-revenue__title {
|
|
51
|
+
font-family: 'Lora', 'Georgia', serif;
|
|
52
|
+
font-size: clamp(22px, 2.84%, 32px);
|
|
53
|
+
font-weight: 500;
|
|
54
|
+
letter-spacing: 0.04em;
|
|
55
|
+
margin: 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.slide3-revenue__amount {
|
|
59
|
+
font-family: 'Lora', 'Georgia', serif;
|
|
60
|
+
font-size: clamp(54px, 7.58%, 112px);
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
line-height: 1;
|
|
63
|
+
margin: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.slide3-revenue__subline {
|
|
67
|
+
font-family: 'Lora', 'Georgia', serif;
|
|
68
|
+
font-size: clamp(14px, 1.9%, 24px);
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
margin: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.slide3-revenue__footer {
|
|
74
|
+
position: absolute;
|
|
75
|
+
bottom: 4.74%;
|
|
76
|
+
left: 4.1%;
|
|
77
|
+
transform: translateX(0);
|
|
78
|
+
font-family: 'Lora', 'Georgia', serif;
|
|
79
|
+
font-size: clamp(14px, 4.1vw, 16px);
|
|
80
|
+
font-weight: 400;
|
|
81
|
+
letter-spacing: 0.03em;
|
|
82
|
+
z-index: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@media (max-width: 480px) {
|
|
86
|
+
.slide3-revenue {
|
|
87
|
+
padding: 7.11% 4.1% 5.69%;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BusinessCategory } from '../types';
|
|
2
|
+
import './Slide3Revenue.css';
|
|
3
|
+
interface Slide3RevenueProps {
|
|
4
|
+
revenue: number;
|
|
5
|
+
businessCategory: BusinessCategory;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Slide3Revenue - Revenue display with money rain overlay
|
|
9
|
+
*/
|
|
10
|
+
declare function Slide3Revenue({ revenue, businessCategory }: Slide3RevenueProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Slide3Revenue;
|
|
12
|
+
//# sourceMappingURL=Slide3Revenue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slide3Revenue.d.ts","sourceRoot":"","sources":["../../src/slides/Slide3Revenue.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjE,OAAO,qBAAqB,CAAC;AAI7B,UAAU,kBAAkB;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,gBAAgB,CAAC;CACpC;AAED;;GAEG;AACH,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,2CAwDvE;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { motion } from 'framer-motion';
|
|
3
|
+
import { formatCurrency } from '../utils';
|
|
4
|
+
import { BUSINESS_CATEGORIES } from '../types';
|
|
5
|
+
import { recapCopy } from '../data/recapCopy';
|
|
6
|
+
import './Slide3Revenue.css';
|
|
7
|
+
import moneyRainGif from '../assets/raining-money.gif';
|
|
8
|
+
/**
|
|
9
|
+
* Slide3Revenue - Revenue display with money rain overlay
|
|
10
|
+
*/
|
|
11
|
+
function Slide3Revenue({ revenue, businessCategory }) {
|
|
12
|
+
const copy = recapCopy[businessCategory] ?? recapCopy[BUSINESS_CATEGORIES.THRIVING];
|
|
13
|
+
const footerText = copy.revenueFooter;
|
|
14
|
+
return (_jsxs("div", { className: "slide3-revenue", children: [_jsx("div", { className: "slide3-revenue__overlay", style: { backgroundImage: `url(${moneyRainGif})` }, "aria-hidden": "true" }), _jsxs("div", { className: "slide3-revenue__content", children: [_jsx(motion.h2, { className: "slide3-revenue__title gradient-text", initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.5 }, children: "You don make" }), _jsx(motion.div, { className: "slide3-revenue__amount gradient-text", initial: { opacity: 0, scale: 0.9 }, animate: { opacity: 1, scale: 1 }, transition: { duration: 0.8, delay: 0.3 }, children: formatCurrency(revenue) }), _jsx(motion.p, { className: "slide3-revenue__subline gradient-text", initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.5, delay: 0.6 }, children: "Walahi you no small rara" })] }), _jsx(motion.div, { className: "slide3-revenue__footer gradient-text", initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.5, delay: 0.9 }, children: footerText })] }));
|
|
15
|
+
}
|
|
16
|
+
export default Slide3Revenue;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
.slide4-orders {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
padding: 0 6.15%;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* @media (max-height: 720px), (orientation: landscape) {
|
|
13
|
+
.slide4-orders {
|
|
14
|
+
padding: clamp(24px, 5vh, 40px) 6.15% clamp(24px, 4vh, 32px);
|
|
15
|
+
}
|
|
16
|
+
} */
|
|
17
|
+
|
|
18
|
+
.slide4-orders__grid {
|
|
19
|
+
position: absolute;
|
|
20
|
+
width: 1117px;
|
|
21
|
+
height: 1168px;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 50%;
|
|
24
|
+
transform: translateX(-50%);
|
|
25
|
+
z-index: 0;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.slide4-orders__diagonal {
|
|
31
|
+
position: absolute;
|
|
32
|
+
inset: 0;
|
|
33
|
+
}
|
|
34
|
+
.slide4-orders__rect {
|
|
35
|
+
position: absolute;
|
|
36
|
+
width: 180px;
|
|
37
|
+
height: 240px;
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
border: 1px solid #FFFFFF;
|
|
40
|
+
/* transform-origin: 0 0; */
|
|
41
|
+
transform: rotate(28.8631deg);
|
|
42
|
+
flex: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.slide4-orders__rect.r1 { left: 816.598px; top: 0.679px; }
|
|
46
|
+
.slide4-orders__rect.r2 { left: 694.953px; top: 221.375px; }
|
|
47
|
+
.slide4-orders__rect.r3 { left: 573.308px; top: 442.07px; }
|
|
48
|
+
.slide4-orders__rect.r4 { left: 451.663px; top: 662.766px; }
|
|
49
|
+
.slide4-orders__rect.r5 { left: 953.35px; top: 150.751px; }
|
|
50
|
+
.slide4-orders__rect.r6 { left: 831.705px; top: 371.446px; }
|
|
51
|
+
.slide4-orders__rect.r7 { left: 710.06px; top: 592.142px; }
|
|
52
|
+
.slide4-orders__rect.r8 { left: 588.415px; top: 812.837px; }
|
|
53
|
+
/* .slide4-orders__rect.r9 { left: 480.984px; top: 208.701px; } */
|
|
54
|
+
.slide4-orders__rect.r10 { left: 359.339px; top: 429.397px; }
|
|
55
|
+
.slide4-orders__rect.r11 { left: 237.694px; top: 650.092px; }
|
|
56
|
+
.slide4-orders__rect.r12 { left: 116.049px; top: 870.788px; }
|
|
57
|
+
|
|
58
|
+
.group-1 {
|
|
59
|
+
animation: upForever 8s linear infinite;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.group-2 {
|
|
63
|
+
animation: downForever 8s linear infinite;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.group-3 {
|
|
67
|
+
animation: upForever 8s linear infinite;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes upForever {
|
|
71
|
+
from {
|
|
72
|
+
transform: rotate(28.8631deg) translateY(0);
|
|
73
|
+
}
|
|
74
|
+
to {
|
|
75
|
+
transform: rotate(28.8631deg) translateY(-71.09%);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@keyframes downForever {
|
|
80
|
+
from {
|
|
81
|
+
transform: rotate(28.8631deg) translateY(0);
|
|
82
|
+
}
|
|
83
|
+
to {
|
|
84
|
+
transform: rotate(28.8631deg) translateY(71.09%);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.slide4-orders__content {
|
|
89
|
+
position: relative;
|
|
90
|
+
z-index: 1;
|
|
91
|
+
width: 100%;
|
|
92
|
+
max-width: 360px;
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
align-items: flex-start;
|
|
96
|
+
gap: 2.84dvh;
|
|
97
|
+
margin-top: 18.6vh;
|
|
98
|
+
}
|
|
99
|
+
.slide4-orders__label,
|
|
100
|
+
.slide4-orders__number,
|
|
101
|
+
.slide4-orders__caption {
|
|
102
|
+
font-family: 'Lora', 'Georgia', serif;
|
|
103
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
104
|
+
-webkit-background-clip: text;
|
|
105
|
+
-webkit-text-fill-color: transparent;
|
|
106
|
+
background-clip: text;
|
|
107
|
+
color: transparent;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.slide4-orders__label {
|
|
111
|
+
font-size: 2.84vh;
|
|
112
|
+
font-weight: 500;
|
|
113
|
+
letter-spacing: 0.02em;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.slide4-orders__number {
|
|
117
|
+
font-size: 11.37vh;
|
|
118
|
+
font-weight: 700;
|
|
119
|
+
line-height: 1;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.slide4-orders__caption {
|
|
123
|
+
font-size: 1.9vh;
|
|
124
|
+
font-weight: 400;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* @media (max-width: 480px) {
|
|
128
|
+
.slide4-orders {
|
|
129
|
+
padding: 8.29% 4.1% 5.92%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.slide4-orders__number {
|
|
133
|
+
font-size: clamp(56px, 26vw, 72px);
|
|
134
|
+
}
|
|
135
|
+
} */
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './Slide4Orders.css';
|
|
2
|
+
interface Slide4OrdersProps {
|
|
3
|
+
orders: number;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Slide4Orders - Emphasizes the order volume with rotated card outlines in the background
|
|
7
|
+
*/
|
|
8
|
+
declare function Slide4Orders({ orders }: Slide4OrdersProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Slide4Orders;
|
|
10
|
+
//# sourceMappingURL=Slide4Orders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slide4Orders.d.ts","sourceRoot":"","sources":["../../src/slides/Slide4Orders.tsx"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,CAAC;AAE5B,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,iBAAS,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,2CAiDlD;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { motion } from 'framer-motion';
|
|
4
|
+
import './Slide4Orders.css';
|
|
5
|
+
/**
|
|
6
|
+
* Slide4Orders - Emphasizes the order volume with rotated card outlines in the background
|
|
7
|
+
*/
|
|
8
|
+
function Slide4Orders({ orders }) {
|
|
9
|
+
const rectGroups = [
|
|
10
|
+
{ id: 'group-1', rects: ['r5', 'r6', 'r7', 'r8'], groupClass: 'group-1' },
|
|
11
|
+
{ id: 'group-2', rects: ['r1', 'r2', 'r3', 'r4'], groupClass: 'group-2' },
|
|
12
|
+
{ id: 'group-3', rects: ['r10', 'r11', 'r12'], groupClass: 'group-3' }
|
|
13
|
+
];
|
|
14
|
+
return (_jsxs("div", { className: "slide4-orders", children: [_jsx("div", { className: "slide4-orders__grid", "aria-hidden": "true", children: rectGroups.map(group => (_jsx(React.Fragment, { children: group.rects.map(rect => (_jsx("span", { className: `slide4-orders__rect ${rect} ${group.groupClass}` }, rect))) }, group.id))) }), _jsxs("div", { className: "slide4-orders__content", children: [_jsx(motion.p, { className: "slide4-orders__label", initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.5 }, children: "orders choke" }), _jsx(motion.div, { className: "slide4-orders__number", initial: { opacity: 0, scale: 0.95 }, animate: { opacity: 1, scale: 1 }, transition: { duration: 0.8, delay: 0.3 }, children: orders.toLocaleString() }), _jsxs(motion.p, { className: "slide4-orders__caption", initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.5, delay: 0.6 }, children: ["Na serious hustle be this ", _jsx("span", { "aria-hidden": "true", children: "\uD83D\uDCAA" })] })] })] }));
|
|
15
|
+
}
|
|
16
|
+
export default Slide4Orders;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
.slide5-buyers {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
padding: 9.48% 6.15% 7.11%;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@media (max-height: 720px), (orientation: landscape) {
|
|
13
|
+
.slide5-buyers {
|
|
14
|
+
padding: clamp(24px, 5vh, 40px) 6.15% clamp(24px, 4vh, 32px);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.slide5-buyers__grid {
|
|
19
|
+
position: absolute;
|
|
20
|
+
inset: 0;
|
|
21
|
+
/* width: 650px; */
|
|
22
|
+
height: 100%;
|
|
23
|
+
margin: 0 auto;
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
z-index: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.column {
|
|
29
|
+
position: absolute;
|
|
30
|
+
width: 179px;
|
|
31
|
+
height: 100%;
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.column-left {
|
|
37
|
+
left: -33.33%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.column-right {
|
|
41
|
+
right: -33.33%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.column-inner {
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
width: 179px;
|
|
49
|
+
height: 1300px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.column-left .column-inner {
|
|
53
|
+
animation: moveUp 6s linear infinite;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.column-right .column-inner {
|
|
57
|
+
animation: moveDown 6s linear infinite;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.rect {
|
|
61
|
+
position: absolute;
|
|
62
|
+
width: 179px;
|
|
63
|
+
height: 239px;
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
border: 1px solid #FFFFFF;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.rect.l1 { top: -251.5px; }
|
|
69
|
+
.rect.l2 { top: 0.5px; }
|
|
70
|
+
.rect.l3 { top: 252.5px; }
|
|
71
|
+
.rect.l4 { top: 504.5px; }
|
|
72
|
+
.rect.l5 { top: 756.5px; }
|
|
73
|
+
.rect.l6 { top: 1008.5px; }
|
|
74
|
+
|
|
75
|
+
.rect.r1 { top: -247.022px; }
|
|
76
|
+
.rect.r2 { top: 4.978px; }
|
|
77
|
+
.rect.r3 { top: 256.978px; }
|
|
78
|
+
.rect.r4 { top: 508.978px; }
|
|
79
|
+
.rect.r5 { top: 760.978px; }
|
|
80
|
+
.rect.r6 { top: 1012.978px; }
|
|
81
|
+
|
|
82
|
+
@keyframes moveUp {
|
|
83
|
+
from { transform: translateY(0); }
|
|
84
|
+
to { transform: translateY(-29.86%); }
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@keyframes moveDown {
|
|
88
|
+
from { transform: translateY(0); }
|
|
89
|
+
to { transform: translateY(29.86%); }
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.slide5-buyers__content {
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 1;
|
|
95
|
+
max-width: 360px;
|
|
96
|
+
text-align: center;
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
gap: 6.58vh;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.slide5-buyers__number {
|
|
105
|
+
font-family: 'Lora', 'Georgia', serif;
|
|
106
|
+
font-size: 11.37vh;
|
|
107
|
+
font-weight: 700;
|
|
108
|
+
/* line-height: 1; */
|
|
109
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
110
|
+
-webkit-background-clip: text;
|
|
111
|
+
-webkit-text-fill-color: transparent;
|
|
112
|
+
background-clip: text;
|
|
113
|
+
color: transparent;
|
|
114
|
+
padding-top: 4.74%;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.slide5-buyers__number.down {
|
|
118
|
+
font-size: 7.58vh;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.slide5-buyers__label {
|
|
122
|
+
font-family: 'Lora', 'Georgia', serif;
|
|
123
|
+
font-size: 1.89vh;
|
|
124
|
+
font-weight: 400;
|
|
125
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
126
|
+
-webkit-background-clip: text;
|
|
127
|
+
-webkit-text-fill-color: transparent;
|
|
128
|
+
background-clip: text;
|
|
129
|
+
color: transparent;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@media (max-width: 480px) {
|
|
133
|
+
.slide5-buyers {
|
|
134
|
+
padding: 8.29% 4.1% 5.92%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* .slide5-buyers__number {
|
|
138
|
+
font-size: clamp(56px, 26vw, 72px);
|
|
139
|
+
} */
|
|
140
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './Slide5Buyers.css';
|
|
2
|
+
interface Slide5BuyersProps {
|
|
3
|
+
firstTimeBuyers: number;
|
|
4
|
+
repeatBuyers: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Slide5Buyers - Displays first-time and returning buyer counts with vertical animated columns
|
|
8
|
+
*/
|
|
9
|
+
declare function Slide5Buyers({ firstTimeBuyers, repeatBuyers }: Slide5BuyersProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Slide5Buyers;
|
|
11
|
+
//# sourceMappingURL=Slide5Buyers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slide5Buyers.d.ts","sourceRoot":"","sources":["../../src/slides/Slide5Buyers.tsx"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,CAAC;AAE5B,UAAU,iBAAiB;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,iBAAS,YAAY,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,iBAAiB,2CA2DzE;AAED,eAAe,YAAY,CAAC"}
|