@katajere/recap 1.0.14 → 2.1.0

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 (98) hide show
  1. package/dist/App.css +22 -2
  2. package/dist/LoginScreen.css +22 -21
  3. package/dist/OtpScreen.css +20 -17
  4. package/dist/RecapStory.css +148 -0
  5. package/dist/RecapStory.d.ts.map +1 -1
  6. package/dist/RecapStory.js +63 -29
  7. package/dist/StoryProgress.css +3 -3
  8. package/dist/assets/huxxle-login-blue-logo.svg +14 -0
  9. package/dist/assets/noisy-background.svg +23 -0
  10. package/dist/assets/search-icon.svg +4 -0
  11. package/dist/assets/share-button.svg +5 -0
  12. package/dist/assets/web-icon.png +0 -0
  13. package/dist/assets/web-icon.svg +14 -0
  14. package/dist/components/Header.css +12 -1
  15. package/dist/components/Header.js +2 -2
  16. package/dist/data/mock.d.ts.map +1 -1
  17. package/dist/data/mock.js +19 -7
  18. package/dist/index.d.ts +0 -1
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +0 -1
  21. package/dist/slides/Slide10Final.css +73 -35
  22. package/dist/slides/Slide1Intro.css +204 -56
  23. package/dist/slides/Slide1Intro.d.ts +2 -1
  24. package/dist/slides/Slide1Intro.d.ts.map +1 -1
  25. package/dist/slides/Slide1Intro.js +41 -47
  26. package/dist/slides/Slide2Days.css +121 -34
  27. package/dist/slides/Slide2Days.d.ts +2 -1
  28. package/dist/slides/Slide2Days.d.ts.map +1 -1
  29. package/dist/slides/Slide2Days.js +45 -4
  30. package/dist/slides/Slide3Revenue.css +80 -38
  31. package/dist/slides/Slide3Revenue.d.ts.map +1 -1
  32. package/dist/slides/Slide3Revenue.js +33 -4
  33. package/dist/slides/Slide4Orders.css +93 -34
  34. package/dist/slides/Slide4Orders.d.ts +2 -1
  35. package/dist/slides/Slide4Orders.d.ts.map +1 -1
  36. package/dist/slides/Slide4Orders.js +45 -3
  37. package/dist/slides/Slide5Buyers.css +124 -67
  38. package/dist/slides/Slide5Buyers.d.ts +2 -1
  39. package/dist/slides/Slide5Buyers.d.ts.map +1 -1
  40. package/dist/slides/Slide5Buyers.js +43 -3
  41. package/dist/slides/Slide6Customer.css +294 -52
  42. package/dist/slides/Slide6Customer.d.ts +6 -3
  43. package/dist/slides/Slide6Customer.d.ts.map +1 -1
  44. package/dist/slides/Slide6Customer.js +25 -4
  45. package/dist/slides/Slide7Products.css +8 -7
  46. package/dist/slides/Slide7Products.js +3 -3
  47. package/dist/slides/Slide8Months.css +6 -6
  48. package/dist/slides/Slide9Year.css +4 -2
  49. package/dist/slides/Slide9Year.d.ts +2 -1
  50. package/dist/slides/Slide9Year.d.ts.map +1 -1
  51. package/dist/slides/Slide9Year.js +23 -2
  52. package/dist/types.d.ts +5 -0
  53. package/dist/types.d.ts.map +1 -1
  54. package/dist/utils/slideScreenshot.d.ts +27 -0
  55. package/dist/utils/slideScreenshot.d.ts.map +1 -0
  56. package/dist/utils/slideScreenshot.js +274 -0
  57. package/package.json +2 -1
  58. package/src/App.css +22 -2
  59. package/src/LoginScreen.css +22 -21
  60. package/src/LoginScreen.tsx +1 -1
  61. package/src/OtpScreen.css +20 -17
  62. package/src/OtpScreen.tsx +1 -1
  63. package/src/RecapStory.css +148 -0
  64. package/src/RecapStory.tsx +134 -58
  65. package/src/StoryProgress.css +3 -3
  66. package/src/components/Header.css +12 -1
  67. package/src/components/Header.tsx +2 -2
  68. package/src/data/mock.ts +19 -7
  69. package/src/index.ts +0 -1
  70. package/src/slides/Slide10Final.css +73 -35
  71. package/src/slides/Slide1Intro.css +204 -56
  72. package/src/slides/Slide1Intro.tsx +89 -81
  73. package/src/slides/Slide2Days.css +121 -34
  74. package/src/slides/Slide2Days.tsx +67 -19
  75. package/src/slides/Slide3Revenue.css +80 -38
  76. package/src/slides/Slide3Revenue.tsx +45 -7
  77. package/src/slides/Slide4Orders.css +93 -34
  78. package/src/slides/Slide4Orders.tsx +71 -10
  79. package/src/slides/Slide5Buyers.css +124 -67
  80. package/src/slides/Slide5Buyers.tsx +97 -38
  81. package/src/slides/Slide6Customer.css +294 -52
  82. package/src/slides/Slide6Customer.tsx +68 -10
  83. package/src/slides/Slide7Products.css +8 -7
  84. package/src/slides/Slide7Products.tsx +3 -3
  85. package/src/slides/Slide8Months.css +6 -6
  86. package/src/slides/Slide9Year.css +4 -2
  87. package/src/slides/Slide9Year.tsx +35 -7
  88. package/src/types.ts +5 -0
  89. package/src/utils/slideScreenshot.ts +324 -0
  90. package/dist/FloatingFrames.css +0 -55
  91. package/dist/FloatingFrames.d.ts +0 -11
  92. package/dist/FloatingFrames.d.ts.map +0 -1
  93. package/dist/FloatingFrames.js +0 -12
  94. package/dist/assets/money-rain.png +0 -0
  95. package/dist/assets/raining-money.gif +0 -0
  96. package/dist/assets/recap-music.mp3 +0 -0
  97. package/src/FloatingFrames.css +0 -55
  98. package/src/FloatingFrames.tsx +0 -27
