@katajere/recap 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -1
- package/dist/App.css +61 -25
- package/dist/RecapStory.css +7 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/slides/Slide1Intro.css +40 -66
- package/dist/slides/Slide2Days.css +11 -11
- package/dist/slides/Slide3Revenue.css +4 -4
- package/package.json +17 -32
- package/src/App.css +61 -25
- package/src/RecapStory.css +7 -7
- package/src/index.ts +2 -2
- package/src/slides/Slide1Intro.css +40 -66
- package/src/slides/Slide2Days.css +11 -11
- package/src/slides/Slide3Revenue.css +4 -4
package/README.md
CHANGED
|
@@ -33,7 +33,33 @@ The UI and animation patterns closely follow the Figma design direction for Huxx
|
|
|
33
33
|
|
|
34
34
|
## 📦 Installation
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
### Option 1: Use as an NPM package (WebApp/Backend)
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
+
npm install @katajere/recap
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Basic usage:
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
import { RecapApp, mockRecapData } from '@katajere/recap';
|
|
46
|
+
import '@katajere/recap/styles';
|
|
47
|
+
|
|
48
|
+
export function RecapPage() {
|
|
49
|
+
return <RecapApp recapData={mockRecapData} />;
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Option 2: Run standalone (full app shell)
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
git clone https://github.com/Katajere/Recap.git
|
|
57
|
+
cd Recap
|
|
39
58
|
npm install
|
|
59
|
+
npm run dev # Vite dev server at http://localhost:3000
|
|
60
|
+
|
|
61
|
+
# Production builds
|
|
62
|
+
npm run build # builds library (dist/) + standalone (build/)
|
|
63
|
+
npm run preview # preview production build
|
|
64
|
+
```
|
|
65
|
+
|
package/dist/App.css
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
--frame-ar-num: 9;
|
|
5
5
|
--frame-ar-den: 19.5;
|
|
6
6
|
--frame-ar: 9 / 19.5;
|
|
7
|
-
/* Responsive base font size */
|
|
8
|
-
--base-font-size: clamp(14px, 3.6vw, 16px);
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
* {
|
|
@@ -25,12 +23,12 @@ body {
|
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
#root {
|
|
28
|
-
width:
|
|
29
|
-
height:
|
|
26
|
+
width: 100vw;
|
|
27
|
+
height: 100dvh;
|
|
30
28
|
overflow: hidden;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
|
-
/* Main app container
|
|
31
|
+
/* Main app container */
|
|
34
32
|
.app {
|
|
35
33
|
position: relative;
|
|
36
34
|
width: 100%;
|
|
@@ -40,7 +38,7 @@ body {
|
|
|
40
38
|
justify-content: center;
|
|
41
39
|
background: #1a1a2e;
|
|
42
40
|
overflow: hidden;
|
|
43
|
-
|
|
41
|
+
/* padding: clamp(0px, 2vh, 20px); */
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
/* Desktop backdrop blur effect */
|
|
@@ -57,32 +55,43 @@ body {
|
|
|
57
55
|
z-index: 0;
|
|
58
56
|
}
|
|
59
57
|
|
|
60
|
-
/* Story shell -
|
|
58
|
+
/* Story shell - 9:19.5 aspect ratio container */
|
|
61
59
|
.app__shell {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
60
|
+
aspect-ratio: var(--frame-ar);
|
|
61
|
+
width: min(100%, calc(100dvh * var(--frame-ar-num) / var(--frame-ar-den)));
|
|
62
|
+
height: min(100dvh, calc(100vw * var(--frame-ar-den) / var(--frame-ar-num)));
|
|
63
|
+
max-width: 430px;
|
|
64
|
+
max-height: 932px;
|
|
65
|
+
background: linear-gradient(180deg, #3F3DAD 0%, #CC6240 100%);
|
|
66
|
+
/* border-radius: clamp(0px, 2vw, 24px); */
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
69
|
+
z-index: 1;
|
|
70
|
+
position: relative;
|
|
71
|
+
margin: 0 auto;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* Fallback for browsers without aspect-ratio support */
|
|
75
75
|
@supports not (aspect-ratio: 9 / 19.5) {
|
|
76
76
|
.app__shell {
|
|
77
|
-
width:
|
|
78
|
-
height: calc(
|
|
77
|
+
width: 100vw;
|
|
78
|
+
height: calc(100vw * var(--frame-ar-den) / var(--frame-ar-num));
|
|
79
|
+
max-height: 100dvh;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (min-aspect-ratio: 9/19.5) {
|
|
83
|
+
.app__shell {
|
|
84
|
+
width: calc(100dvh * var(--frame-ar-num) / var(--frame-ar-den));
|
|
85
|
+
height: 100dvh;
|
|
86
|
+
}
|
|
79
87
|
}
|
|
80
88
|
}
|
|
81
89
|
|
|
82
|
-
/* Mobile -
|
|
83
|
-
@media (max-width:
|
|
90
|
+
/* Mobile - remove border radius and shadow */
|
|
91
|
+
@media (max-width: 420px) {
|
|
84
92
|
.app {
|
|
85
93
|
background: linear-gradient(180deg, #3F3DAD 0%, #CC6240 100%);
|
|
94
|
+
padding: 0;
|
|
86
95
|
}
|
|
87
96
|
|
|
88
97
|
.app__backdrop {
|
|
@@ -90,18 +99,45 @@ body {
|
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
.app__shell {
|
|
93
|
-
|
|
94
|
-
|
|
102
|
+
/* border-radius: 0; */
|
|
103
|
+
box-shadow: none;
|
|
104
|
+
width: 100%;
|
|
105
|
+
height: 100dvh;
|
|
95
106
|
max-width: none;
|
|
96
|
-
|
|
107
|
+
max-height: none;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Short screens */
|
|
112
|
+
@media (max-height: 720px) {
|
|
113
|
+
.app {
|
|
114
|
+
padding: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.app__shell {
|
|
118
|
+
/* border-radius: 0; */
|
|
119
|
+
box-shadow: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Landscape orientation on mobile */
|
|
124
|
+
@media (orientation: landscape) and (max-height: 600px) {
|
|
125
|
+
.app {
|
|
126
|
+
padding: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.app__shell {
|
|
130
|
+
/* border-radius: 0; */
|
|
97
131
|
box-shadow: none;
|
|
132
|
+
width: auto;
|
|
133
|
+
height: 100dvh;
|
|
98
134
|
}
|
|
99
135
|
}
|
|
100
136
|
|
|
101
137
|
/* Desktop optimization */
|
|
102
138
|
@media (min-width: 768px) {
|
|
103
139
|
.app {
|
|
104
|
-
padding: 20px;
|
|
140
|
+
padding: clamp(20px, 3vh, 40px);
|
|
105
141
|
}
|
|
106
142
|
}
|
|
107
143
|
|
package/dist/RecapStory.css
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
flex: none;
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
|
-
gap:
|
|
17
|
-
margin:
|
|
16
|
+
gap: 6px;
|
|
17
|
+
margin: calc(24px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
18
18
|
z-index: 10;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
width: 100%;
|
|
37
37
|
display: flex;
|
|
38
38
|
align-items: center;
|
|
39
|
-
gap:
|
|
39
|
+
gap: 5px;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.recap-story__sound-toggle {
|
|
43
|
-
width:
|
|
44
|
-
height:
|
|
43
|
+
width: 40px;
|
|
44
|
+
height: 40px;
|
|
45
45
|
display: inline-flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
49
|
-
border-radius:
|
|
49
|
+
border-radius: 12px;
|
|
50
50
|
background: rgba(22, 32, 90, 0.35);
|
|
51
51
|
backdrop-filter: blur(6px);
|
|
52
52
|
color: #ffcc80;
|
|
53
53
|
cursor: pointer;
|
|
54
|
-
padding:
|
|
54
|
+
padding: 8px;
|
|
55
55
|
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
56
56
|
-webkit-tap-highlight-color: transparent;
|
|
57
57
|
flex-shrink: 0;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
2
|
+
* @katajere/recap - Vendor Year in Review Experience
|
|
3
3
|
* Public API exports for NPM package
|
|
4
4
|
*
|
|
5
5
|
* This file exports components and types for use in:
|
|
@@ -26,5 +26,5 @@ export type { RecapData, ProductSummary, BusinessCategory, AuthStep, } from './t
|
|
|
26
26
|
export { BUSINESS_CATEGORIES, AUTH_STEPS, } from './types';
|
|
27
27
|
export { formatCurrency, formatNumber, } from './utils/format';
|
|
28
28
|
export { slideDurations, mockRecapData, } from './data/mock';
|
|
29
|
-
export declare const VERSION = "1.0.
|
|
29
|
+
export declare const VERSION = "1.0.3";
|
|
30
30
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
2
|
+
* @katajere/recap - Vendor Year in Review Experience
|
|
3
3
|
* Public API exports for NPM package
|
|
4
4
|
*
|
|
5
5
|
* This file exports components and types for use in:
|
|
@@ -37,4 +37,4 @@ export { slideDurations, mockRecapData, } from './data/mock';
|
|
|
37
37
|
// ============================================================================
|
|
38
38
|
// VERSION - For compatibility checking
|
|
39
39
|
// ============================================================================
|
|
40
|
-
export const VERSION = '1.0.
|
|
40
|
+
export const VERSION = '1.0.3';
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
/* Slide1Intro.css -
|
|
1
|
+
/* Slide1Intro.css - Updated design specifications */
|
|
2
2
|
|
|
3
3
|
.slide1-intro {
|
|
4
4
|
position: relative;
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: 100%;
|
|
7
7
|
overflow: hidden;
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
/* Brand name container -
|
|
10
|
+
/* Brand name container - 48px from top, allows overflow for animation */
|
|
13
11
|
.slide1-intro__brand-container {
|
|
14
12
|
display: flex;
|
|
15
13
|
flex-direction: column;
|
|
16
14
|
align-items: flex-start;
|
|
17
15
|
padding: 0;
|
|
18
|
-
gap: clamp(
|
|
16
|
+
/* gap: clamp(12px, 1.9dvh, 16px); */
|
|
17
|
+
gap: calc(12px + env(safe-area-inset-top));
|
|
19
18
|
position: absolute;
|
|
20
|
-
|
|
21
|
-
left: clamp(
|
|
19
|
+
/* width: clamp(300px, 91.79vw, 358px);
|
|
20
|
+
left: clamp(16px, 4.1vw, 16px);
|
|
21
|
+
top: clamp(40px, 5.69dvh, 48px); */
|
|
22
22
|
z-index: 3;
|
|
23
23
|
overflow: visible;
|
|
24
|
-
width: calc(100% - clamp(24px, 8%, 32px));
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
/* Background "HEY" text - first line, with opacity */
|
|
@@ -29,7 +28,7 @@
|
|
|
29
28
|
font-family: 'Lora', serif;
|
|
30
29
|
font-style: normal;
|
|
31
30
|
font-weight: 700;
|
|
32
|
-
font-size: clamp(
|
|
31
|
+
font-size: clamp(40px, 16.41vw, 64px);
|
|
33
32
|
line-height: 1;
|
|
34
33
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
35
34
|
-webkit-background-clip: text;
|
|
@@ -37,60 +36,67 @@
|
|
|
37
36
|
background-clip: text;
|
|
38
37
|
opacity: 0.1;
|
|
39
38
|
flex: none;
|
|
40
|
-
|
|
41
|
-
|
|
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
42
|
}
|
|
43
43
|
|
|
44
|
-
/* Business name - animated horizontally */
|
|
44
|
+
/* Business name - single line, animated horizontally */
|
|
45
45
|
.slide1-intro__brand {
|
|
46
46
|
font-family: 'Lora', serif;
|
|
47
47
|
font-style: normal;
|
|
48
48
|
font-weight: 700;
|
|
49
|
-
font-size: clamp(
|
|
49
|
+
font-size: clamp(40px, 16.41vw, 64px);
|
|
50
50
|
line-height: 1;
|
|
51
51
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
52
52
|
-webkit-background-clip: text;
|
|
53
53
|
-webkit-text-fill-color: transparent;
|
|
54
54
|
background-clip: text;
|
|
55
55
|
flex: none;
|
|
56
|
+
order: 1;
|
|
57
|
+
align-self: stretch;
|
|
56
58
|
white-space: nowrap;
|
|
57
|
-
margin:
|
|
59
|
+
margin-left: calc(16px + env(safe-area-inset-top));
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
/* Top floating frames -
|
|
62
|
+
/* Top floating frames - 255px from top */
|
|
61
63
|
.slide1-intro__frames-top {
|
|
62
64
|
display: flex;
|
|
63
65
|
flex-direction: row;
|
|
64
66
|
justify-content: center;
|
|
65
67
|
align-items: center;
|
|
66
68
|
padding: 0;
|
|
67
|
-
gap: clamp(
|
|
69
|
+
gap: clamp(8px, 3.08vw, 12px);
|
|
68
70
|
position: absolute;
|
|
69
71
|
width: 100%;
|
|
70
72
|
left: 0;
|
|
71
|
-
top: clamp(
|
|
73
|
+
/* top: clamp(180px, 30.21dvh, 255px); */
|
|
74
|
+
top: 30.2vh;
|
|
72
75
|
z-index: 2;
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
.slide1-intro__frames-top .frame-rect {
|
|
76
79
|
box-sizing: border-box;
|
|
77
|
-
width: clamp(
|
|
78
|
-
|
|
80
|
+
width: clamp(140px, 46.15vw, 180px);
|
|
81
|
+
/* height: clamp(186px, 28.44dvh, 240px); */
|
|
82
|
+
height: 28.4vh;
|
|
79
83
|
border: 1px solid #FFFFFF;
|
|
80
84
|
flex: none;
|
|
81
85
|
}
|
|
82
86
|
|
|
83
|
-
/* Headline and subtitle container -
|
|
87
|
+
/* Headline and subtitle container - 535px from top */
|
|
84
88
|
.slide1-intro__text {
|
|
85
89
|
display: flex;
|
|
86
90
|
flex-direction: column;
|
|
87
91
|
align-items: flex-start;
|
|
88
|
-
gap: clamp(
|
|
92
|
+
/* gap: clamp(16px, 2.61dvh, 22px); */
|
|
89
93
|
position: absolute;
|
|
90
|
-
width:
|
|
91
|
-
left: clamp(
|
|
92
|
-
|
|
94
|
+
width: 100%;
|
|
95
|
+
/* left: clamp(16px, 4.1vw, 16px); */
|
|
96
|
+
/* left: calc(16px + env(safe-area-inset-top)); */
|
|
97
|
+
top: 63.39vh;
|
|
93
98
|
z-index: 3;
|
|
99
|
+
padding: 0 calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
.slide1-intro__headline {
|
|
@@ -98,13 +104,15 @@
|
|
|
98
104
|
font-family: 'Lora', serif;
|
|
99
105
|
font-style: normal;
|
|
100
106
|
font-weight: 600;
|
|
101
|
-
font-size:
|
|
102
|
-
line-height: 1.2;
|
|
107
|
+
font-size: 4.7vh;
|
|
108
|
+
/* line-height: 1.2; */
|
|
103
109
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
104
110
|
-webkit-background-clip: text;
|
|
105
111
|
-webkit-text-fill-color: transparent;
|
|
106
112
|
background-clip: text;
|
|
107
113
|
flex: none;
|
|
114
|
+
order: 0;
|
|
115
|
+
align-self: stretch;
|
|
108
116
|
margin: 0;
|
|
109
117
|
display: -webkit-box;
|
|
110
118
|
-webkit-line-clamp: 3;
|
|
@@ -118,63 +126,29 @@
|
|
|
118
126
|
font-family: 'Lora', serif;
|
|
119
127
|
font-style: normal;
|
|
120
128
|
font-weight: 400;
|
|
121
|
-
font-size: clamp(
|
|
129
|
+
font-size: clamp(14px, 4.1vw, 16px);
|
|
122
130
|
line-height: 1.5;
|
|
123
131
|
color: #FFFFFF;
|
|
124
132
|
flex: none;
|
|
133
|
+
order: 1;
|
|
134
|
+
align-self: stretch;
|
|
125
135
|
margin: 0;
|
|
126
136
|
}
|
|
127
|
-
|
|
128
|
-
/* Bottom floating frames - positioned at ~88% from top */
|
|
137
|
+
/* Bottom floating frames - 743px from top */
|
|
129
138
|
.slide1-intro__frames-bottom {
|
|
130
139
|
display: flex;
|
|
131
140
|
flex-direction: row;
|
|
132
141
|
justify-content: center;
|
|
133
142
|
align-items: center;
|
|
134
143
|
padding: 0;
|
|
135
|
-
gap: clamp(
|
|
144
|
+
gap: clamp(10px, 3.85vw, 15px);
|
|
136
145
|
position: absolute;
|
|
137
146
|
width: 100%;
|
|
138
147
|
left: 0;
|
|
139
|
-
top:
|
|
148
|
+
top: 88dvh;
|
|
140
149
|
z-index: 2;
|
|
141
150
|
}
|
|
142
151
|
|
|
143
|
-
.slide1-intro__frames-bottom .frame-rect {
|
|
144
|
-
box-sizing: border-box;
|
|
145
|
-
width: clamp(120px, 35%, 160px);
|
|
146
|
-
aspect-ratio: 140 / 186;
|
|
147
|
-
border: 1px solid #FFFFFF;
|
|
148
|
-
flex: none;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@media (max-height: 600px) {
|
|
152
|
-
.slide1-intro__brand-container {
|
|
153
|
-
top: 16px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.slide1-intro__bg-text,
|
|
157
|
-
.slide1-intro__brand {
|
|
158
|
-
font-size: clamp(24px, 10vw, 40px);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.slide1-intro__frames-top {
|
|
162
|
-
top: 30%;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.slide1-intro__text {
|
|
166
|
-
top: 60%;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.slide1-intro__headline {
|
|
170
|
-
font-size: clamp(16px, 5vw, 24px);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.slide1-intro__frames-bottom {
|
|
174
|
-
top: 85%;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
152
|
.slide1-intro__frames-bottom .frame-rect {
|
|
179
153
|
box-sizing: border-box;
|
|
180
154
|
width: clamp(140px, 46.15vw, 180px);
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
justify-content: center;
|
|
31
31
|
align-items: center;
|
|
32
32
|
padding: 0;
|
|
33
|
-
gap: clamp(8px, 3.
|
|
33
|
+
gap: clamp(8px, 3.08vw, 12px);
|
|
34
34
|
position: absolute;
|
|
35
35
|
width: 100%;
|
|
36
36
|
/* height: 28.4vh; */
|
|
37
37
|
left: 0;
|
|
38
|
-
top:
|
|
38
|
+
top: 21.68vh;
|
|
39
39
|
/* margin: calc(183px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right)); */
|
|
40
40
|
z-index: 2;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.slide2-days__frames .frame-rect {
|
|
44
44
|
box-sizing: border-box;
|
|
45
|
-
width: clamp(140px, 46.
|
|
46
|
-
height:
|
|
45
|
+
width: clamp(140px, 46.15vw, 180px);
|
|
46
|
+
height: 28.4vh;
|
|
47
47
|
/* aspect-ratio: 180 / 240; */
|
|
48
48
|
border: 1px solid #FFFFFF;
|
|
49
49
|
flex: none;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
width: 91.79%;
|
|
62
62
|
/* left: 4.1vh;
|
|
63
63
|
top: 56.75vh; */
|
|
64
|
-
margin:
|
|
64
|
+
margin: calc(56.75vh + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
65
65
|
z-index: 3;
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
font-family: 'Lora', serif;
|
|
71
71
|
font-style: normal;
|
|
72
72
|
font-weight: 500;
|
|
73
|
-
font-size:
|
|
73
|
+
font-size: 2.8vh;
|
|
74
74
|
/* line-height: 72px; */
|
|
75
75
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
76
76
|
-webkit-background-clip: text;
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
font-family: 'Lora', serif;
|
|
102
102
|
font-style: normal;
|
|
103
103
|
font-weight: 700;
|
|
104
|
-
font-size:
|
|
104
|
+
font-size: 10.37vh;
|
|
105
105
|
/* line-height: 115px; */
|
|
106
106
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
107
107
|
-webkit-background-clip: text;
|
|
@@ -138,9 +138,9 @@
|
|
|
138
138
|
width: 74.1%;
|
|
139
139
|
height: 0;
|
|
140
140
|
left: 25.9%;
|
|
141
|
-
top:
|
|
141
|
+
top: 79.86vh;
|
|
142
142
|
opacity: 0.4;
|
|
143
|
-
border:
|
|
143
|
+
border: 0.24vh solid #FFFFFF;
|
|
144
144
|
transform-origin: left;
|
|
145
145
|
z-index: 3;
|
|
146
146
|
}
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
position: absolute;
|
|
163
163
|
width: 91.79%;
|
|
164
164
|
left: 4.1%;
|
|
165
|
-
top:
|
|
165
|
+
top: 82.23vh;
|
|
166
166
|
z-index: 3;
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
font-family: 'Lora', serif;
|
|
179
179
|
font-style: normal;
|
|
180
180
|
font-weight: 700;
|
|
181
|
-
font-size:
|
|
181
|
+
font-size: 6.64vh;
|
|
182
182
|
/* line-height: 115px; */
|
|
183
183
|
text-align: right;
|
|
184
184
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
align-items: center;
|
|
37
37
|
justify-content: center;
|
|
38
|
-
gap:
|
|
38
|
+
gap: 2.84vh;
|
|
39
39
|
text-align: center;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
.slide3-revenue__title {
|
|
51
51
|
font-family: 'Lora', 'Georgia', serif;
|
|
52
|
-
font-size:
|
|
52
|
+
font-size: 2.84vh;
|
|
53
53
|
font-weight: 500;
|
|
54
54
|
letter-spacing: 0.04em;
|
|
55
55
|
margin: 0;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
.slide3-revenue__amount {
|
|
59
59
|
font-family: 'Lora', 'Georgia', serif;
|
|
60
|
-
font-size:
|
|
60
|
+
font-size: 7.58vh;
|
|
61
61
|
font-weight: 700;
|
|
62
62
|
line-height: 1;
|
|
63
63
|
margin: 0;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
.slide3-revenue__subline {
|
|
67
67
|
font-family: 'Lora', 'Georgia', serif;
|
|
68
|
-
font-size:
|
|
68
|
+
font-size: 1.9vh;
|
|
69
69
|
font-weight: 400;
|
|
70
70
|
margin: 0;
|
|
71
71
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@katajere/recap",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Vendor Year in Review Experience - Recap your business metrics for 2025",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -46,53 +46,38 @@
|
|
|
46
46
|
"url": "https://github.com/Katajere/Recap.git"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
+
"framer-motion": "^12.0.0",
|
|
49
50
|
"react": "^18.0.0 || ^19.0.0",
|
|
50
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
51
|
-
"framer-motion": "^12.0.0"
|
|
51
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
"framer-motion": "^12.0.0",
|
|
55
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
56
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
59
|
"@types/node": "^24.10.1",
|
|
60
60
|
"@types/react": "^19.2.7",
|
|
61
61
|
"@types/react-dom": "^19.2.3",
|
|
62
|
-
"
|
|
63
|
-
"react": "^19.2.0",
|
|
64
|
-
"react-dom": "^19.2.0",
|
|
65
|
-
"react-scripts": "5.0.1",
|
|
62
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
66
63
|
"typescript": "^5.9.3",
|
|
67
|
-
"
|
|
64
|
+
"vite": "^7.2.6",
|
|
65
|
+
"vite-plugin-static-copy": "^3.1.4"
|
|
68
66
|
},
|
|
69
67
|
"scripts": {
|
|
70
|
-
"
|
|
68
|
+
"dev": "vite",
|
|
69
|
+
"start": "vite",
|
|
71
70
|
"build": "npm run build:lib && npm run build:standalone",
|
|
72
71
|
"build:lib": "tsc --project tsconfig.lib.json && npm run copy-css",
|
|
72
|
+
"build:standalone": "vite build",
|
|
73
|
+
"preview": "vite preview",
|
|
73
74
|
"copy-css": "node scripts/copy-css.js",
|
|
74
|
-
"
|
|
75
|
-
"test": "react-scripts test",
|
|
76
|
-
"eject": "react-scripts eject",
|
|
77
|
-
"dev": "react-scripts start",
|
|
75
|
+
"test": "echo 'Tests disabled for library build'",
|
|
78
76
|
"prepublishOnly": "npm run build:lib"
|
|
79
77
|
},
|
|
80
78
|
"eslintConfig": {
|
|
81
79
|
"extends": [
|
|
82
|
-
"react-app"
|
|
83
|
-
"react-app/jest"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
"browserslist": {
|
|
87
|
-
"production": [
|
|
88
|
-
">0.2%",
|
|
89
|
-
"not dead",
|
|
90
|
-
"not op_mini all"
|
|
91
|
-
],
|
|
92
|
-
"development": [
|
|
93
|
-
"last 1 chrome version",
|
|
94
|
-
"last 1 firefox version",
|
|
95
|
-
"last 1 safari version"
|
|
80
|
+
"react-app"
|
|
96
81
|
]
|
|
97
82
|
}
|
|
98
83
|
}
|
package/src/App.css
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
--frame-ar-num: 9;
|
|
5
5
|
--frame-ar-den: 19.5;
|
|
6
6
|
--frame-ar: 9 / 19.5;
|
|
7
|
-
/* Responsive base font size */
|
|
8
|
-
--base-font-size: clamp(14px, 3.6vw, 16px);
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
* {
|
|
@@ -25,12 +23,12 @@ body {
|
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
#root {
|
|
28
|
-
width:
|
|
29
|
-
height:
|
|
26
|
+
width: 100vw;
|
|
27
|
+
height: 100dvh;
|
|
30
28
|
overflow: hidden;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
|
-
/* Main app container
|
|
31
|
+
/* Main app container */
|
|
34
32
|
.app {
|
|
35
33
|
position: relative;
|
|
36
34
|
width: 100%;
|
|
@@ -40,7 +38,7 @@ body {
|
|
|
40
38
|
justify-content: center;
|
|
41
39
|
background: #1a1a2e;
|
|
42
40
|
overflow: hidden;
|
|
43
|
-
|
|
41
|
+
/* padding: clamp(0px, 2vh, 20px); */
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
/* Desktop backdrop blur effect */
|
|
@@ -57,32 +55,43 @@ body {
|
|
|
57
55
|
z-index: 0;
|
|
58
56
|
}
|
|
59
57
|
|
|
60
|
-
/* Story shell -
|
|
58
|
+
/* Story shell - 9:19.5 aspect ratio container */
|
|
61
59
|
.app__shell {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
60
|
+
aspect-ratio: var(--frame-ar);
|
|
61
|
+
width: min(100%, calc(100dvh * var(--frame-ar-num) / var(--frame-ar-den)));
|
|
62
|
+
height: min(100dvh, calc(100vw * var(--frame-ar-den) / var(--frame-ar-num)));
|
|
63
|
+
max-width: 430px;
|
|
64
|
+
max-height: 932px;
|
|
65
|
+
background: linear-gradient(180deg, #3F3DAD 0%, #CC6240 100%);
|
|
66
|
+
/* border-radius: clamp(0px, 2vw, 24px); */
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
69
|
+
z-index: 1;
|
|
70
|
+
position: relative;
|
|
71
|
+
margin: 0 auto;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* Fallback for browsers without aspect-ratio support */
|
|
75
75
|
@supports not (aspect-ratio: 9 / 19.5) {
|
|
76
76
|
.app__shell {
|
|
77
|
-
width:
|
|
78
|
-
height: calc(
|
|
77
|
+
width: 100vw;
|
|
78
|
+
height: calc(100vw * var(--frame-ar-den) / var(--frame-ar-num));
|
|
79
|
+
max-height: 100dvh;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (min-aspect-ratio: 9/19.5) {
|
|
83
|
+
.app__shell {
|
|
84
|
+
width: calc(100dvh * var(--frame-ar-num) / var(--frame-ar-den));
|
|
85
|
+
height: 100dvh;
|
|
86
|
+
}
|
|
79
87
|
}
|
|
80
88
|
}
|
|
81
89
|
|
|
82
|
-
/* Mobile -
|
|
83
|
-
@media (max-width:
|
|
90
|
+
/* Mobile - remove border radius and shadow */
|
|
91
|
+
@media (max-width: 420px) {
|
|
84
92
|
.app {
|
|
85
93
|
background: linear-gradient(180deg, #3F3DAD 0%, #CC6240 100%);
|
|
94
|
+
padding: 0;
|
|
86
95
|
}
|
|
87
96
|
|
|
88
97
|
.app__backdrop {
|
|
@@ -90,18 +99,45 @@ body {
|
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
.app__shell {
|
|
93
|
-
|
|
94
|
-
|
|
102
|
+
/* border-radius: 0; */
|
|
103
|
+
box-shadow: none;
|
|
104
|
+
width: 100%;
|
|
105
|
+
height: 100dvh;
|
|
95
106
|
max-width: none;
|
|
96
|
-
|
|
107
|
+
max-height: none;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Short screens */
|
|
112
|
+
@media (max-height: 720px) {
|
|
113
|
+
.app {
|
|
114
|
+
padding: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.app__shell {
|
|
118
|
+
/* border-radius: 0; */
|
|
119
|
+
box-shadow: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Landscape orientation on mobile */
|
|
124
|
+
@media (orientation: landscape) and (max-height: 600px) {
|
|
125
|
+
.app {
|
|
126
|
+
padding: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.app__shell {
|
|
130
|
+
/* border-radius: 0; */
|
|
97
131
|
box-shadow: none;
|
|
132
|
+
width: auto;
|
|
133
|
+
height: 100dvh;
|
|
98
134
|
}
|
|
99
135
|
}
|
|
100
136
|
|
|
101
137
|
/* Desktop optimization */
|
|
102
138
|
@media (min-width: 768px) {
|
|
103
139
|
.app {
|
|
104
|
-
padding: 20px;
|
|
140
|
+
padding: clamp(20px, 3vh, 40px);
|
|
105
141
|
}
|
|
106
142
|
}
|
|
107
143
|
|
package/src/RecapStory.css
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
flex: none;
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
|
-
gap:
|
|
17
|
-
margin:
|
|
16
|
+
gap: 6px;
|
|
17
|
+
margin: calc(24px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
18
18
|
z-index: 10;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
width: 100%;
|
|
37
37
|
display: flex;
|
|
38
38
|
align-items: center;
|
|
39
|
-
gap:
|
|
39
|
+
gap: 5px;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.recap-story__sound-toggle {
|
|
43
|
-
width:
|
|
44
|
-
height:
|
|
43
|
+
width: 40px;
|
|
44
|
+
height: 40px;
|
|
45
45
|
display: inline-flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
49
|
-
border-radius:
|
|
49
|
+
border-radius: 12px;
|
|
50
50
|
background: rgba(22, 32, 90, 0.35);
|
|
51
51
|
backdrop-filter: blur(6px);
|
|
52
52
|
color: #ffcc80;
|
|
53
53
|
cursor: pointer;
|
|
54
|
-
padding:
|
|
54
|
+
padding: 8px;
|
|
55
55
|
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
56
56
|
-webkit-tap-highlight-color: transparent;
|
|
57
57
|
flex-shrink: 0;
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
2
|
+
* @katajere/recap - Vendor Year in Review Experience
|
|
3
3
|
* Public API exports for NPM package
|
|
4
4
|
*
|
|
5
5
|
* This file exports components and types for use in:
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
// VERSION - For compatibility checking
|
|
68
68
|
// ============================================================================
|
|
69
69
|
|
|
70
|
-
export const VERSION = '1.0.
|
|
70
|
+
export const VERSION = '1.0.3';
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
/* Slide1Intro.css -
|
|
1
|
+
/* Slide1Intro.css - Updated design specifications */
|
|
2
2
|
|
|
3
3
|
.slide1-intro {
|
|
4
4
|
position: relative;
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: 100%;
|
|
7
7
|
overflow: hidden;
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
/* Brand name container -
|
|
10
|
+
/* Brand name container - 48px from top, allows overflow for animation */
|
|
13
11
|
.slide1-intro__brand-container {
|
|
14
12
|
display: flex;
|
|
15
13
|
flex-direction: column;
|
|
16
14
|
align-items: flex-start;
|
|
17
15
|
padding: 0;
|
|
18
|
-
gap: clamp(
|
|
16
|
+
/* gap: clamp(12px, 1.9dvh, 16px); */
|
|
17
|
+
gap: calc(12px + env(safe-area-inset-top));
|
|
19
18
|
position: absolute;
|
|
20
|
-
|
|
21
|
-
left: clamp(
|
|
19
|
+
/* width: clamp(300px, 91.79vw, 358px);
|
|
20
|
+
left: clamp(16px, 4.1vw, 16px);
|
|
21
|
+
top: clamp(40px, 5.69dvh, 48px); */
|
|
22
22
|
z-index: 3;
|
|
23
23
|
overflow: visible;
|
|
24
|
-
width: calc(100% - clamp(24px, 8%, 32px));
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
/* Background "HEY" text - first line, with opacity */
|
|
@@ -29,7 +28,7 @@
|
|
|
29
28
|
font-family: 'Lora', serif;
|
|
30
29
|
font-style: normal;
|
|
31
30
|
font-weight: 700;
|
|
32
|
-
font-size: clamp(
|
|
31
|
+
font-size: clamp(40px, 16.41vw, 64px);
|
|
33
32
|
line-height: 1;
|
|
34
33
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
35
34
|
-webkit-background-clip: text;
|
|
@@ -37,60 +36,67 @@
|
|
|
37
36
|
background-clip: text;
|
|
38
37
|
opacity: 0.1;
|
|
39
38
|
flex: none;
|
|
40
|
-
|
|
41
|
-
|
|
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
42
|
}
|
|
43
43
|
|
|
44
|
-
/* Business name - animated horizontally */
|
|
44
|
+
/* Business name - single line, animated horizontally */
|
|
45
45
|
.slide1-intro__brand {
|
|
46
46
|
font-family: 'Lora', serif;
|
|
47
47
|
font-style: normal;
|
|
48
48
|
font-weight: 700;
|
|
49
|
-
font-size: clamp(
|
|
49
|
+
font-size: clamp(40px, 16.41vw, 64px);
|
|
50
50
|
line-height: 1;
|
|
51
51
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
52
52
|
-webkit-background-clip: text;
|
|
53
53
|
-webkit-text-fill-color: transparent;
|
|
54
54
|
background-clip: text;
|
|
55
55
|
flex: none;
|
|
56
|
+
order: 1;
|
|
57
|
+
align-self: stretch;
|
|
56
58
|
white-space: nowrap;
|
|
57
|
-
margin:
|
|
59
|
+
margin-left: calc(16px + env(safe-area-inset-top));
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
/* Top floating frames -
|
|
62
|
+
/* Top floating frames - 255px from top */
|
|
61
63
|
.slide1-intro__frames-top {
|
|
62
64
|
display: flex;
|
|
63
65
|
flex-direction: row;
|
|
64
66
|
justify-content: center;
|
|
65
67
|
align-items: center;
|
|
66
68
|
padding: 0;
|
|
67
|
-
gap: clamp(
|
|
69
|
+
gap: clamp(8px, 3.08vw, 12px);
|
|
68
70
|
position: absolute;
|
|
69
71
|
width: 100%;
|
|
70
72
|
left: 0;
|
|
71
|
-
top: clamp(
|
|
73
|
+
/* top: clamp(180px, 30.21dvh, 255px); */
|
|
74
|
+
top: 30.2vh;
|
|
72
75
|
z-index: 2;
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
.slide1-intro__frames-top .frame-rect {
|
|
76
79
|
box-sizing: border-box;
|
|
77
|
-
width: clamp(
|
|
78
|
-
|
|
80
|
+
width: clamp(140px, 46.15vw, 180px);
|
|
81
|
+
/* height: clamp(186px, 28.44dvh, 240px); */
|
|
82
|
+
height: 28.4vh;
|
|
79
83
|
border: 1px solid #FFFFFF;
|
|
80
84
|
flex: none;
|
|
81
85
|
}
|
|
82
86
|
|
|
83
|
-
/* Headline and subtitle container -
|
|
87
|
+
/* Headline and subtitle container - 535px from top */
|
|
84
88
|
.slide1-intro__text {
|
|
85
89
|
display: flex;
|
|
86
90
|
flex-direction: column;
|
|
87
91
|
align-items: flex-start;
|
|
88
|
-
gap: clamp(
|
|
92
|
+
/* gap: clamp(16px, 2.61dvh, 22px); */
|
|
89
93
|
position: absolute;
|
|
90
|
-
width:
|
|
91
|
-
left: clamp(
|
|
92
|
-
|
|
94
|
+
width: 100%;
|
|
95
|
+
/* left: clamp(16px, 4.1vw, 16px); */
|
|
96
|
+
/* left: calc(16px + env(safe-area-inset-top)); */
|
|
97
|
+
top: 63.39vh;
|
|
93
98
|
z-index: 3;
|
|
99
|
+
padding: 0 calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
.slide1-intro__headline {
|
|
@@ -98,13 +104,15 @@
|
|
|
98
104
|
font-family: 'Lora', serif;
|
|
99
105
|
font-style: normal;
|
|
100
106
|
font-weight: 600;
|
|
101
|
-
font-size:
|
|
102
|
-
line-height: 1.2;
|
|
107
|
+
font-size: 4.7vh;
|
|
108
|
+
/* line-height: 1.2; */
|
|
103
109
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
104
110
|
-webkit-background-clip: text;
|
|
105
111
|
-webkit-text-fill-color: transparent;
|
|
106
112
|
background-clip: text;
|
|
107
113
|
flex: none;
|
|
114
|
+
order: 0;
|
|
115
|
+
align-self: stretch;
|
|
108
116
|
margin: 0;
|
|
109
117
|
display: -webkit-box;
|
|
110
118
|
-webkit-line-clamp: 3;
|
|
@@ -118,63 +126,29 @@
|
|
|
118
126
|
font-family: 'Lora', serif;
|
|
119
127
|
font-style: normal;
|
|
120
128
|
font-weight: 400;
|
|
121
|
-
font-size: clamp(
|
|
129
|
+
font-size: clamp(14px, 4.1vw, 16px);
|
|
122
130
|
line-height: 1.5;
|
|
123
131
|
color: #FFFFFF;
|
|
124
132
|
flex: none;
|
|
133
|
+
order: 1;
|
|
134
|
+
align-self: stretch;
|
|
125
135
|
margin: 0;
|
|
126
136
|
}
|
|
127
|
-
|
|
128
|
-
/* Bottom floating frames - positioned at ~88% from top */
|
|
137
|
+
/* Bottom floating frames - 743px from top */
|
|
129
138
|
.slide1-intro__frames-bottom {
|
|
130
139
|
display: flex;
|
|
131
140
|
flex-direction: row;
|
|
132
141
|
justify-content: center;
|
|
133
142
|
align-items: center;
|
|
134
143
|
padding: 0;
|
|
135
|
-
gap: clamp(
|
|
144
|
+
gap: clamp(10px, 3.85vw, 15px);
|
|
136
145
|
position: absolute;
|
|
137
146
|
width: 100%;
|
|
138
147
|
left: 0;
|
|
139
|
-
top:
|
|
148
|
+
top: 88dvh;
|
|
140
149
|
z-index: 2;
|
|
141
150
|
}
|
|
142
151
|
|
|
143
|
-
.slide1-intro__frames-bottom .frame-rect {
|
|
144
|
-
box-sizing: border-box;
|
|
145
|
-
width: clamp(120px, 35%, 160px);
|
|
146
|
-
aspect-ratio: 140 / 186;
|
|
147
|
-
border: 1px solid #FFFFFF;
|
|
148
|
-
flex: none;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@media (max-height: 600px) {
|
|
152
|
-
.slide1-intro__brand-container {
|
|
153
|
-
top: 16px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.slide1-intro__bg-text,
|
|
157
|
-
.slide1-intro__brand {
|
|
158
|
-
font-size: clamp(24px, 10vw, 40px);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.slide1-intro__frames-top {
|
|
162
|
-
top: 30%;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.slide1-intro__text {
|
|
166
|
-
top: 60%;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.slide1-intro__headline {
|
|
170
|
-
font-size: clamp(16px, 5vw, 24px);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.slide1-intro__frames-bottom {
|
|
174
|
-
top: 85%;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
152
|
.slide1-intro__frames-bottom .frame-rect {
|
|
179
153
|
box-sizing: border-box;
|
|
180
154
|
width: clamp(140px, 46.15vw, 180px);
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
justify-content: center;
|
|
31
31
|
align-items: center;
|
|
32
32
|
padding: 0;
|
|
33
|
-
gap: clamp(8px, 3.
|
|
33
|
+
gap: clamp(8px, 3.08vw, 12px);
|
|
34
34
|
position: absolute;
|
|
35
35
|
width: 100%;
|
|
36
36
|
/* height: 28.4vh; */
|
|
37
37
|
left: 0;
|
|
38
|
-
top:
|
|
38
|
+
top: 21.68vh;
|
|
39
39
|
/* margin: calc(183px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right)); */
|
|
40
40
|
z-index: 2;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.slide2-days__frames .frame-rect {
|
|
44
44
|
box-sizing: border-box;
|
|
45
|
-
width: clamp(140px, 46.
|
|
46
|
-
height:
|
|
45
|
+
width: clamp(140px, 46.15vw, 180px);
|
|
46
|
+
height: 28.4vh;
|
|
47
47
|
/* aspect-ratio: 180 / 240; */
|
|
48
48
|
border: 1px solid #FFFFFF;
|
|
49
49
|
flex: none;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
width: 91.79%;
|
|
62
62
|
/* left: 4.1vh;
|
|
63
63
|
top: 56.75vh; */
|
|
64
|
-
margin:
|
|
64
|
+
margin: calc(56.75vh + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
65
65
|
z-index: 3;
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
font-family: 'Lora', serif;
|
|
71
71
|
font-style: normal;
|
|
72
72
|
font-weight: 500;
|
|
73
|
-
font-size:
|
|
73
|
+
font-size: 2.8vh;
|
|
74
74
|
/* line-height: 72px; */
|
|
75
75
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
76
76
|
-webkit-background-clip: text;
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
font-family: 'Lora', serif;
|
|
102
102
|
font-style: normal;
|
|
103
103
|
font-weight: 700;
|
|
104
|
-
font-size:
|
|
104
|
+
font-size: 10.37vh;
|
|
105
105
|
/* line-height: 115px; */
|
|
106
106
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
107
107
|
-webkit-background-clip: text;
|
|
@@ -138,9 +138,9 @@
|
|
|
138
138
|
width: 74.1%;
|
|
139
139
|
height: 0;
|
|
140
140
|
left: 25.9%;
|
|
141
|
-
top:
|
|
141
|
+
top: 79.86vh;
|
|
142
142
|
opacity: 0.4;
|
|
143
|
-
border:
|
|
143
|
+
border: 0.24vh solid #FFFFFF;
|
|
144
144
|
transform-origin: left;
|
|
145
145
|
z-index: 3;
|
|
146
146
|
}
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
position: absolute;
|
|
163
163
|
width: 91.79%;
|
|
164
164
|
left: 4.1%;
|
|
165
|
-
top:
|
|
165
|
+
top: 82.23vh;
|
|
166
166
|
z-index: 3;
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
font-family: 'Lora', serif;
|
|
179
179
|
font-style: normal;
|
|
180
180
|
font-weight: 700;
|
|
181
|
-
font-size:
|
|
181
|
+
font-size: 6.64vh;
|
|
182
182
|
/* line-height: 115px; */
|
|
183
183
|
text-align: right;
|
|
184
184
|
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
align-items: center;
|
|
37
37
|
justify-content: center;
|
|
38
|
-
gap:
|
|
38
|
+
gap: 2.84vh;
|
|
39
39
|
text-align: center;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
.slide3-revenue__title {
|
|
51
51
|
font-family: 'Lora', 'Georgia', serif;
|
|
52
|
-
font-size:
|
|
52
|
+
font-size: 2.84vh;
|
|
53
53
|
font-weight: 500;
|
|
54
54
|
letter-spacing: 0.04em;
|
|
55
55
|
margin: 0;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
.slide3-revenue__amount {
|
|
59
59
|
font-family: 'Lora', 'Georgia', serif;
|
|
60
|
-
font-size:
|
|
60
|
+
font-size: 7.58vh;
|
|
61
61
|
font-weight: 700;
|
|
62
62
|
line-height: 1;
|
|
63
63
|
margin: 0;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
.slide3-revenue__subline {
|
|
67
67
|
font-family: 'Lora', 'Georgia', serif;
|
|
68
|
-
font-size:
|
|
68
|
+
font-size: 1.9vh;
|
|
69
69
|
font-weight: 400;
|
|
70
70
|
margin: 0;
|
|
71
71
|
}
|