@katajere/recap 1.0.3 → 1.0.10
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/dist/App.css +156 -156
- package/dist/FloatingFrames.css +55 -55
- package/dist/LoginScreen.css +146 -146
- package/dist/OtpScreen.css +133 -133
- package/dist/RecapStory.css +105 -105
- package/dist/StoryProgress.css +47 -47
- package/dist/assets/huxxle-blue-logo.svg +14 -14
- package/dist/assets/login-logo.svg +14 -14
- package/dist/assets/slide-logo.svg +14 -14
- package/dist/components/Header.css +46 -46
- package/dist/slides/Slide10Final.css +101 -101
- package/dist/slides/Slide1Intro.css +235 -235
- package/dist/slides/Slide2Days.css +209 -209
- package/dist/slides/Slide3Revenue.css +89 -89
- package/dist/slides/Slide4Orders.css +135 -135
- package/dist/slides/Slide5Buyers.css +140 -140
- package/dist/slides/Slide6Customer.css +92 -92
- package/dist/slides/Slide7Products.css +144 -144
- package/dist/slides/Slide8Months.css +148 -148
- package/dist/slides/Slide9Year.css +93 -93
- package/package.json +1 -1
- package/src/App.css +156 -156
- package/src/FloatingFrames.css +55 -55
- package/src/FloatingFrames.tsx +27 -27
- package/src/LoginScreen.css +146 -146
- package/src/LoginScreen.tsx +70 -70
- package/src/OtpScreen.css +133 -133
- package/src/OtpScreen.tsx +109 -109
- package/src/RecapApp.tsx +34 -34
- package/src/RecapStory.css +105 -105
- package/src/RecapStory.tsx +269 -269
- package/src/StoryProgress.css +47 -47
- package/src/StoryProgress.tsx +60 -60
- package/src/assets.d.ts +41 -41
- package/src/components/Header.css +46 -46
- package/src/components/Header.tsx +41 -41
- package/src/data/mock.ts +62 -62
- package/src/data/recapCopy.ts +33 -33
- package/src/hooks/useBackgroundMusic.ts +79 -79
- package/src/index.ts +70 -70
- package/src/react-app-env.d.ts +26 -26
- package/src/slides/Slide10Final.css +101 -101
- package/src/slides/Slide10Final.tsx +105 -105
- package/src/slides/Slide1Intro.css +235 -235
- package/src/slides/Slide1Intro.tsx +141 -141
- package/src/slides/Slide2Days.css +209 -209
- package/src/slides/Slide2Days.tsx +92 -92
- package/src/slides/Slide3Revenue.css +89 -89
- package/src/slides/Slide3Revenue.tsx +76 -76
- package/src/slides/Slide4Orders.css +135 -135
- package/src/slides/Slide4Orders.tsx +63 -63
- package/src/slides/Slide5Buyers.css +140 -140
- package/src/slides/Slide5Buyers.tsx +74 -74
- package/src/slides/Slide6Customer.css +92 -92
- package/src/slides/Slide6Customer.tsx +27 -27
- package/src/slides/Slide7Products.css +144 -144
- package/src/slides/Slide7Products.tsx +81 -81
- package/src/slides/Slide8Months.css +148 -148
- package/src/slides/Slide8Months.tsx +63 -63
- package/src/slides/Slide9Year.css +93 -93
- package/src/slides/Slide9Year.tsx +35 -35
- package/src/types.ts +39 -39
- package/src/utils/format.ts +18 -18
- package/src/utils/index.ts +3 -3
- package/src/utils/motion.ts +89 -89
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
.slide10-final {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
color: #FCFCFC;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
gap: 3.79%;
|
|
11
|
-
padding-top: 41.65vh;
|
|
12
|
-
margin-bottom: 2.84vh;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@media (max-height: 720px), (orientation: landscape) {
|
|
16
|
-
.slide10-final {
|
|
17
|
-
gap: clamp(16px, 2vh, 32px);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.slide10-final__button-group {
|
|
21
|
-
margin-top: clamp(32px, 5vh, 80px);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.slide10-final__badge {
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
border: 0.5px solid #FCFCFC;
|
|
28
|
-
padding: 0.95% 4.1%;
|
|
29
|
-
font-family: 'Lora', serif;
|
|
30
|
-
font-size: clamp(10px, 3.08vw, 12px);
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
letter-spacing: 0.08em;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.slide10-final__title {
|
|
36
|
-
font-family: 'Lora', serif;
|
|
37
|
-
font-size: clamp(24px, 10.26vw, 40px);
|
|
38
|
-
font-weight: 700;
|
|
39
|
-
line-height: 1.28;
|
|
40
|
-
text-transform: capitalize;
|
|
41
|
-
text-align: center;
|
|
42
|
-
width: 92.31%;
|
|
43
|
-
max-width: 360px;
|
|
44
|
-
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
45
|
-
-webkit-background-clip: text;
|
|
46
|
-
-webkit-text-fill-color: transparent;
|
|
47
|
-
background-clip: text;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.slide10-final__button-group {
|
|
51
|
-
width: 91.79%;
|
|
52
|
-
max-width: 358px;
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
gap: 8px;
|
|
56
|
-
margin-top: 14.16vh;
|
|
57
|
-
padding-bottom: 2.84vh;
|
|
58
|
-
margin-bottom: 2.84vh;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.slide10-final__button {
|
|
62
|
-
border: 1px solid #FCFCFC;
|
|
63
|
-
background: transparent;
|
|
64
|
-
color: #FCFCFC;
|
|
65
|
-
font-family: 'Lora', serif;
|
|
66
|
-
font-weight: 600;
|
|
67
|
-
font-size: clamp(12px, 4.1vw, 16px);
|
|
68
|
-
padding: 1.42% 4.1%;
|
|
69
|
-
min-height: 40px;
|
|
70
|
-
display: flex;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
align-items: center;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* .slide10-final__button--replay {
|
|
77
|
-
width: 122px;
|
|
78
|
-
align-self: flex-start;
|
|
79
|
-
padding: 8px 16px;
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
} */
|
|
82
|
-
|
|
83
|
-
.slide10-final__fallback {
|
|
84
|
-
margin-top: 1.42%;
|
|
85
|
-
font-size: clamp(12px, 3.59vw, 14px);
|
|
86
|
-
color: #FFCC80;
|
|
87
|
-
text-align: center;
|
|
88
|
-
max-width: 82.05%;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.slide10-final__manual-link {
|
|
92
|
-
margin-top: 0.95%;
|
|
93
|
-
border: 1px dashed #FFCC80;
|
|
94
|
-
background: transparent;
|
|
95
|
-
color: #FFCC80;
|
|
96
|
-
font-weight: 600;
|
|
97
|
-
padding: 1.19% 4.1%;
|
|
98
|
-
min-height: 36px;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
font-size: clamp(12px, 3.59vw, 14px);
|
|
101
|
-
}
|
|
1
|
+
.slide10-final {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
color: #FCFCFC;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: 3.79%;
|
|
11
|
+
padding-top: 41.65vh;
|
|
12
|
+
margin-bottom: 2.84vh;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (max-height: 720px), (orientation: landscape) {
|
|
16
|
+
.slide10-final {
|
|
17
|
+
gap: clamp(16px, 2vh, 32px);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.slide10-final__button-group {
|
|
21
|
+
margin-top: clamp(32px, 5vh, 80px);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.slide10-final__badge {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
border: 0.5px solid #FCFCFC;
|
|
28
|
+
padding: 0.95% 4.1%;
|
|
29
|
+
font-family: 'Lora', serif;
|
|
30
|
+
font-size: clamp(10px, 3.08vw, 12px);
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
letter-spacing: 0.08em;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.slide10-final__title {
|
|
36
|
+
font-family: 'Lora', serif;
|
|
37
|
+
font-size: clamp(24px, 10.26vw, 40px);
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
line-height: 1.28;
|
|
40
|
+
text-transform: capitalize;
|
|
41
|
+
text-align: center;
|
|
42
|
+
width: 92.31%;
|
|
43
|
+
max-width: 360px;
|
|
44
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
45
|
+
-webkit-background-clip: text;
|
|
46
|
+
-webkit-text-fill-color: transparent;
|
|
47
|
+
background-clip: text;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.slide10-final__button-group {
|
|
51
|
+
width: 91.79%;
|
|
52
|
+
max-width: 358px;
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
gap: 8px;
|
|
56
|
+
margin-top: 14.16vh;
|
|
57
|
+
padding-bottom: 2.84vh;
|
|
58
|
+
margin-bottom: 2.84vh;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.slide10-final__button {
|
|
62
|
+
border: 1px solid #FCFCFC;
|
|
63
|
+
background: transparent;
|
|
64
|
+
color: #FCFCFC;
|
|
65
|
+
font-family: 'Lora', serif;
|
|
66
|
+
font-weight: 600;
|
|
67
|
+
font-size: clamp(12px, 4.1vw, 16px);
|
|
68
|
+
padding: 1.42% 4.1%;
|
|
69
|
+
min-height: 40px;
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
align-items: center;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* .slide10-final__button--replay {
|
|
77
|
+
width: 122px;
|
|
78
|
+
align-self: flex-start;
|
|
79
|
+
padding: 8px 16px;
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
} */
|
|
82
|
+
|
|
83
|
+
.slide10-final__fallback {
|
|
84
|
+
margin-top: 1.42%;
|
|
85
|
+
font-size: clamp(12px, 3.59vw, 14px);
|
|
86
|
+
color: #FFCC80;
|
|
87
|
+
text-align: center;
|
|
88
|
+
max-width: 82.05%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.slide10-final__manual-link {
|
|
92
|
+
margin-top: 0.95%;
|
|
93
|
+
border: 1px dashed #FFCC80;
|
|
94
|
+
background: transparent;
|
|
95
|
+
color: #FFCC80;
|
|
96
|
+
font-weight: 600;
|
|
97
|
+
padding: 1.19% 4.1%;
|
|
98
|
+
min-height: 36px;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
font-size: clamp(12px, 3.59vw, 14px);
|
|
101
|
+
}
|
|
@@ -1,235 +1,235 @@
|
|
|
1
|
-
/* Slide1Intro.css - Updated design specifications */
|
|
2
|
-
|
|
3
|
-
.slide1-intro {
|
|
4
|
-
position: relative;
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* Brand name container - 48px from top, allows overflow for animation */
|
|
11
|
-
.slide1-intro__brand-container {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: flex-start;
|
|
15
|
-
padding: 0;
|
|
16
|
-
/* gap: clamp(12px, 1.9dvh, 16px); */
|
|
17
|
-
gap: calc(12px + env(safe-area-inset-top));
|
|
18
|
-
position: absolute;
|
|
19
|
-
/* width: clamp(300px, 91.79vw, 358px);
|
|
20
|
-
left: clamp(16px, 4.1vw, 16px);
|
|
21
|
-
top: clamp(40px, 5.69dvh, 48px); */
|
|
22
|
-
z-index: 3;
|
|
23
|
-
overflow: visible;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* Background "HEY" text - first line, with opacity */
|
|
27
|
-
.slide1-intro__bg-text {
|
|
28
|
-
font-family: 'Lora', serif;
|
|
29
|
-
font-style: normal;
|
|
30
|
-
font-weight: 700;
|
|
31
|
-
font-size: clamp(40px, 16.41vw, 64px);
|
|
32
|
-
line-height: 1;
|
|
33
|
-
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
34
|
-
-webkit-background-clip: text;
|
|
35
|
-
-webkit-text-fill-color: transparent;
|
|
36
|
-
background-clip: text;
|
|
37
|
-
opacity: 0.1;
|
|
38
|
-
flex: none;
|
|
39
|
-
order: 0;
|
|
40
|
-
align-self: stretch;
|
|
41
|
-
margin: calc(48px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* Business name - single line, animated horizontally */
|
|
45
|
-
.slide1-intro__brand {
|
|
46
|
-
font-family: 'Lora', serif;
|
|
47
|
-
font-style: normal;
|
|
48
|
-
font-weight: 700;
|
|
49
|
-
font-size: clamp(40px, 16.41vw, 64px);
|
|
50
|
-
line-height: 1;
|
|
51
|
-
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
52
|
-
-webkit-background-clip: text;
|
|
53
|
-
-webkit-text-fill-color: transparent;
|
|
54
|
-
background-clip: text;
|
|
55
|
-
flex: none;
|
|
56
|
-
order: 1;
|
|
57
|
-
align-self: stretch;
|
|
58
|
-
white-space: nowrap;
|
|
59
|
-
margin-left: calc(16px + env(safe-area-inset-top));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* Top floating frames - 255px from top */
|
|
63
|
-
.slide1-intro__frames-top {
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: row;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
align-items: center;
|
|
68
|
-
padding: 0;
|
|
69
|
-
gap: clamp(8px, 3.08vw, 12px);
|
|
70
|
-
position: absolute;
|
|
71
|
-
width: 100%;
|
|
72
|
-
left: 0;
|
|
73
|
-
/* top: clamp(180px, 30.21dvh, 255px); */
|
|
74
|
-
top: 30.2vh;
|
|
75
|
-
z-index: 2;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.slide1-intro__frames-top .frame-rect {
|
|
79
|
-
box-sizing: border-box;
|
|
80
|
-
width: clamp(140px, 46.15vw, 180px);
|
|
81
|
-
/* height: clamp(186px, 28.44dvh, 240px); */
|
|
82
|
-
height: 28.4vh;
|
|
83
|
-
border: 1px solid #FFFFFF;
|
|
84
|
-
flex: none;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* Headline and subtitle container - 535px from top */
|
|
88
|
-
.slide1-intro__text {
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: column;
|
|
91
|
-
align-items: flex-start;
|
|
92
|
-
/* gap: clamp(16px, 2.61dvh, 22px); */
|
|
93
|
-
position: absolute;
|
|
94
|
-
width: 100%;
|
|
95
|
-
/* left: clamp(16px, 4.1vw, 16px); */
|
|
96
|
-
/* left: calc(16px + env(safe-area-inset-top)); */
|
|
97
|
-
top: 63.39vh;
|
|
98
|
-
z-index: 3;
|
|
99
|
-
padding: 0 calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.slide1-intro__headline {
|
|
103
|
-
width: 100%;
|
|
104
|
-
font-family: 'Lora', serif;
|
|
105
|
-
font-style: normal;
|
|
106
|
-
font-weight: 600;
|
|
107
|
-
font-size: 4.7vh;
|
|
108
|
-
/* line-height: 1.2; */
|
|
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
|
-
flex: none;
|
|
114
|
-
order: 0;
|
|
115
|
-
align-self: stretch;
|
|
116
|
-
margin: 0;
|
|
117
|
-
display: -webkit-box;
|
|
118
|
-
-webkit-line-clamp: 3;
|
|
119
|
-
line-clamp: inherit;
|
|
120
|
-
-webkit-box-orient: vertical;
|
|
121
|
-
overflow: hidden;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.slide1-intro__subtitle {
|
|
125
|
-
width: 100%;
|
|
126
|
-
font-family: 'Lora', serif;
|
|
127
|
-
font-style: normal;
|
|
128
|
-
font-weight: 400;
|
|
129
|
-
font-size: clamp(14px, 4.1vw, 16px);
|
|
130
|
-
line-height: 1.5;
|
|
131
|
-
color: #FFFFFF;
|
|
132
|
-
flex: none;
|
|
133
|
-
order: 1;
|
|
134
|
-
align-self: stretch;
|
|
135
|
-
margin: 0;
|
|
136
|
-
}
|
|
137
|
-
/* Bottom floating frames - 743px from top */
|
|
138
|
-
.slide1-intro__frames-bottom {
|
|
139
|
-
display: flex;
|
|
140
|
-
flex-direction: row;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
align-items: center;
|
|
143
|
-
padding: 0;
|
|
144
|
-
gap: clamp(10px, 3.85vw, 15px);
|
|
145
|
-
position: absolute;
|
|
146
|
-
width: 100%;
|
|
147
|
-
left: 0;
|
|
148
|
-
top: 88dvh;
|
|
149
|
-
z-index: 2;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.slide1-intro__frames-bottom .frame-rect {
|
|
153
|
-
box-sizing: border-box;
|
|
154
|
-
width: clamp(140px, 46.15vw, 180px);
|
|
155
|
-
height: clamp(186px, 28.44dvh, 240px);
|
|
156
|
-
border: 1px solid #FFFFFF;
|
|
157
|
-
flex: none;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/* Variant styles */
|
|
161
|
-
.slide1-intro--struggling {
|
|
162
|
-
background: linear-gradient(180deg, #1B1A3D 0%, #E33D2E 100%);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.slide1-intro--new-user {
|
|
166
|
-
background: linear-gradient(180deg, #FFFFFF 0%, #3F3DAD 100%);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.slide1-intro--struggling .slide1-intro__subtitle {
|
|
170
|
-
color: #F6E7DF;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.slide1-intro--new-user .slide1-intro__subtitle {
|
|
174
|
-
color: #16205A;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.slide1-intro--struggling .frame-rect {
|
|
178
|
-
border-color: rgba(255, 255, 255, 0.6);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.slide1-intro--new-user .slide1-intro__brand {
|
|
182
|
-
background: linear-gradient(180deg, #4F4CD8 0%, #2A2872 100%);
|
|
183
|
-
-webkit-background-clip: text;
|
|
184
|
-
-webkit-text-fill-color: transparent;
|
|
185
|
-
background-clip: text;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.slide1-intro--new-user .slide1-intro__headline {
|
|
189
|
-
background: none;
|
|
190
|
-
color: #E6E5F9;
|
|
191
|
-
-webkit-background-clip: unset;
|
|
192
|
-
background-clip: unset;
|
|
193
|
-
-webkit-text-fill-color: #E6E5F9;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.slide1-intro--new-user .slide1-intro__subtitle {
|
|
197
|
-
color: #CDCCF4;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.slide1-intro--new-user .frame-rect {
|
|
201
|
-
border-color: rgba(63, 61, 173, 0.6);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.slide1-intro--new-user .slide1-intro__bg-text {
|
|
205
|
-
background: linear-gradient(180deg, #4F4CD8 0%, #2A2872 100%);
|
|
206
|
-
-webkit-background-clip: text;
|
|
207
|
-
-webkit-text-fill-color: transparent;
|
|
208
|
-
background-clip: text;
|
|
209
|
-
opacity: 0.08;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/* Media queries for landscape and short screens */
|
|
213
|
-
@media (max-height: 720px), (orientation: landscape) {
|
|
214
|
-
/* .slide1-intro__brand-container {
|
|
215
|
-
top: clamp(32px, 4dvh, 40px);
|
|
216
|
-
gap: clamp(8px, 1.5dvh, 12px);
|
|
217
|
-
} */
|
|
218
|
-
|
|
219
|
-
.slide1-intro__bg-text,
|
|
220
|
-
.slide1-intro__brand {
|
|
221
|
-
font-size: clamp(32px, 12vw, 48px);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/* .slide1-intro__frames-top {
|
|
225
|
-
top: clamp(140px, 22dvh, 180px);
|
|
226
|
-
} */
|
|
227
|
-
|
|
228
|
-
/* .slide1-intro__text {
|
|
229
|
-
top: clamp(280px, 50dvh, 380px);
|
|
230
|
-
} */
|
|
231
|
-
|
|
232
|
-
/* .slide1-intro__frames-bottom {
|
|
233
|
-
top: clamp(420px, 70dvh, 520px);
|
|
234
|
-
} */
|
|
235
|
-
}
|
|
1
|
+
/* Slide1Intro.css - Updated design specifications */
|
|
2
|
+
|
|
3
|
+
.slide1-intro {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Brand name container - 48px from top, allows overflow for animation */
|
|
11
|
+
.slide1-intro__brand-container {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
padding: 0;
|
|
16
|
+
/* gap: clamp(12px, 1.9dvh, 16px); */
|
|
17
|
+
gap: calc(12px + env(safe-area-inset-top));
|
|
18
|
+
position: absolute;
|
|
19
|
+
/* width: clamp(300px, 91.79vw, 358px);
|
|
20
|
+
left: clamp(16px, 4.1vw, 16px);
|
|
21
|
+
top: clamp(40px, 5.69dvh, 48px); */
|
|
22
|
+
z-index: 3;
|
|
23
|
+
overflow: visible;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Background "HEY" text - first line, with opacity */
|
|
27
|
+
.slide1-intro__bg-text {
|
|
28
|
+
font-family: 'Lora', serif;
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
font-size: clamp(40px, 16.41vw, 64px);
|
|
32
|
+
line-height: 1;
|
|
33
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
34
|
+
-webkit-background-clip: text;
|
|
35
|
+
-webkit-text-fill-color: transparent;
|
|
36
|
+
background-clip: text;
|
|
37
|
+
opacity: 0.1;
|
|
38
|
+
flex: none;
|
|
39
|
+
order: 0;
|
|
40
|
+
align-self: stretch;
|
|
41
|
+
margin: calc(48px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Business name - single line, animated horizontally */
|
|
45
|
+
.slide1-intro__brand {
|
|
46
|
+
font-family: 'Lora', serif;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
font-size: clamp(40px, 16.41vw, 64px);
|
|
50
|
+
line-height: 1;
|
|
51
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
52
|
+
-webkit-background-clip: text;
|
|
53
|
+
-webkit-text-fill-color: transparent;
|
|
54
|
+
background-clip: text;
|
|
55
|
+
flex: none;
|
|
56
|
+
order: 1;
|
|
57
|
+
align-self: stretch;
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
margin-left: calc(16px + env(safe-area-inset-top));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Top floating frames - 255px from top */
|
|
63
|
+
.slide1-intro__frames-top {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
align-items: center;
|
|
68
|
+
padding: 0;
|
|
69
|
+
gap: clamp(8px, 3.08vw, 12px);
|
|
70
|
+
position: absolute;
|
|
71
|
+
width: 100%;
|
|
72
|
+
left: 0;
|
|
73
|
+
/* top: clamp(180px, 30.21dvh, 255px); */
|
|
74
|
+
top: 30.2vh;
|
|
75
|
+
z-index: 2;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.slide1-intro__frames-top .frame-rect {
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
width: clamp(140px, 46.15vw, 180px);
|
|
81
|
+
/* height: clamp(186px, 28.44dvh, 240px); */
|
|
82
|
+
height: 28.4vh;
|
|
83
|
+
border: 1px solid #FFFFFF;
|
|
84
|
+
flex: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Headline and subtitle container - 535px from top */
|
|
88
|
+
.slide1-intro__text {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
align-items: flex-start;
|
|
92
|
+
/* gap: clamp(16px, 2.61dvh, 22px); */
|
|
93
|
+
position: absolute;
|
|
94
|
+
width: 100%;
|
|
95
|
+
/* left: clamp(16px, 4.1vw, 16px); */
|
|
96
|
+
/* left: calc(16px + env(safe-area-inset-top)); */
|
|
97
|
+
top: 63.39vh;
|
|
98
|
+
z-index: 3;
|
|
99
|
+
padding: 0 calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.slide1-intro__headline {
|
|
103
|
+
width: 100%;
|
|
104
|
+
font-family: 'Lora', serif;
|
|
105
|
+
font-style: normal;
|
|
106
|
+
font-weight: 600;
|
|
107
|
+
font-size: 4.7vh;
|
|
108
|
+
/* line-height: 1.2; */
|
|
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
|
+
flex: none;
|
|
114
|
+
order: 0;
|
|
115
|
+
align-self: stretch;
|
|
116
|
+
margin: 0;
|
|
117
|
+
display: -webkit-box;
|
|
118
|
+
-webkit-line-clamp: 3;
|
|
119
|
+
line-clamp: inherit;
|
|
120
|
+
-webkit-box-orient: vertical;
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.slide1-intro__subtitle {
|
|
125
|
+
width: 100%;
|
|
126
|
+
font-family: 'Lora', serif;
|
|
127
|
+
font-style: normal;
|
|
128
|
+
font-weight: 400;
|
|
129
|
+
font-size: clamp(14px, 4.1vw, 16px);
|
|
130
|
+
line-height: 1.5;
|
|
131
|
+
color: #FFFFFF;
|
|
132
|
+
flex: none;
|
|
133
|
+
order: 1;
|
|
134
|
+
align-self: stretch;
|
|
135
|
+
margin: 0;
|
|
136
|
+
}
|
|
137
|
+
/* Bottom floating frames - 743px from top */
|
|
138
|
+
.slide1-intro__frames-bottom {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: row;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
align-items: center;
|
|
143
|
+
padding: 0;
|
|
144
|
+
gap: clamp(10px, 3.85vw, 15px);
|
|
145
|
+
position: absolute;
|
|
146
|
+
width: 100%;
|
|
147
|
+
left: 0;
|
|
148
|
+
top: 88dvh;
|
|
149
|
+
z-index: 2;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.slide1-intro__frames-bottom .frame-rect {
|
|
153
|
+
box-sizing: border-box;
|
|
154
|
+
width: clamp(140px, 46.15vw, 180px);
|
|
155
|
+
height: clamp(186px, 28.44dvh, 240px);
|
|
156
|
+
border: 1px solid #FFFFFF;
|
|
157
|
+
flex: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Variant styles */
|
|
161
|
+
.slide1-intro--struggling {
|
|
162
|
+
background: linear-gradient(180deg, #1B1A3D 0%, #E33D2E 100%);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.slide1-intro--new-user {
|
|
166
|
+
background: linear-gradient(180deg, #FFFFFF 0%, #3F3DAD 100%);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.slide1-intro--struggling .slide1-intro__subtitle {
|
|
170
|
+
color: #F6E7DF;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.slide1-intro--new-user .slide1-intro__subtitle {
|
|
174
|
+
color: #16205A;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.slide1-intro--struggling .frame-rect {
|
|
178
|
+
border-color: rgba(255, 255, 255, 0.6);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.slide1-intro--new-user .slide1-intro__brand {
|
|
182
|
+
background: linear-gradient(180deg, #4F4CD8 0%, #2A2872 100%);
|
|
183
|
+
-webkit-background-clip: text;
|
|
184
|
+
-webkit-text-fill-color: transparent;
|
|
185
|
+
background-clip: text;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.slide1-intro--new-user .slide1-intro__headline {
|
|
189
|
+
background: none;
|
|
190
|
+
color: #E6E5F9;
|
|
191
|
+
-webkit-background-clip: unset;
|
|
192
|
+
background-clip: unset;
|
|
193
|
+
-webkit-text-fill-color: #E6E5F9;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.slide1-intro--new-user .slide1-intro__subtitle {
|
|
197
|
+
color: #CDCCF4;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.slide1-intro--new-user .frame-rect {
|
|
201
|
+
border-color: rgba(63, 61, 173, 0.6);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.slide1-intro--new-user .slide1-intro__bg-text {
|
|
205
|
+
background: linear-gradient(180deg, #4F4CD8 0%, #2A2872 100%);
|
|
206
|
+
-webkit-background-clip: text;
|
|
207
|
+
-webkit-text-fill-color: transparent;
|
|
208
|
+
background-clip: text;
|
|
209
|
+
opacity: 0.08;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* Media queries for landscape and short screens */
|
|
213
|
+
@media (max-height: 720px), (orientation: landscape) {
|
|
214
|
+
/* .slide1-intro__brand-container {
|
|
215
|
+
top: clamp(32px, 4dvh, 40px);
|
|
216
|
+
gap: clamp(8px, 1.5dvh, 12px);
|
|
217
|
+
} */
|
|
218
|
+
|
|
219
|
+
.slide1-intro__bg-text,
|
|
220
|
+
.slide1-intro__brand {
|
|
221
|
+
font-size: clamp(32px, 12vw, 48px);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* .slide1-intro__frames-top {
|
|
225
|
+
top: clamp(140px, 22dvh, 180px);
|
|
226
|
+
} */
|
|
227
|
+
|
|
228
|
+
/* .slide1-intro__text {
|
|
229
|
+
top: clamp(280px, 50dvh, 380px);
|
|
230
|
+
} */
|
|
231
|
+
|
|
232
|
+
/* .slide1-intro__frames-bottom {
|
|
233
|
+
top: clamp(420px, 70dvh, 520px);
|
|
234
|
+
} */
|
|
235
|
+
}
|