@@ -0,0 +1,4 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.16675 16.6665C13.3089 16.6665 16.6667 13.3086 16.6667 9.1665C16.6667 5.02437 13.3089 1.6665 9.16675 1.6665C5.02461 1.6665 1.66675 5.02437 1.66675 9.1665C1.66675 13.3086 5.02461 16.6665 9.16675 16.6665Z" stroke="#4F4CD8" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M15.775 17.2413C16.2167 18.5747 17.225 18.708 18 17.5413C18.7084 16.4747 18.2417 15.5997 16.9584 15.5997C16.0084 15.5913 15.475 16.333 15.775 17.2413Z" stroke="#4F4CD8" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.7 7.4165C16.7 7.67484 17.925 9.2165 17.925 12.5915V12.6998C17.925 16.4248 16.4333 17.9165 12.7083 17.9165H7.28332C3.55832 17.9165 2.06665 16.4248 2.06665 12.6998V12.5915C2.06665 9.2415 3.27498 7.69984 6.22498 7.42484" stroke="#4F4CD8" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M10 12.4999V3.0166" stroke="#4F4CD8" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M12.7916 4.87516L9.99998 2.0835L7.20831 4.87516" stroke="#4F4CD8" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
Binary file
@@ -0,0 +1,14 @@
1
+ <svg width="94" height="100" viewBox="0 0 94 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M64.2169 85.6437C62.523 86.4051 60.7772 87.0718 58.9734 87.6077C60.7084 86.0481 62.3241 84.3571 63.8258 82.5623L62.9 75.2563C59.3954 80.5227 54.8935 85.0007 49.5564 88.3138V68.3434C54.0043 68.6091 58.318 69.5742 62.381 71.1687L61.6957 65.7567C57.8029 64.4803 53.7315 63.7008 49.5564 63.4769V49.5891H71.1324C70.9543 53.5503 70.3367 57.4056 69.328 61.087L73.6063 64.6123C75.1238 59.8467 76.0373 54.8014 76.252 49.5891H89.0754C88.6201 57.5922 85.9253 65.0026 81.6116 71.2065L85.3618 74.2969C90.7953 66.6225 94 57.2623 94 47.162C94 35.0177 89.378 23.9331 81.8021 15.578L81.8607 15.5193L80.1307 13.7984C72.4601 6.16642 62.6177 1.50857 52.0117 0.38839C51.9328 0.380493 51.8544 0.368083 51.7755 0.360186C51.1281 0.295322 50.4778 0.249634 49.8252 0.211843C49.6793 0.202255 49.5344 0.186462 49.3879 0.180257C49.1146 0.166156 48.8402 0.166161 48.5663 0.156572C47.5137 0.0730939 46.4294 0.0144291 45.3125 0.000328127C44.9756 -0.00587632 44.6544 0.0764718 44.3461 0.199433C44.2886 0.202817 44.2317 0.209027 44.1748 0.212411C43.5222 0.250202 42.8714 0.29589 42.2245 0.360754C42.1456 0.368651 42.0672 0.381053 41.9883 0.388949C31.3824 1.50913 21.5394 6.16755 13.8693 13.799L12.1393 15.5199L12.1979 15.5786C4.62199 23.9343 0 35.0182 0 47.1626C0 59.3086 4.62199 70.3932 12.1979 78.7472L12.1393 78.8058L13.8693 80.5278C21.5399 88.1582 31.3824 92.816 41.9883 93.9362C42.0672 93.9441 42.1456 93.9565 42.2245 93.9644C42.8719 94.0293 43.5222 94.075 44.1748 94.1144C44.2317 94.1178 44.2886 94.124 44.3461 94.1268C44.6453 94.2453 44.9581 94.3242 45.281 94.3242C45.2911 94.3242 45.3024 94.3242 45.3125 94.3242C46.4294 94.3101 47.5131 94.2515 48.5663 94.168C48.8402 94.1584 49.1152 94.1584 49.3879 94.146C49.5344 94.1381 49.6793 94.1223 49.8252 94.1144C50.4778 94.075 51.1286 94.0293 51.7755 93.9644C51.8544 93.9565 51.9328 93.9441 52.0117 93.9362C56.4635 93.4669 60.7778 92.3653 64.8571 90.689L64.2169 85.6437ZM89.0754 44.7349H76.252C75.9505 37.4047 74.2898 30.3908 71.4688 24.0482C73.8784 22.571 76.1697 20.8721 78.3111 18.9527C84.538 25.8706 88.513 34.8535 89.0754 44.7349ZM74.8562 15.5385C73.1047 17.0857 71.2412 18.4665 69.2908 19.6876C66.5561 14.7923 63.078 10.4063 58.9739 6.71692C64.9202 8.4835 70.3193 11.5299 74.8562 15.5385ZM49.557 6.01187C55.9044 9.95283 61.0905 15.5272 64.7945 22.1333C60.0452 24.3517 54.8946 25.663 49.557 25.9823V6.01187ZM49.557 30.8477C55.6571 30.5223 61.5436 29.0371 66.9584 26.4916C69.3968 32.0948 70.8416 38.2761 71.133 44.7355H49.557V30.8477ZM35.0114 6.72143C30.9073 10.408 27.4315 14.7895 24.6985 19.6814C22.7521 18.4614 20.8919 17.0834 19.1433 15.5385C23.6762 11.5327 29.0702 8.48801 35.0114 6.72143ZM15.6878 18.9527C17.8252 20.8693 20.1137 22.5665 22.5188 24.0403C19.7023 30.3779 18.0473 37.3934 17.7475 44.7349H4.92403C5.48642 34.8535 9.46148 25.8706 15.6878 18.9527ZM4.92403 49.5891H17.7475C18.0473 56.9301 19.7023 63.9456 22.5188 70.2837C20.1137 71.7593 17.8252 73.4548 15.6878 75.3714C9.46148 68.454 5.48642 59.4728 4.92403 49.5891ZM19.1433 78.7878C20.8919 77.2423 22.7526 75.8643 24.6985 74.6449C27.4321 79.5368 30.9073 83.9171 35.0114 87.6048C29.0702 85.836 23.6762 82.7913 19.1433 78.7878ZM44.4425 88.3155C38.0871 84.3729 32.8965 78.8064 29.1931 72.197C33.9458 69.9769 39.0998 68.6621 44.4425 68.3434V88.3155ZM44.4425 63.4763C38.3384 63.8035 32.4474 65.2903 27.0303 67.8392C24.597 62.2411 23.1561 56.0581 22.8665 49.5891H44.4425V63.4763ZM44.4425 44.7349H22.8665C23.1561 38.266 24.5965 32.0846 27.0303 26.4865C32.4474 29.0354 38.3384 30.5223 44.4425 30.8477V44.7349ZM44.4425 25.9829C39.0998 25.6636 33.9452 24.3494 29.192 22.1293C32.896 15.5199 38.0865 9.9517 44.4425 6.01075V25.9829Z" fill="url(#paint0_linear_13970_54691)"/>
3
+ <path d="M88.2967 80.9045L64.3782 61.1997L68.2766 91.9608L75.3206 88.0706L81.8963 100L87.8284 96.7247L81.2527 84.7946L88.2967 80.9045Z" fill="url(#paint1_linear_13970_54691)"/>
4
+ <defs>
5
+ <linearGradient id="paint0_linear_13970_54691" x1="47" y1="0" x2="47" y2="94.3242" gradientUnits="userSpaceOnUse">
6
+ <stop stop-color="#4F4CD8"/>
7
+ <stop offset="1" stop-color="#2A2872"/>
8
+ </linearGradient>
9
+ <linearGradient id="paint1_linear_13970_54691" x1="76.3375" y1="61.1997" x2="76.3375" y2="100" gradientUnits="userSpaceOnUse">
10
+ <stop stop-color="#4F4CD8"/>
11
+ <stop offset="1" stop-color="#2A2872"/>
12
+ </linearGradient>
13
+ </defs>
14
+ </svg>
@@ -23,7 +23,7 @@
23
23
  font-weight: 700;
