@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.
Files changed (65) hide show
  1. package/dist/App.css +156 -156
  2. package/dist/FloatingFrames.css +55 -55
  3. package/dist/LoginScreen.css +146 -146
  4. package/dist/OtpScreen.css +133 -133
  5. package/dist/RecapStory.css +105 -105
  6. package/dist/StoryProgress.css +47 -47
  7. package/dist/assets/huxxle-blue-logo.svg +14 -14
  8. package/dist/assets/login-logo.svg +14 -14
  9. package/dist/assets/slide-logo.svg +14 -14
  10. package/dist/components/Header.css +46 -46
  11. package/dist/slides/Slide10Final.css +101 -101
  12. package/dist/slides/Slide1Intro.css +235 -235
  13. package/dist/slides/Slide2Days.css +209 -209
  14. package/dist/slides/Slide3Revenue.css +89 -89
  15. package/dist/slides/Slide4Orders.css +135 -135
  16. package/dist/slides/Slide5Buyers.css +140 -140
  17. package/dist/slides/Slide6Customer.css +92 -92
  18. package/dist/slides/Slide7Products.css +144 -144
  19. package/dist/slides/Slide8Months.css +148 -148
  20. package/dist/slides/Slide9Year.css +93 -93
  21. package/package.json +1 -1
  22. package/src/App.css +156 -156
  23. package/src/FloatingFrames.css +55 -55
  24. package/src/FloatingFrames.tsx +27 -27
  25. package/src/LoginScreen.css +146 -146
  26. package/src/LoginScreen.tsx +70 -70
  27. package/src/OtpScreen.css +133 -133
  28. package/src/OtpScreen.tsx +109 -109
  29. package/src/RecapApp.tsx +34 -34
  30. package/src/RecapStory.css +105 -105
  31. package/src/RecapStory.tsx +269 -269
  32. package/src/StoryProgress.css +47 -47
  33. package/src/StoryProgress.tsx +60 -60
  34. package/src/assets.d.ts +41 -41
  35. package/src/components/Header.css +46 -46
  36. package/src/components/Header.tsx +41 -41
  37. package/src/data/mock.ts +62 -62
  38. package/src/data/recapCopy.ts +33 -33
  39. package/src/hooks/useBackgroundMusic.ts +79 -79
  40. package/src/index.ts +70 -70
  41. package/src/react-app-env.d.ts +26 -26
  42. package/src/slides/Slide10Final.css +101 -101
  43. package/src/slides/Slide10Final.tsx +105 -105
  44. package/src/slides/Slide1Intro.css +235 -235
  45. package/src/slides/Slide1Intro.tsx +141 -141
  46. package/src/slides/Slide2Days.css +209 -209
  47. package/src/slides/Slide2Days.tsx +92 -92
  48. package/src/slides/Slide3Revenue.css +89 -89
  49. package/src/slides/Slide3Revenue.tsx +76 -76
  50. package/src/slides/Slide4Orders.css +135 -135
  51. package/src/slides/Slide4Orders.tsx +63 -63
  52. package/src/slides/Slide5Buyers.css +140 -140
  53. package/src/slides/Slide5Buyers.tsx +74 -74
  54. package/src/slides/Slide6Customer.css +92 -92
  55. package/src/slides/Slide6Customer.tsx +27 -27
  56. package/src/slides/Slide7Products.css +144 -144
  57. package/src/slides/Slide7Products.tsx +81 -81
  58. package/src/slides/Slide8Months.css +148 -148
  59. package/src/slides/Slide8Months.tsx +63 -63
  60. package/src/slides/Slide9Year.css +93 -93
  61. package/src/slides/Slide9Year.tsx +35 -35
  62. package/src/types.ts +39 -39
  63. package/src/utils/format.ts +18 -18
  64. package/src/utils/index.ts +3 -3
  65. package/src/utils/motion.ts +89 -89
