@katajere/recap 1.0.2 → 1.0.9

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 (68) hide show
  1. package/README.md +27 -1
  2. package/dist/App.css +156 -120
  3. package/dist/FloatingFrames.css +55 -55
  4. package/dist/LoginScreen.css +146 -146
  5. package/dist/OtpScreen.css +133 -133
  6. package/dist/RecapStory.css +105 -105
  7. package/dist/StoryProgress.css +47 -47
  8. package/dist/assets/huxxle-blue-logo.svg +14 -14
  9. package/dist/assets/login-logo.svg +14 -14
  10. package/dist/assets/slide-logo.svg +14 -14
  11. package/dist/components/Header.css +46 -46
  12. package/dist/index.d.ts +2 -2
  13. package/dist/index.js +2 -2
  14. package/dist/slides/Slide10Final.css +101 -101
  15. package/dist/slides/Slide1Intro.css +235 -261
  16. package/dist/slides/Slide2Days.css +209 -209
  17. package/dist/slides/Slide3Revenue.css +89 -89
  18. package/dist/slides/Slide4Orders.css +135 -135
  19. package/dist/slides/Slide5Buyers.css +140 -140
  20. package/dist/slides/Slide6Customer.css +92 -92
  21. package/dist/slides/Slide7Products.css +144 -144
  22. package/dist/slides/Slide8Months.css +148 -148
  23. package/dist/slides/Slide9Year.css +93 -93
  24. package/package.json +17 -32
  25. package/src/App.css +156 -120
  26. package/src/FloatingFrames.css +55 -55
  27. package/src/FloatingFrames.tsx +27 -27
  28. package/src/LoginScreen.css +146 -146
  29. package/src/LoginScreen.tsx +70 -70
  30. package/src/OtpScreen.css +133 -133
  31. package/src/OtpScreen.tsx +109 -109
  32. package/src/RecapApp.tsx +34 -34
  33. package/src/RecapStory.css +105 -105
  34. package/src/RecapStory.tsx +269 -269
  35. package/src/StoryProgress.css +47 -47
  36. package/src/StoryProgress.tsx +60 -60
  37. package/src/assets.d.ts +41 -41
  38. package/src/components/Header.css +46 -46
  39. package/src/components/Header.tsx +41 -41
  40. package/src/data/mock.ts +62 -62
  41. package/src/data/recapCopy.ts +33 -33
  42. package/src/hooks/useBackgroundMusic.ts +79 -79
  43. package/src/index.ts +70 -70
  44. package/src/react-app-env.d.ts +26 -26
  45. package/src/slides/Slide10Final.css +101 -101
  46. package/src/slides/Slide10Final.tsx +105 -105
  47. package/src/slides/Slide1Intro.css +235 -261
  48. package/src/slides/Slide1Intro.tsx +141 -141
  49. package/src/slides/Slide2Days.css +209 -209
  50. package/src/slides/Slide2Days.tsx +92 -92
  51. package/src/slides/Slide3Revenue.css +89 -89
  52. package/src/slides/Slide3Revenue.tsx +76 -76
  53. package/src/slides/Slide4Orders.css +135 -135
  54. package/src/slides/Slide4Orders.tsx +63 -63
  55. package/src/slides/Slide5Buyers.css +140 -140
  56. package/src/slides/Slide5Buyers.tsx +74 -74
  57. package/src/slides/Slide6Customer.css +92 -92
  58. package/src/slides/Slide6Customer.tsx +27 -27
  59. package/src/slides/Slide7Products.css +144 -144
  60. package/src/slides/Slide7Products.tsx +81 -81
  61. package/src/slides/Slide8Months.css +148 -148
  62. package/src/slides/Slide8Months.tsx +63 -63
  63. package/src/slides/Slide9Year.css +93 -93
  64. package/src/slides/Slide9Year.tsx +35 -35
  65. package/src/types.ts +39 -39
  66. package/src/utils/format.ts +18 -18
  67. package/src/utils/index.ts +3 -3
  68. 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,27 +1,27 @@