24
24
  font-size: clamp(14px, 5.13vw, 20px);
25
25
  line-height: 1.2;
26
- background-image: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
26
+ background-image: linear-gradient(90deg, #2724A7 0%, #4F4CD8 100%);
27
27
  -webkit-background-clip: text;
28
28
  -webkit-text-fill-color: transparent;
29
29
  background-clip: text;
@@ -44,3 +44,14 @@
44
44
  background-size: 100%;
45
45
  background-position: 0;
46
46
  }
47
+
48
+ /* Screenshot mode - solid color fallback for gradient text */
49
+ .screenshot-mode .header__badge {
50
+ -webkit-text-fill-color: #4F4CD8 !important;
51
+ color: #4F4CD8 !important;
52
+ }
53
+
54
+ .screenshot-mode .header--new-user .header__badge {
55
+ -webkit-text-fill-color: #FF9900 !important;
56
+ color: #FF9900 !important;
57
+ }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import './Header.css';
3
- import loginLogo from '../assets/login-logo.svg';
4
- import slideLogo from '../assets/slide-logo.svg';
3
+ import loginLogo from '../assets/huxxle-login-blue-logo.svg';
4
+ import slideLogo from '../assets/huxxle-blue-logo.svg';
5
5
  import huxxleBlueLogo from '../assets/huxxle-blue-logo.svg';