@@ -1,92 +1,92 @@
1
- .slide6-customer {
2
- position: relative;
3
- width: 100%;
4
- height: 100%;
5
- overflow: hidden;
6
- }
7
-
8
- @media (max-height: 720px), (orientation: landscape) {
9
- .slide6-customer__outer-rect {
10
- height: 60%;
11
- top: 5%;
12
- }
13
-
14
- .slide6-customer__inner-rect {
15
- height: 38%;
16
- top: 28%;
17
- }
18
- }
19
-
20
- @keyframes slide6-moveDown {
21
- 0% { transform: translateY(0); }
22
- 100% { transform: translateY(4.74%); }
23
- }
24
-
25
- .slide6-customer__outer-rect {
26
- position: absolute;
27
- width: 93.85%;
28
- height: 69.79%;
29
- top: 1.9%;
30
- left: 3.08%;
31
- border: 1px solid #fff;
32
- animation: slide6-moveDown 6s ease-in-out infinite alternate;
33
- }
34
-
35
- .slide6-customer__inner-rect {
36
- position: absolute;
37
- width: 85.38%;
38
- height: 45.97%;
39
- top: 25.59%;
40
- left: 6.79%;
41
- border: 1px solid #fff;
42
- animation: slide6-moveUp 6s ease-in-out infinite alternate;
43
- display: flex;
44
- align-items: center;
45
- justify-content: center;
46
- }
47
-
48
- .slide6-customer__sketch {
49
- width: 65.64%;
50
- /* max-height: 30.09%; */
51
- object-fit: contain;
52
- }
53
-
54
- .slide6-customer__label {
55
- position: absolute;
56
- bottom: 13.03%;
57
- left: 4.1%;
58
- right: 4.1%;
59
- display: flex;
60
- flex-direction: column;
61
- align-items: center;
62
- gap: 2.79vh;
63
- text-align: center;
64
- }
65
-
66
- .slide6-customer__name,
67
- .slide6-customer__text {
68
- width: 100%;
69
- font-family: 'Lora', serif;
70
- text-align: center;
71
- background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
72
- -webkit-background-clip: text;
73
- background-clip: text;
74
- color: transparent;
75
- }
76
-
77
- .slide6-customer__name {
78
- font-weight: 700;
79
- font-size: 4.74vh;
80
- line-height: 1.28;
81
- }
82
-
83
- .slide6-customer__text {
84
- font-weight: 400;
85
- font-size: 1.89vh;
86
- line-height: 1.5;
87
- }
88
-
89
- @keyframes slide6-moveUp {
90
- 0% { transform: translateY(0); }
91
- 100% { transform: translateY(-4.74%); }
92
- }
1
+ .slide6-customer {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+ overflow: hidden;
6
+ }
7
+
8
+ @media (max-height: 720px), (orientation: landscape) {
9
+ .slide6-customer__outer-rect {
10
+ height: 60%;
11
+ top: 5%;
12
+ }
13
+
14
+ .slide6-customer__inner-rect {
15
+ height: 38%;
16
+ top: 28%;
17
+ }
18
+ }
19
+
20
+ @keyframes slide6-moveDown {
21
+ 0% { transform: translateY(0); }
22
+ 100% { transform: translateY(4.74%); }
23
+ }
24
+
25
+ .slide6-customer__outer-rect {
26
+ position: absolute;
27
+ width: 93.85%;
28
+ height: 69.79%;
29
+ top: 1.9%;
30
+ left: 3.08%;
31
+ border: 1px solid #fff;
32
+ animation: slide6-moveDown 6s ease-in-out infinite alternate;
33
+ }
34
+
35
+ .slide6-customer__inner-rect {
36
+ position: absolute;
37
+ width: 85.38%;
38
+ height: 45.97%;
39
+ top: 25.59%;
40
+ left: 6.79%;
41
+ border: 1px solid #fff;
42
+ animation: slide6-moveUp 6s ease-in-out infinite alternate;
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ }
47
+
48
+ .slide6-customer__sketch {
49
+ width: 65.64%;
50
+ /* max-height: 30.09%; */
51
+ object-fit: contain;
52
+ }
53
+
54
+ .slide6-customer__label {
55
+ position: absolute;
56
+ bottom: 13.03%;
57
+ left: 4.1%;
58
+ right: 4.1%;
59
+ display: flex;
60
+ flex-direction: column;
61
+ align-items: center;
62
+ gap: 2.79vh;
63
+ text-align: center;
64
+ }
65
+
66
+ .slide6-customer__name,
67
+ .slide6-customer__text {
68
+ width: 100%;
69
+ font-family: 'Lora', serif;
70
+ text-align: center;
71
+ background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
72
+ -webkit-background-clip: text;
73
+ background-clip: text;
74
+ color: transparent;
75
+ }
76
+
77
+ .slide6-customer__name {
78
+ font-weight: 700;
79
+ font-size: 4.74vh;
80
+ line-height: 1.28;
81
+ }
82
+
83
+ .slide6-customer__text {
84
+ font-weight: 400;
85
+ font-size: 1.89vh;
86
+ line-height: 1.5;
87
+ }
88
+
89
+ @keyframes slide6-moveUp {
90
+ 0% { transform: translateY(0); }
91
+ 100% { transform: translateY(-4.74%); }
92
+ }
@@ -1,144 +1,144 @@
1
- .slide7-products {
2
- position: relative;
3
- width: 100%;
4
- height: 100%;
5
- padding: 0 6.15%;
6
- margin-top: 12.8vh;
7
- display: flex;
8
- flex-direction: column;
9
- align-items: center;
10
- justify-content: flex-start;
11
- gap: 4.74vh;
12
- overflow: hidden;
13
- }
14
-
15
- .slide7-products__lead {
16
- font-family: 'Lora', serif;
17
- font-size: 1.89vh;
18
- font-weight: 400;
19
- text-align: center;
20
- background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
21
- -webkit-background-clip: text;
22
- background-clip: text;
23
- -webkit-text-fill-color: transparent;
24
- color: transparent;
25
- margin: 0;
26
- }
27
-
28
- .slide7-products__list {
29
- width: 100%;
30
- display: flex;
31
- flex-direction: column;
32
- gap: 0.9vh;
33
- }
34
-
35
- .slide7-products__row {
36
- display: flex;
37
- flex-direction: row;
38
- align-items: center;
39
- padding: 0;
40
- gap: 16px;
41
- width: 100%;
42
- max-width: 358px;
43
- height: 11.37vh;
44
- min-height: 80px;
45
- }
46
-
47
- .slide7-products__rank {
48
- font-family: 'Lora', serif;
49
- font-size: clamp(18px, 6.15vw, 24px);
50
- font-weight: 700;
51
- line-height: 1.3;
52
- background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
53
- -webkit-background-clip: text;
54
- -webkit-text-fill-color: transparent;
55
- background-clip: text;
56
- color: transparent;
57
- width: 5.12%;
58
- }
59
-
60
- .slide7-products__card {
61
- flex: 1;
62
- display: flex;
63
- align-items: center;
64
- gap: 2.56%;
65
- padding: 0.95%;
66
- height: 10.37vh;
67
- width: 100%;
68
- justify-content: flex-start;
69
- }
70
-
71
- .slide7-products__image-frame {
72
- width: 22.31%;
73
- height: 100%;
74
- box-sizing: border-box;
75
- border: 1px solid #ffffff;
76
- display: flex;
77
- align-items: center;
78
- justify-content: center;
79
- }
80
-
81
- .slide7-products__image {
82
- width: 87%;
83
- height: 88.5%;
84
- border: 1px solid #ffffff;
85
- object-fit: cover;
86
- display: block;
87
- }
88
-
89
- .slide7-products__text {
90
- display: flex;
91
- flex-direction: column;
92
- gap: 0.83%;
93
- }
94
-
95
- .slide7-products__title,
96
- .slide7-products__subtitle {
97
- font-family: 'Lora', serif;
98
- background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
99
- -webkit-background-clip: text;
100
- -webkit-text-fill-color: transparent;
101
- background-clip: text;
102
- color: transparent;
103
- width: 100%;
104
- max-width: 208px;
105
- }
106
- .slide7-products__title {
107
- font-size: clamp(16px, 5.13vw, 20px);
108
- font-weight: 700;
109
- line-height: 1.3;
110
- display: -webkit-box;
111
- -webkit-box-orient: vertical;
112
- -webkit-line-clamp: 2;
113
- line-clamp: 2;
114
- overflow: hidden;
115
- text-overflow: ellipsis;
116
- }
117
- .slide7-products__subtitle {
118
- font-size: clamp(14px, 4.1vw, 16px);
119
- font-weight: 400;
120
- /* line-height: 72px; */
121
- }
122
-
123
- .slide7-products__frames {
124
- position: absolute;
125
- left: 0;
126
- top: 72.27vh;
127
- width: 100%;
128
- display: flex;
129
- flex-direction: row;
130
- justify-content: center;
131
- align-items: center;
132
- gap: 4.1%;
133
- pointer-events: none;
134
- z-index: 1;
135
- }
136
-
137
- .slide7-products__rect {
138
- box-sizing: border-box;
139
- width: 46.15%;
140
- aspect-ratio: 180 / 240;
141
- border: 1px solid #FFFFFF;
142
- flex: none;
143
- flex-grow: 0;
144
- }
1
+ .slide7-products {
2
+ position: relative;
3
+ width: 100%;
4
+ height: 100%;
5
+ padding: 0 6.15%;
6
+ margin-top: 12.8vh;
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: center;
10
+ justify-content: flex-start;
11
+ gap: 4.74vh;
12
+ overflow: hidden;
13
+ }
14
+
15
+ .slide7-products__lead {
16
+ font-family: 'Lora', serif;
17
+ font-size: 1.89vh;
18
+ font-weight: 400;
19
+ text-align: center;
20
+ background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
21
+ -webkit-background-clip: text;
22
+ background-clip: text;
23
+ -webkit-text-fill-color: transparent;
24
+ color: transparent;
25
+ margin: 0;
26
+ }
27
+
28
+ .slide7-products__list {
29
+ width: 100%;
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: 0.9vh;
33
+ }
34
+
35
+ .slide7-products__row {
36
+ display: flex;
37
+ flex-direction: row;
38
+ align-items: center;
39
+ padding: 0;
40
+ gap: 16px;
41
+ width: 100%;
42
+ max-width: 358px;
43
+ height: 11.37vh;
44
+ min-height: 80px;
45
+ }
46
+
47
+ .slide7-products__rank {
48
+ font-family: 'Lora', serif;
49
+ font-size: clamp(18px, 6.15vw, 24px);
50
+ font-weight: 700;
51
+ line-height: 1.3;
52
+ background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
53
+ -webkit-background-clip: text;
54
+ -webkit-text-fill-color: transparent;
55
+ background-clip: text;
56
+ color: transparent;
57
+ width: 5.12%;
58
+ }
59
+
60
+ .slide7-products__card {
61
+ flex: 1;
62
+ display: flex;
63
+ align-items: center;
64
+ gap: 2.56%;
65
+ padding: 0.95%;
66
+ height: 10.37vh;
67
+ width: 100%;
68
+ justify-content: flex-start;
69
+ }
70
+
71
+ .slide7-products__image-frame {
72
+ width: 22.31%;
73
+ height: 100%;
74
+ box-sizing: border-box;
75
+ border: 1px solid #ffffff;
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ }
80
+
81
+ .slide7-products__image {
82
+ width: 87%;
83
+ height: 88.5%;
84
+ border: 1px solid #ffffff;
85
+ object-fit: cover;
86
+ display: block;
87
+ }
88
+
89
+ .slide7-products__text {
90
+ display: flex;
91
+ flex-direction: column;
92
+ gap: 0.83%;
93
+ }
94
+
95
+ .slide7-products__title,
96
+ .slide7-products__subtitle {
97
+ font-family: 'Lora', serif;
98
+ background: linear-gradient(90deg, #ffffff 0%, #ffcc80 100%);
99
+ -webkit-background-clip: text;
100
+ -webkit-text-fill-color: transparent;
101
+ background-clip: text;
102
+ color: transparent;
103
+ width: 100%;
104
+ max-width: 208px;
105
+ }
106
+ .slide7-products__title {
107
+ font-size: clamp(16px, 5.13vw, 20px);
108
+ font-weight: 700;
109
+ line-height: 1.3;
110
+ display: -webkit-box;
111
+ -webkit-box-orient: vertical;
112
+ -webkit-line-clamp: 2;
113
+ line-clamp: 2;
114
+ overflow: hidden;
115
+ text-overflow: ellipsis;
116
+ }
117
+ .slide7-products__subtitle {
118
+ font-size: clamp(14px, 4.1vw, 16px);
119
+ font-weight: 400;
120
+ /* line-height: 72px; */
121
+ }
122
+
123
+ .slide7-products__frames {
124
+ position: absolute;
125
+ left: 0;
126
+ top: 72.27vh;
127
+ width: 100%;
128
+ display: flex;
129
+ flex-direction: row;
130
+ justify-content: center;
131
+ align-items: center;
132
+ gap: 4.1%;
133
+ pointer-events: none;
134
+ z-index: 1;
135
+ }
136
+
137
+ .slide7-products__rect {
138
+ box-sizing: border-box;
139
+ width: 46.15%;
140
+ aspect-ratio: 180 / 240;
141
+ border: 1px solid #FFFFFF;
142
+ flex: none;
143
+ flex-grow: 0;
144
+ }