1
- import React from 'react';
2
- import './Slide6Customer.css';
3
- import sketchDraw from '../assets/huxxle_star_final.gif';
4
-
5
- interface Slide6CustomerProps {
6
- customerName: string;
7
- }
8
-
9
- /**
10
- * Slide6Customer - Centered customer illustration with floating frames and hero text
11
- */
12
- function Slide6Customer({ customerName }: Slide6CustomerProps) {
13
- return (
14
- <div className="slide6-customer">
15
- <div className="slide6-customer__outer-rect" aria-hidden="true" />
16
- <div className="slide6-customer__inner-rect" aria-hidden="true">
17
- <img src={sketchDraw} alt="Customer storytelling sketch" className="slide6-customer__sketch" />
18
- </div>
19
- <div className="slide6-customer__label">
20
- <span className="slide6-customer__name">{customerName}</span>
21
- <p className="slide6-customer__text">na your top customer be that, hol am tight</p>
22
- </div>
23
- </div>
24
- );
25
- }
26
-
27
- export default Slide6Customer;
1
+ import React from 'react';
2
+ import './Slide6Customer.css';
3
+ import sketchDraw from '../assets/huxxle_star_final.gif';
4
+
5
+ interface Slide6CustomerProps {
6
+ customerName: string;
7
+ }
8
+
9
+ /**
10
+ * Slide6Customer - Centered customer illustration with floating frames and hero text
11
+ */
12
+ function Slide6Customer({ customerName }: Slide6CustomerProps) {
13
+ return (
14
+ <div className="slide6-customer">
15
+ <div className="slide6-customer__outer-rect" aria-hidden="true" />
16
+ <div className="slide6-customer__inner-rect" aria-hidden="true">
17
+ <img src={sketchDraw} alt="Customer storytelling sketch" className="slide6-customer__sketch" />
18
+ </div>
19
+ <div className="slide6-customer__label">
20
+ <span className="slide6-customer__name">{customerName}</span>
21
+ <p className="slide6-customer__text">na your top customer be that, hol am tight</p>
22
+ </div>
23
+ </div>
24
+ );
25
+ }
26
+
27
+ export default Slide6Customer;
@@ -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
+ }
@@ -1,81 +1,81 @@
1
- import React from 'react';
2
- import { motion, type Variants } from 'framer-motion';
3
- import './Slide7Products.css';
4
- import type { ProductSummary } from '../types';
5
-
6
- interface Slide7ProductsProps {
7
- products: ProductSummary[];
8
- }
9
-
10
- const listVariant: Variants = {
11
- initial: { opacity: 0 },
12
- animate: {
13
- opacity: 1,
14
- transition: {
15
- staggerChildren: 0.3,
16
- delayChildren: 0.2,
17
- when: 'beforeChildren'
18
- }
19
- }
20
- };
21
-
22
- const rowVariant: Variants = {
23
- initial: { opacity: 0, y: 60 },
24
- animate: {
25
- opacity: 1,
26
- y: 0,
27
- transition: { duration: 1.1, ease: [0.33, 0.1, 0.33, 1] }
28
- }
29
- };
30
-
31
- /**
32
- * Slide7Products - Top products list with numbered cards and gradient headline
33
- */
34
- function Slide7Products({ products }: Slide7ProductsProps) {
35
- return (
36
- <div className="slide7-products">
37
- <p className="slide7-products__lead">Wetin people buy passssss</p>
38
- <motion.div
39
- className="slide7-products__list"
40
- variants={listVariant}
41
- initial="initial"
42
- animate="animate"
43
- >
44
- {products.map((product, index) => (
45
- <motion.div
46
- className="slide7-products__row"
47
- key={`${product.name}-${index}`}
48
- variants={rowVariant}
49
- >
50
- <span className="slide7-products__rank">{index + 1}</span>
51
- <div className="slide7-products__card">
52
- <div className="slide7-products__image-frame">
53
- <img
54
- src={product.productImage}
55
- alt={product.name}
56
- className="slide7-products__image"
57
- loading="lazy"
58
- />
59
- </div>
60
- <div className="slide7-products__text">
61
- <span className="slide7-products__title">{product.name}</span>
62
- <span className="slide7-products__subtitle">you sell {product.units} units</span>
63
- </div>
64
- </div>
65
- </motion.div>
66
- ))}
67
- </motion.div>
68
- <motion.div
69
- className="slide7-products__frames"
70
- animate={{ x: [60, -60] }}
71
- transition={{ duration: 6, repeat: Infinity, repeatType: 'reverse', ease: 'linear' }}
72
- >
73
- {[0, 1, 2].map((frame) => (
74
- <span className="slide7-products__rect" key={`frame-${frame}`} />
75
- ))}
76
- </motion.div>
77
- </div>
78
- );
79
- }
80
-
81
- export default Slide7Products;
1
+ import React from 'react';
2
+ import { motion, type Variants } from 'framer-motion';
3
+ import './Slide7Products.css';
4
+ import type { ProductSummary } from '../types';
5
+
6
+ interface Slide7ProductsProps {
7
+ products: ProductSummary[];
8
+ }
9
+
10
+ const listVariant: Variants = {
11
+ initial: { opacity: 0 },
12
+ animate: {
13
+ opacity: 1,
14
+ transition: {
15
+ staggerChildren: 0.3,
16
+ delayChildren: 0.2,
17
+ when: 'beforeChildren'
18
+ }
19
+ }
20
+ };
21
+
22
+ const rowVariant: Variants = {
23
+ initial: { opacity: 0, y: 60 },
24
+ animate: {
25
+ opacity: 1,
26
+ y: 0,
27
+ transition: { duration: 1.1, ease: [0.33, 0.1, 0.33, 1] }
28
+ }
29
+ };
30
+
31
+ /**
32
+ * Slide7Products - Top products list with numbered cards and gradient headline
33
+ */
34
+ function Slide7Products({ products }: Slide7ProductsProps) {
35
+ return (
36
+ <div className="slide7-products">
37
+ <p className="slide7-products__lead">Wetin people buy passssss</p>
38
+ <motion.div
39
+ className="slide7-products__list"
40
+ variants={listVariant}
41
+ initial="initial"
42
+ animate="animate"
43
+ >
44
+ {products.map((product, index) => (
45
+ <motion.div
46
+ className="slide7-products__row"
47
+ key={`${product.name}-${index}`}
48
+ variants={rowVariant}
49
+ >
50
+ <span className="slide7-products__rank">{index + 1}</span>
51
+ <div className="slide7-products__card">
52
+ <div className="slide7-products__image-frame">
53
+ <img
54
+ src={product.productImage}
55
+ alt={product.name}
56
+ className="slide7-products__image"
57
+ loading="lazy"
58
+ />
59
+ </div>
60
+ <div className="slide7-products__text">
61
+ <span className="slide7-products__title">{product.name}</span>
62
+ <span className="slide7-products__subtitle">you sell {product.units} units</span>
63
+ </div>
64
+ </div>
65
+ </motion.div>
66
+ ))}
67
+ </motion.div>
68
+ <motion.div
69
+ className="slide7-products__frames"
70
+ animate={{ x: [60, -60] }}
71
+ transition={{ duration: 6, repeat: Infinity, repeatType: 'reverse', ease: 'linear' }}
72
+ >
73
+ {[0, 1, 2].map((frame) => (
74
+ <span className="slide7-products__rect" key={`frame-${frame}`} />
75
+ ))}
76
+ </motion.div>
77
+ </div>
78
+ );
79
+ }
80
+
81
+ export default Slide7Products;