6
6
  /**
7
7
  * Header - Top navigation with logo and optional Recap 25' badge
@@ -1 +1 @@
1
- {"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../src/data/mock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,SAoD3B,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWjD,CAAC"}
1
+ {"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../src/data/mock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,SAgE3B,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWjD,CAAC"}
package/dist/data/mock.js CHANGED
@@ -7,15 +7,15 @@ export const mockRecapData = {
7
7
  businessName: "RICHYO ENTERPRISES",
8
8
  days: 259,
9
9
  streak: 47,
10
- revenue: 22594,
10
+ revenue: 22594000,
11
11
  orders: 487,
12
12
  firstTimeBuyers: 234,
13
13
  repeatBuyers: 65,
14
14
  topCustomerName: "Micheal Scoffy",
15
- currency: "GBP",
15
+ currency: "NGN",
16
16
  year: 2025,
17
- introHeadline: "You Be New Face OOO....",
18
- introSubtitle: "Come back for 6 days time, we dey for you 😉",
17
+ introHeadline: "This Year You Carry Your Hustle For Head",
18
+ introSubtitle: "Make we look the numbers 🔥",
19
19
  topProducts: [
20
20
  {
21
21
  name: "Vanilla Yoghurt",
@@ -43,11 +43,23 @@ export const mockRecapData = {
43
43
  productImage: "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
44
44
  },
45
45
  ],
46
+ productImages: [
47
+ "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
48
+ "https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=400&q=80",
49
+ "https://images.unsplash.com/photo-1506084868230-bb9d95c24759?auto=format&fit=crop&w=400&q=80",
50
+ "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
51
+ "https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&w=400&q=80",
52
+ "https://images.unsplash.com/photo-1470337458703-46ad1756a187?auto=format&fit=crop&w=400&q=80",
53
+ ],
46
54
  businessCategory: BUSINESS_CATEGORIES.THRIVING,
47
55
  busiestMonth: "Oct",
48
- videoUrl: "https://katajereassets.blob.core.windows.net/sp-list-assets/mocksite_walkthrough_a75c98dd-47ef-4f2c-a97c-ab2b3c3c97a5_2315a6b2d671d142f34e08cad43929c5.mp4",
49
- downloadUrl: "https://api.huxxle.com/api/download?fileUrl=https://katajereassets.blob.core.windows.net/sp-list-assets/mocksite_walkthrough_a75c98dd-47ef-4f2c-a97c-ab2b3c3c97a5_2315a6b2d671d142f34e08cad43929c5.mp4",
50
- isVideo: true
56
+ videoUrl: "https://katajereassets.blob.core.windows.net/sp-list-assets/recap_4e5f6a7b-8c9d-0e1f-2a3b-4c5d6e7f8a9b_b5aac4492a8b453fbdbdbc8ed96f04f0.mp4",
57
+ downloadUrl: "https://api.huxxle.com/api/download?fileUrl=https://katajereassets.blob.core.windows.net/sp-list-assets/recap_4e5f6a7b-8c9d-0e1f-2a3b-4c5d6e7f8a9b_b5aac4492a8b453fbdbdbc8ed96f04f0.mp4",
58
+ isVideo: false,
59
+ websiteLink: "https://vendor.huxxle.com",
60
+ websiteVisits: 123400,
61
+ mostViewedProduct: "Vanilla Yoghurt",
62
+ mostViewedProductCount: 567,
51
63
  };
52
64
  // Slide durations in seconds - each slide can have its own timing
53
65
  export const slideDurations = {
package/dist/index.d.ts CHANGED
@@ -10,7 +10,6 @@
10
10
  export { default as RecapApp } from './RecapApp';
11
11
  export { default as RecapStory } from './RecapStory';
12
12
  export { default as StoryProgress } from './StoryProgress';
13
- export { default as FloatingFrames } from './FloatingFrames';
14
13
  export { default as Header } from './components/Header';
15
14
  export { default as Slide1Intro } from './slides/Slide1Intro';
16
15
  export { default as Slide2Days } from './slides/Slide2Days';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAMxD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAMhE,YAAY,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,QAAQ,GACT,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,mBAAmB,EACnB,UAAU,GACX,MAAM,SAAS,CAAC;AAMjB,OAAO,EACL,cAAc,EACd,YAAY,GACb,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,cAAc,EACd,aAAa,GACd,MAAM,aAAa,CAAC;AAMrB,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAMxD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAMhE,YAAY,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,QAAQ,GACT,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,mBAAmB,EACnB,UAAU,GACX,MAAM,SAAS,CAAC;AAMjB,OAAO,EACL,cAAc,EACd,YAAY,GACb,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,cAAc,EACd,aAAa,GACd,MAAM,aAAa,CAAC;AAMrB,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/dist/index.js CHANGED
@@ -13,7 +13,6 @@
13
13
  export { default as RecapApp } from './RecapApp';
14
14
  export { default as RecapStory } from './RecapStory';
15
15
  export { default as StoryProgress } from './StoryProgress';
16
- export { default as FloatingFrames } from './FloatingFrames';
17
16
  export { default as Header } from './components/Header';
18
17
  // ============================================================================
19
18
  // INDIVIDUAL SLIDES - For custom layouts or granular control
@@ -2,34 +2,31 @@
2
2
  position: relative;
3
3
  width: 100%;
4
4
  height: 100%;
5
- color: #FCFCFC;
5
+ color: var(--primary-blue);
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  align-items: center;
9
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
- }
10
+ gap: clamp(12px, 3vh, 32px);
11
+ padding: clamp(60px, 15vh, 120px) 4.1% clamp(24px, 4vh, 48px);
12
+ box-sizing: border-box;
13
+ overflow-y: auto;
23
14
  }
24
15
 
25
16
  .slide10-final__badge {
26
17
  box-sizing: border-box;
27
- border: 0.5px solid #FCFCFC;
28
- padding: 0.95% 4.1%;
18
+ /* Use 1px minimum for reliable border rendering on all devices */
19
+ border: 1px solid var(--primary-blue);
20
+ padding: 8px 16px;
29
21
  font-family: 'Lora', serif;
30
22
  font-size: clamp(10px, 3.08vw, 12px);
31
23
  font-weight: 600;
32
24
  letter-spacing: 0.08em;
25
+ background: var(--bg-gradient);
26
+ -webkit-background-clip: text;
27
+ -webkit-text-fill-color: transparent;
28
+ background-clip: text;
29
+ flex-shrink: 0;
33
30
  }
34
31
 
35
32
  .slide10-final__title {
@@ -41,10 +38,11 @@
41
38
  text-align: center;
42
39
  width: 92.31%;
43
40
  max-width: 360px;
44
- background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
41
+ background: var(--bg-gradient);
45
42
  -webkit-background-clip: text;
46
43
  -webkit-text-fill-color: transparent;
47
44
  background-clip: text;
45
+ flex-shrink: 0;
48
46
  }
49
47
 
50
48
  .slide10-final__button-group {
@@ -52,36 +50,76 @@
52
50
  max-width: 358px;
53
51
  display: flex;
54
52
  flex-direction: column;
55
- gap: 8px;
56
- margin-top: 14.16vh;
57
- padding-bottom: 2.84vh;
58
- margin-bottom: 2.84vh;
53
+ gap: clamp(6px, 1.5vh, 10px);
54
+ margin-top: clamp(24px, 6vh, 80px);
55
+ padding-bottom: calc(24px + env(safe-area-inset-bottom));
56
+ flex-shrink: 0;
59
57
  }
60
58
 
61
59
  .slide10-final__button {
62
- border: 1px solid #FCFCFC;
60
+ border: 1px solid var(--primary-blue);
63
61
  background: transparent;
64
- color: #FCFCFC;
62
+ color: var(--text-primary);
65
63
  font-family: 'Lora', serif;
66
64
  font-weight: 600;
67
65
  font-size: clamp(12px, 4.1vw, 16px);
68
- padding: 1.42% 4.1%;
69
- min-height: 40px;
66
+ padding: clamp(10px, 2vh, 14px) 16px;
67
+ min-height: clamp(36px, 6vh, 44px);
70
68
  display: flex;
71
69
  justify-content: center;
72
70
  align-items: center;
73
71
  cursor: pointer;
72
+ flex-shrink: 0;
74
73
  }
75
74
 
76
- /* .slide10-final__button--replay {
77
- width: 122px;
78
- align-self: flex-start;
79
- padding: 8px 16px;
80
- font-size: 14px;
81
- } */
75
+ /* Responsive adjustments for shorter screens */
76
+ @media (max-height: 700px) {
77
+ .slide10-final {
78
+ padding-top: clamp(48px, 10vh, 80px);
79
+ gap: clamp(8px, 2vh, 16px);
80
+ }
81
+
82
+ .slide10-final__button-group {
83
+ margin-top: clamp(16px, 4vh, 40px);
84
+ gap: clamp(4px, 1vh, 8px);
85
+ }
86
+
87
+ .slide10-final__button {
88
+ min-height: clamp(32px, 5vh, 40px);
89
+ padding: clamp(8px, 1.5vh, 12px) 16px;
90
+ }
91
+ }
92
+
93
+ @media (max-height: 600px) {
94
+ .slide10-final {
95
+ padding-top: clamp(40px, 8vh, 60px);
96
+ gap: clamp(6px, 1.5vh, 12px);
97
+ }
98
+
99
+ .slide10-final__button-group {
100
+ margin-top: clamp(12px, 3vh, 24px);
101
+ }
102
+
103
+ .slide10-final__title {
104
+ font-size: clamp(20px, 8vw, 32px);
105
+ }
106
+ }
107
+
108
+ /* Landscape orientation */
109
+ @media (orientation: landscape) {
110
+ .slide10-final {
111
+ padding-top: clamp(32px, 8vh, 60px);
112
+ gap: clamp(8px, 2vh, 16px);
113
+ }
114
+
115
+ .slide10-final__button-group {
116
+ margin-top: clamp(16px, 4vh, 40px);
117
+ }
118
+ }
82
119
 
120
+ /* Fallback and manual link styles */
83
121
  .slide10-final__fallback {
84
- margin-top: 1.42%;
122
+ margin-top: clamp(8px, 1.5vh, 12px);
85
123
  font-size: clamp(12px, 3.59vw, 14px);
86
124
  color: #FFCC80;
87
125
  text-align: center;
@@ -89,13 +127,13 @@
89
127
  }
90
128
 
91
129
  .slide10-final__manual-link {
92
- margin-top: 0.95%;
130
+ margin-top: clamp(6px, 1vh, 10px);
93
131
  border: 1px dashed #FFCC80;
94
132
  background: transparent;
95
133
  color: #FFCC80;
96
134
  font-weight: 600;
97
- padding: 1.19% 4.1%;
98
- min-height: 36px;
135
+ padding: clamp(8px, 1.5vh, 12px) 16px;
136
+ min-height: clamp(32px, 5vh, 36px);
99
137
  cursor: pointer;
100
138
  font-size: clamp(12px, 3.59vw, 14px);
101
139
  }
@@ -14,7 +14,7 @@
14
14
  align-items: flex-start;
15
15
  padding: 0;
16
16
  /* gap: clamp(12px, 1.9dvh, 16px); */
17
- gap: calc(12px + env(safe-area-inset-top));
17
+ /* gap: calc(12px + env(safe-area-inset-top)); */
18
18
  position: absolute;
19
19
  /* width: clamp(300px, 91.79vw, 358px);
20
20
  left: clamp(16px, 4.1vw, 16px);
@@ -23,43 +23,67 @@
23
23
  overflow: visible;
24
24
  }
25
25
 
26
- /* Background "HEY" text - first line, with opacity */
26
+ /* Background "HEY" text - first line, with opacity and border */
27
27
  .slide1-intro__bg-text {
28
28
  font-family: 'Lora', serif;
29
29
  font-style: normal;
30
30
  font-weight: 700;
31
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;
32
+ /* line-height: 180%; */
33
+ color: transparent;
34
+ -webkit-text-stroke: 1.5px var(--primary-purple);
37
35
  opacity: 0.1;
38
36
  flex: none;
39
37
  order: 0;
40
38
  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));
39
+ /* Header is ~48px + safe-area, add 6px gap below header */
40
+ margin: calc(54px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
42
41
  }
43
42
 
44
- /* Business name - single line, animated horizontally */
43
+ /* Business name - wraps naturally with dynamic font size */
45
44
  .slide1-intro__brand {
46
45
  font-family: 'Lora', serif;
47
46
  font-style: normal;
48
47
  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;
48
+ font-size: clamp(28px, 10vw, 56px);
49
+ line-height: 1.05;
50
+ color: #4F4CD8;
55
51
  flex: none;
56
52
  order: 1;
57
53
  align-self: stretch;
54
+ display: flex;
55
+ flex-wrap: wrap;
56
+ margin-left: calc(16px + env(safe-area-inset-left));
57
+ margin-right: calc(16px + env(safe-area-inset-right));
58
+ max-width: calc(100% - calc(16px + env(safe-area-inset-left)) - calc(16px + env(safe-area-inset-right)));
59
+ position: relative;
60
+ z-index: 4;
61
+ }
62
+
63
+ /* Single word business name - larger font */
64
+ .slide1-intro__brand--words-1 {
65
+ font-size: clamp(56px, 20vw, 96px);
66
+ line-height: 1;
67
+ }
68
+
69
+ /* Two word business name - medium font */
70
+ .slide1-intro__brand--words-2 {
71
+ font-size: clamp(44px, 14vw, 72px);
72
+ line-height: 1;
73
+ }
74
+
75
+ /* Three+ word business name - smaller font */
76
+ .slide1-intro__brand--words-3 {
77
+ font-size: clamp(28px, 10vw, 56px);
78
+ }
79
+
80
+ /* Each word - inline with natural flow, wraps when needed */
81
+ .slide1-intro__word {
82
+ display: inline;
58
83
  white-space: nowrap;
59
- margin-left: calc(16px + env(safe-area-inset-top));
60
84
  }
61
85
 
62
- /* Top floating frames - 255px from top */
86
+ /* Top floating frames - positioned to avoid business name */
63
87
  .slide1-intro__frames-top {
64
88
  display: flex;
65
89
  flex-direction: row;
@@ -70,11 +94,26 @@
70
94
  position: absolute;
71
95
  width: 100%;
72
96
  left: 0;
73
- /* top: clamp(180px, 30.21dvh, 255px); */
74
- top: 30.2vh;
97
+ top: 32vh;
75
98
  z-index: 2;
76
99
  }
77
100
 
101
+ /* Dynamic frame positioning based on word count */
102
+ /* 1 word: frames start closer to name since name is on single line */
103
+ .slide1-intro--words-1 .slide1-intro__frames-top {
104
+ top: 26vh;
105
+ }
106
+
107
+ /* 2 words: frames start slightly closer */
108
+ .slide1-intro--words-2 .slide1-intro__frames-top {
109
+ top: 28vh;
110
+ }
111
+
112
+ /* 3+ words: default position */
113
+ .slide1-intro--words-3 .slide1-intro__frames-top {
114
+ top: 32vh;
115
+ }
116
+
78
117
  .slide1-intro__frames-top .frame-rect {
79
118
  box-sizing: border-box;
80
119
  width: clamp(140px, 46.15vw, 180px);
@@ -99,26 +138,33 @@
99
138
  padding: 0 calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
100
139
  }
101
140
 
141
+ /* Text positioning based on word count - align with frame positions */
142
+ .slide1-intro--words-1 .slide1-intro__text {
143
+ top: 58vh;
144
+ }
145
+
146
+ .slide1-intro--words-2 .slide1-intro__text {
147
+ top: 60vh;
148
+ }
149
+
150
+ .slide1-intro--words-3 .slide1-intro__text {
151
+ top: 63.39vh;
152
+ }
153
+
102
154
  .slide1-intro__headline {
103
155
  width: 100%;
104
156
  font-family: 'Lora', serif;
105
157
  font-style: normal;
106
158
  font-weight: 600;
107
159
  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;
160
+ line-height: 1.25;
161
+ color: #4F4CD8;
113
162
  flex: none;
114
163
  order: 0;
115
164
  align-self: stretch;
116
165
  margin: 0;
117
- display: -webkit-box;
118
- -webkit-line-clamp: 3;
119
- line-clamp: inherit;
120
- -webkit-box-orient: vertical;
121
- overflow: hidden;
166
+ word-wrap: break-word;
167
+ overflow-wrap: break-word;
122
168
  }
123
169
 
124
170
  .slide1-intro__subtitle {
@@ -128,7 +174,7 @@
128
174
  font-weight: 400;
129
175
  font-size: clamp(14px, 4.1vw, 16px);
130
176
  line-height: 1.5;
131
- color: #FFFFFF;
177
+ color: #3734D3;
132
178
  flex: none;
133
179
  order: 1;
134
180
  align-self: stretch;
@@ -136,17 +182,7 @@
136
182
  }
137
183
  /* Bottom floating frames - 743px from top */
138
184
  .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;
185
+ display: none;
150
186
  }
151
187
 
152
188
  .slide1-intro__frames-bottom .frame-rect {
@@ -194,7 +230,7 @@
194
230
  }
195
231
 
196
232
  .slide1-intro--new-user .slide1-intro__subtitle {
197
- color: #CDCCF4;
233
+ color: var(--border-line);
198
234
  }
199
235
 
200
236
  .slide1-intro--new-user .frame-rect {
@@ -211,27 +247,139 @@
211
247
 
212
248
  /* Media queries for landscape and short screens */
213
249
  @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
250
  .slide1-intro__bg-text,
220
251
  .slide1-intro__brand {
221
252
  font-size: clamp(32px, 12vw, 48px);
222
253
  }
223
254
 
224
- /* .slide1-intro__frames-top {
225
- top: clamp(140px, 22dvh, 180px);
226
- } */
255
+ /* Maintain larger sizes for fewer words on short screens */
256
+ .slide1-intro__brand--words-1 {
257
+ font-size: clamp(48px, 16vw, 72px);
258
+ }
227
259
 
228
- /* .slide1-intro__text {
229
- top: clamp(280px, 50dvh, 380px);
230
- } */
260
+ .slide1-intro__brand--words-2 {
261
+ font-size: clamp(36px, 12vw, 56px);
262
+ }
263
+ }
264
+
265
+ /* Small/Short screens - handles browser chrome taking space */
266
+ @media (max-height: 700px) {
267
+ .slide1-intro__bg-text {
268
+ font-size: clamp(28px, 10vw, 40px);
269
+ /* Maintain header clearance: header ~48px + 6px gap */
270
+ margin-top: calc(54px + env(safe-area-inset-top));
271
+ }
272
+
273
+ .slide1-intro__brand {
274
+ font-size: clamp(22px, 8vw, 36px);
275
+ line-height: 1.0;
276
+ }
277
+
278
+ /* Single word - still larger on short screens */
279
+ .slide1-intro__brand--words-1 {
280
+ font-size: clamp(40px, 14vw, 60px);
281
+ }
282
+
283
+ .slide1-intro__brand--words-2 {
284
+ font-size: clamp(32px, 11vw, 48px);
285
+ }
286
+
287
+ /* Frame positioning for short screens by word count */
288
+ .slide1-intro--words-1 .slide1-intro__frames-top {
289
+ top: 30dvh;
290
+ }
291
+
292
+ .slide1-intro--words-2 .slide1-intro__frames-top {
293
+ top: 32dvh;
294
+ }
295
+
296
+ .slide1-intro--words-3 .slide1-intro__frames-top {
297
+ top: 36dvh;
298
+ }
299
+
300
+ .slide1-intro__frames-top .frame-rect {
301
+ height: 30dvh;
302
+ }
303
+
304
+ /* Text positioning for short screens by word count */
305
+ .slide1-intro--words-1 .slide1-intro__text {
306
+ top: 64dvh;
307
+ }
308
+
309
+ .slide1-intro--words-2 .slide1-intro__text {
310
+ top: 66dvh;
311
+ }
312
+
313
+ .slide1-intro--words-3 .slide1-intro__text {
314
+ top: 70dvh;
315
+ }
316
+
317
+ .slide1-intro__headline {
318
+ font-size: 4dvh;
319
+ line-height: 1.2;
320
+ }
321
+
322
+ .slide1-intro__subtitle {
323
+ font-size: clamp(12px, 3.5vw, 14px);
324
+ line-height: 1.4;
325
+ }
326
+ }
327
+
328
+ /* Extra short screens - more aggressive adjustments */
329
+ @media (max-height: 600px) {
330
+ .slide1-intro__bg-text {
331
+ font-size: clamp(24px, 8vw, 32px);
332
+ /* Maintain header clearance even on extra short screens */
333
+ margin-top: calc(54px + env(safe-area-inset-top));
334
+ }
335
+
336
+ .slide1-intro__brand {
337
+ font-size: clamp(18px, 7vw, 28px);
338
+ line-height: 0.95;
339
+ }
340
+
341
+ /* Single word - still larger on extra short screens */
342
+ .slide1-intro__brand--words-1 {
343
+ font-size: clamp(32px, 12vw, 48px);
344
+ }
345
+
346
+ .slide1-intro__brand--words-2 {
347
+ font-size: clamp(26px, 10vw, 40px);
348
+ }
349
+
350
+ /* Frame positioning for extra short screens by word count */
351
+ .slide1-intro--words-1 .slide1-intro__frames-top {
352
+ top: 26dvh;
353
+ }
231
354
 
232
- /* .slide1-intro__frames-bottom {
233
- top: clamp(420px, 70dvh, 520px);
234
- } */
355
+ .slide1-intro--words-2 .slide1-intro__frames-top {
356
+ top: 28dvh;
357
+ }
358
+
359
+ .slide1-intro--words-3 .slide1-intro__frames-top {
360
+ top: 30dvh;
361
+ }
362
+
363
+ .slide1-intro__frames-top .frame-rect {
364
+ height: 24dvh;
365
+ }
366
+
367
+ /* Text positioning for extra short screens by word count */
368
+ .slide1-intro--words-1 .slide1-intro__text {
369
+ top: 54dvh;
370
+ }
371
+
372
+ .slide1-intro--words-2 .slide1-intro__text {
373
+ top: 56dvh;
374
+ }
375
+
376
+ .slide1-intro--words-3 .slide1-intro__text {
377
+ top: 58dvh;
378
+ }
379
+
380
+ .slide1-intro__headline {
381
+ font-size: 3.5dvh;
382
+ }
235
383
  }
236
384
 
237
385
  /* New User CTA Button */