@katajere/recap 1.0.3 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.css +156 -156
- package/dist/FloatingFrames.css +55 -55
- package/dist/LoginScreen.css +146 -146
- package/dist/OtpScreen.css +133 -133
- package/dist/RecapStory.css +105 -105
- package/dist/StoryProgress.css +47 -47
- package/dist/assets/huxxle-blue-logo.svg +14 -14
- package/dist/assets/login-logo.svg +14 -14
- package/dist/assets/slide-logo.svg +14 -14
- package/dist/components/Header.css +46 -46
- package/dist/slides/Slide10Final.css +101 -101
- package/dist/slides/Slide1Intro.css +235 -235
- package/dist/slides/Slide2Days.css +209 -209
- package/dist/slides/Slide3Revenue.css +89 -89
- package/dist/slides/Slide4Orders.css +135 -135
- package/dist/slides/Slide5Buyers.css +140 -140
- package/dist/slides/Slide6Customer.css +92 -92
- package/dist/slides/Slide7Products.css +144 -144
- package/dist/slides/Slide8Months.css +148 -148
- package/dist/slides/Slide9Year.css +93 -93
- package/package.json +1 -1
- package/src/App.css +156 -156
- package/src/FloatingFrames.css +55 -55
- package/src/FloatingFrames.tsx +27 -27
- package/src/LoginScreen.css +146 -146
- package/src/LoginScreen.tsx +70 -70
- package/src/OtpScreen.css +133 -133
- package/src/OtpScreen.tsx +109 -109
- package/src/RecapApp.tsx +34 -34
- package/src/RecapStory.css +105 -105
- package/src/RecapStory.tsx +269 -269
- package/src/StoryProgress.css +47 -47
- package/src/StoryProgress.tsx +60 -60
- package/src/assets.d.ts +41 -41
- package/src/components/Header.css +46 -46
- package/src/components/Header.tsx +41 -41
- package/src/data/mock.ts +62 -62
- package/src/data/recapCopy.ts +33 -33
- package/src/hooks/useBackgroundMusic.ts +79 -79
- package/src/index.ts +70 -70
- package/src/react-app-env.d.ts +26 -26
- package/src/slides/Slide10Final.css +101 -101
- package/src/slides/Slide10Final.tsx +105 -105
- package/src/slides/Slide1Intro.css +235 -235
- package/src/slides/Slide1Intro.tsx +141 -141
- package/src/slides/Slide2Days.css +209 -209
- package/src/slides/Slide2Days.tsx +92 -92
- package/src/slides/Slide3Revenue.css +89 -89
- package/src/slides/Slide3Revenue.tsx +76 -76
- package/src/slides/Slide4Orders.css +135 -135
- package/src/slides/Slide4Orders.tsx +63 -63
- package/src/slides/Slide5Buyers.css +140 -140
- package/src/slides/Slide5Buyers.tsx +74 -74
- package/src/slides/Slide6Customer.css +92 -92
- package/src/slides/Slide6Customer.tsx +27 -27
- package/src/slides/Slide7Products.css +144 -144
- package/src/slides/Slide7Products.tsx +81 -81
- package/src/slides/Slide8Months.css +148 -148
- package/src/slides/Slide8Months.tsx +63 -63
- package/src/slides/Slide9Year.css +93 -93
- package/src/slides/Slide9Year.tsx +35 -35
- package/src/types.ts +39 -39
- package/src/utils/format.ts +18 -18
- package/src/utils/index.ts +3 -3
- package/src/utils/motion.ts +89 -89
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import { useEffect, useRef, useState } from 'react';
|
|
2
|
-
|
|
3
|
-
interface UseBackgroundMusicOptions {
|
|
4
|
-
src: string;
|
|
5
|
-
volume?: number;
|
|
6
|
-
autoPlay?: boolean;
|
|
7
|
-
loop?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* useBackgroundMusic - simple audio controller for a single background track.
|
|
12
|
-
* Handles autoplay attempt (may be blocked by browsers), mute toggle, and cleanup on unmount.
|
|
13
|
-
*/
|
|
14
|
-
export function useBackgroundMusic({ src, volume = 0.6, autoPlay = true, loop = false }: UseBackgroundMusicOptions) {
|
|
15
|
-
const audioRef = useRef<HTMLAudioElement | null>(null);
|
|
16
|
-
const [isPlaying, setIsPlaying] = useState(false);
|
|
17
|
-
const [isMuted, setIsMuted] = useState(false);
|
|
18
|
-
|
|
19
|
-
useEffect(() => {
|
|
20
|
-
const audio = new Audio(src);
|
|
21
|
-
audio.loop = loop;
|
|
22
|
-
audio.volume = volume;
|
|
23
|
-
audioRef.current = audio;
|
|
24
|
-
|
|
25
|
-
const handlePlay = () => setIsPlaying(true);
|
|
26
|
-
const handlePause = () => setIsPlaying(false);
|
|
27
|
-
const handleEnded = () => setIsPlaying(false);
|
|
28
|
-
|
|
29
|
-
audio.addEventListener('play', handlePlay);
|
|
30
|
-
audio.addEventListener('pause', handlePause);
|
|
31
|
-
audio.addEventListener('ended', handleEnded);
|
|
32
|
-
|
|
33
|
-
if (autoPlay) {
|
|
34
|
-
const playPromise = audio.play();
|
|
35
|
-
if (playPromise !== undefined) {
|
|
36
|
-
playPromise.catch(() => {
|
|
37
|
-
// Autoplay may be blocked; user interaction will be needed.
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return () => {
|
|
43
|
-
audio.removeEventListener('play', handlePlay);
|
|
44
|
-
audio.removeEventListener('pause', handlePause);
|
|
45
|
-
audio.removeEventListener('ended', handleEnded);
|
|
46
|
-
audio.pause();
|
|
47
|
-
audio.src = '';
|
|
48
|
-
audioRef.current = null;
|
|
49
|
-
};
|
|
50
|
-
}, [src, volume, autoPlay, loop]);
|
|
51
|
-
|
|
52
|
-
const play = () => {
|
|
53
|
-
const playPromise = audioRef.current?.play();
|
|
54
|
-
if (playPromise !== undefined) {
|
|
55
|
-
playPromise.catch(() => {
|
|
56
|
-
// Playback failed (likely blocked); caller may prompt user interaction.
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
const pause = () => audioRef.current?.pause();
|
|
62
|
-
|
|
63
|
-
const stop = () => {
|
|
64
|
-
if (audioRef.current) {
|
|
65
|
-
audioRef.current.pause();
|
|
66
|
-
audioRef.current.currentTime = 0;
|
|
67
|
-
setIsPlaying(false);
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
const toggleMute = () => {
|
|
72
|
-
if (!audioRef.current) return;
|
|
73
|
-
const nextMuted = !audioRef.current.muted;
|
|
74
|
-
audioRef.current.muted = nextMuted;
|
|
75
|
-
setIsMuted(nextMuted);
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
return { isPlaying, isMuted, play, pause, stop, toggleMute };
|
|
79
|
-
}
|
|
1
|
+
import { useEffect, useRef, useState } from 'react';
|
|
2
|
+
|
|
3
|
+
interface UseBackgroundMusicOptions {
|
|
4
|
+
src: string;
|
|
5
|
+
volume?: number;
|
|
6
|
+
autoPlay?: boolean;
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* useBackgroundMusic - simple audio controller for a single background track.
|
|
12
|
+
* Handles autoplay attempt (may be blocked by browsers), mute toggle, and cleanup on unmount.
|
|
13
|
+
*/
|
|
14
|
+
export function useBackgroundMusic({ src, volume = 0.6, autoPlay = true, loop = false }: UseBackgroundMusicOptions) {
|
|
15
|
+
const audioRef = useRef<HTMLAudioElement | null>(null);
|
|
16
|
+
const [isPlaying, setIsPlaying] = useState(false);
|
|
17
|
+
const [isMuted, setIsMuted] = useState(false);
|
|
18
|
+
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
const audio = new Audio(src);
|
|
21
|
+
audio.loop = loop;
|
|
22
|
+
audio.volume = volume;
|
|
23
|
+
audioRef.current = audio;
|
|
24
|
+
|
|
25
|
+
const handlePlay = () => setIsPlaying(true);
|
|
26
|
+
const handlePause = () => setIsPlaying(false);
|
|
27
|
+
const handleEnded = () => setIsPlaying(false);
|
|
28
|
+
|
|
29
|
+
audio.addEventListener('play', handlePlay);
|
|
30
|
+
audio.addEventListener('pause', handlePause);
|
|
31
|
+
audio.addEventListener('ended', handleEnded);
|
|
32
|
+
|
|
33
|
+
if (autoPlay) {
|
|
34
|
+
const playPromise = audio.play();
|
|
35
|
+
if (playPromise !== undefined) {
|
|
36
|
+
playPromise.catch(() => {
|
|
37
|
+
// Autoplay may be blocked; user interaction will be needed.
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return () => {
|
|
43
|
+
audio.removeEventListener('play', handlePlay);
|
|
44
|
+
audio.removeEventListener('pause', handlePause);
|
|
45
|
+
audio.removeEventListener('ended', handleEnded);
|
|
46
|
+
audio.pause();
|
|
47
|
+
audio.src = '';
|
|
48
|
+
audioRef.current = null;
|
|
49
|
+
};
|
|
50
|
+
}, [src, volume, autoPlay, loop]);
|
|
51
|
+
|
|
52
|
+
const play = () => {
|
|
53
|
+
const playPromise = audioRef.current?.play();
|
|
54
|
+
if (playPromise !== undefined) {
|
|
55
|
+
playPromise.catch(() => {
|
|
56
|
+
// Playback failed (likely blocked); caller may prompt user interaction.
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const pause = () => audioRef.current?.pause();
|
|
62
|
+
|
|
63
|
+
const stop = () => {
|
|
64
|
+
if (audioRef.current) {
|
|
65
|
+
audioRef.current.pause();
|
|
66
|
+
audioRef.current.currentTime = 0;
|
|
67
|
+
setIsPlaying(false);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const toggleMute = () => {
|
|
72
|
+
if (!audioRef.current) return;
|
|
73
|
+
const nextMuted = !audioRef.current.muted;
|
|
74
|
+
audioRef.current.muted = nextMuted;
|
|
75
|
+
setIsMuted(nextMuted);
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
return { isPlaying, isMuted, play, pause, stop, toggleMute };
|
|
79
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @katajere/recap - Vendor Year in Review Experience
|
|
3
|
-
* Public API exports for NPM package
|
|
4
|
-
*
|
|
5
|
-
* This file exports components and types for use in:
|
|
6
|
-
* - WebApp: Direct RecapStory integration (no auth)
|
|
7
|
-
* - Backend: Server-side rendering for video generation
|
|
8
|
-
* - Standalone: Full App with authentication
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
// ============================================================================
|
|
12
|
-
// HEADLESS COMPONENTS (No authentication) - Use in WebApp & Backend
|
|
13
|
-
// ============================================================================
|
|
14
|
-
|
|
15
|
-
export { default as RecapApp } from './RecapApp';
|
|
16
|
-
export { default as RecapStory } from './RecapStory';
|
|
17
|
-
export { default as StoryProgress } from './StoryProgress';
|
|
18
|
-
export { default as FloatingFrames } from './FloatingFrames';
|
|
19
|
-
export { default as Header } from './components/Header';
|
|
20
|
-
|
|
21
|
-
// ============================================================================
|
|
22
|
-
// INDIVIDUAL SLIDES - For custom layouts or granular control
|
|
23
|
-
// ============================================================================
|
|
24
|
-
|
|
25
|
-
export { default as Slide1Intro } from './slides/Slide1Intro';
|
|
26
|
-
export { default as Slide2Days } from './slides/Slide2Days';
|
|
27
|
-
export { default as Slide3Revenue } from './slides/Slide3Revenue';
|
|
28
|
-
export { default as Slide4Orders } from './slides/Slide4Orders';
|
|
29
|
-
export { default as Slide5Buyers } from './slides/Slide5Buyers';
|
|
30
|
-
export { default as Slide6Customer } from './slides/Slide6Customer';
|
|
31
|
-
export { default as Slide7Products } from './slides/Slide7Products';
|
|
32
|
-
export { default as Slide8Months } from './slides/Slide8Months';
|
|
33
|
-
export { default as Slide9Year } from './slides/Slide9Year';
|
|
34
|
-
export { default as Slide10Final } from './slides/Slide10Final';
|
|
35
|
-
|
|
36
|
-
// ============================================================================
|
|
37
|
-
// TYPES - TypeScript support for consumers
|
|
38
|
-
// ============================================================================
|
|
39
|
-
|
|
40
|
-
export type {
|
|
41
|
-
RecapData,
|
|
42
|
-
ProductSummary,
|
|
43
|
-
BusinessCategory,
|
|
44
|
-
AuthStep,
|
|
45
|
-
} from './types';
|
|
46
|
-
|
|
47
|
-
export {
|
|
48
|
-
BUSINESS_CATEGORIES,
|
|
49
|
-
AUTH_STEPS,
|
|
50
|
-
} from './types';
|
|
51
|
-
|
|
52
|
-
// ============================================================================
|
|
53
|
-
// UTILITIES - Helper functions
|
|
54
|
-
// ============================================================================
|
|
55
|
-
|
|
56
|
-
export {
|
|
57
|
-
formatCurrency,
|
|
58
|
-
formatNumber,
|
|
59
|
-
} from './utils/format';
|
|
60
|
-
|
|
61
|
-
export {
|
|
62
|
-
slideDurations,
|
|
63
|
-
mockRecapData,
|
|
64
|
-
} from './data/mock';
|
|
65
|
-
|
|
66
|
-
// ============================================================================
|
|
67
|
-
// VERSION - For compatibility checking
|
|
68
|
-
// ============================================================================
|
|
69
|
-
|
|
70
|
-
export const VERSION = '1.0.3';
|
|
1
|
+
/**
|
|
2
|
+
* @katajere/recap - Vendor Year in Review Experience
|
|
3
|
+
* Public API exports for NPM package
|
|
4
|
+
*
|
|
5
|
+
* This file exports components and types for use in:
|
|
6
|
+
* - WebApp: Direct RecapStory integration (no auth)
|
|
7
|
+
* - Backend: Server-side rendering for video generation
|
|
8
|
+
* - Standalone: Full App with authentication
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
// ============================================================================
|
|
12
|
+
// HEADLESS COMPONENTS (No authentication) - Use in WebApp & Backend
|
|
13
|
+
// ============================================================================
|
|
14
|
+
|
|
15
|
+
export { default as RecapApp } from './RecapApp';
|
|
16
|
+
export { default as RecapStory } from './RecapStory';
|
|
17
|
+
export { default as StoryProgress } from './StoryProgress';
|
|
18
|
+
export { default as FloatingFrames } from './FloatingFrames';
|
|
19
|
+
export { default as Header } from './components/Header';
|
|
20
|
+
|
|
21
|
+
// ============================================================================
|
|
22
|
+
// INDIVIDUAL SLIDES - For custom layouts or granular control
|
|
23
|
+
// ============================================================================
|
|
24
|
+
|
|
25
|
+
export { default as Slide1Intro } from './slides/Slide1Intro';
|
|
26
|
+
export { default as Slide2Days } from './slides/Slide2Days';
|
|
27
|
+
export { default as Slide3Revenue } from './slides/Slide3Revenue';
|
|
28
|
+
export { default as Slide4Orders } from './slides/Slide4Orders';
|
|
29
|
+
export { default as Slide5Buyers } from './slides/Slide5Buyers';
|
|
30
|
+
export { default as Slide6Customer } from './slides/Slide6Customer';
|
|
31
|
+
export { default as Slide7Products } from './slides/Slide7Products';
|
|
32
|
+
export { default as Slide8Months } from './slides/Slide8Months';
|
|
33
|
+
export { default as Slide9Year } from './slides/Slide9Year';
|
|
34
|
+
export { default as Slide10Final } from './slides/Slide10Final';
|
|
35
|
+
|
|
36
|
+
// ============================================================================
|
|
37
|
+
// TYPES - TypeScript support for consumers
|
|
38
|
+
// ============================================================================
|
|
39
|
+
|
|
40
|
+
export type {
|
|
41
|
+
RecapData,
|
|
42
|
+
ProductSummary,
|
|
43
|
+
BusinessCategory,
|
|
44
|
+
AuthStep,
|
|
45
|
+
} from './types';
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
BUSINESS_CATEGORIES,
|
|
49
|
+
AUTH_STEPS,
|
|
50
|
+
} from './types';
|
|
51
|
+
|
|
52
|
+
// ============================================================================
|
|
53
|
+
// UTILITIES - Helper functions
|
|
54
|
+
// ============================================================================
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
formatCurrency,
|
|
58
|
+
formatNumber,
|
|
59
|
+
} from './utils/format';
|
|
60
|
+
|
|
61
|
+
export {
|
|
62
|
+
slideDurations,
|
|
63
|
+
mockRecapData,
|
|
64
|
+
} from './data/mock';
|
|
65
|
+
|
|
66
|
+
// ============================================================================
|
|
67
|
+
// VERSION - For compatibility checking
|
|
68
|
+
// ============================================================================
|
|
69
|
+
|
|
70
|
+
export const VERSION = '1.0.3';
|
package/src/react-app-env.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/// <reference types="react-scripts" />
|
|
2
|
-
|
|
3
|
-
declare module '*.png' {
|
|
4
|
-
const value: string;
|
|
5
|
-
export default value;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
declare module '*.jpg' {
|
|
9
|
-
const value: string;
|
|
10
|
-
export default value;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare module '*.jpeg' {
|
|
14
|
-
const value: string;
|
|
15
|
-
export default value;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare module '*.svg' {
|
|
19
|
-
const value: string;
|
|
20
|
-
export default value;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
declare module '*.gif' {
|
|
24
|
-
const value: string;
|
|
25
|
-
export default value;
|
|
26
|
-
}
|
|
1
|
+
/// <reference types="react-scripts" />
|
|
2
|
+
|
|
3
|
+
declare module '*.png' {
|
|
4
|
+
const value: string;
|
|
5
|
+
export default value;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module '*.jpg' {
|
|
9
|
+
const value: string;
|
|
10
|
+
export default value;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare module '*.jpeg' {
|
|
14
|
+
const value: string;
|
|
15
|
+
export default value;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare module '*.svg' {
|
|
19
|
+
const value: string;
|
|
20
|
+
export default value;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare module '*.gif' {
|
|
24
|
+
const value: string;
|
|
25
|
+
export default value;
|
|
26
|
+
}
|
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
.slide10-final {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
color: #FCFCFC;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
gap: 3.79%;
|
|
11
|
-
padding-top: 41.65vh;
|
|
12
|
-
margin-bottom: 2.84vh;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@media (max-height: 720px), (orientation: landscape) {
|
|
16
|
-
.slide10-final {
|
|
17
|
-
gap: clamp(16px, 2vh, 32px);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.slide10-final__button-group {
|
|
21
|
-
margin-top: clamp(32px, 5vh, 80px);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.slide10-final__badge {
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
border: 0.5px solid #FCFCFC;
|
|
28
|
-
padding: 0.95% 4.1%;
|
|
29
|
-
font-family: 'Lora', serif;
|
|
30
|
-
font-size: clamp(10px, 3.08vw, 12px);
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
letter-spacing: 0.08em;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.slide10-final__title {
|
|
36
|
-
font-family: 'Lora', serif;
|
|
37
|
-
font-size: clamp(24px, 10.26vw, 40px);
|
|
38
|
-
font-weight: 700;
|
|
39
|
-
line-height: 1.28;
|
|
40
|
-
text-transform: capitalize;
|
|
41
|
-
text-align: center;
|
|
42
|
-
width: 92.31%;
|
|
43
|
-
max-width: 360px;
|
|
44
|
-
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
45
|
-
-webkit-background-clip: text;
|
|
46
|
-
-webkit-text-fill-color: transparent;
|
|
47
|
-
background-clip: text;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.slide10-final__button-group {
|
|
51
|
-
width: 91.79%;
|
|
52
|
-
max-width: 358px;
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
gap: 8px;
|
|
56
|
-
margin-top: 14.16vh;
|
|
57
|
-
padding-bottom: 2.84vh;
|
|
58
|
-
margin-bottom: 2.84vh;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.slide10-final__button {
|
|
62
|
-
border: 1px solid #FCFCFC;
|
|
63
|
-
background: transparent;
|
|
64
|
-
color: #FCFCFC;
|
|
65
|
-
font-family: 'Lora', serif;
|
|
66
|
-
font-weight: 600;
|
|
67
|
-
font-size: clamp(12px, 4.1vw, 16px);
|
|
68
|
-
padding: 1.42% 4.1%;
|
|
69
|
-
min-height: 40px;
|
|
70
|
-
display: flex;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
align-items: center;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* .slide10-final__button--replay {
|
|
77
|
-
width: 122px;
|
|
78
|
-
align-self: flex-start;
|
|
79
|
-
padding: 8px 16px;
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
} */
|
|
82
|
-
|
|
83
|
-
.slide10-final__fallback {
|
|
84
|
-
margin-top: 1.42%;
|
|
85
|
-
font-size: clamp(12px, 3.59vw, 14px);
|
|
86
|
-
color: #FFCC80;
|
|
87
|
-
text-align: center;
|
|
88
|
-
max-width: 82.05%;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.slide10-final__manual-link {
|
|
92
|
-
margin-top: 0.95%;
|
|
93
|
-
border: 1px dashed #FFCC80;
|
|
94
|
-
background: transparent;
|
|
95
|
-
color: #FFCC80;
|
|
96
|
-
font-weight: 600;
|
|
97
|
-
padding: 1.19% 4.1%;
|
|
98
|
-
min-height: 36px;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
font-size: clamp(12px, 3.59vw, 14px);
|
|
101
|
-
}
|
|
1
|
+
.slide10-final {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
color: #FCFCFC;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: 3.79%;
|
|
11
|
+
padding-top: 41.65vh;
|
|
12
|
+
margin-bottom: 2.84vh;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (max-height: 720px), (orientation: landscape) {
|
|
16
|
+
.slide10-final {
|
|
17
|
+
gap: clamp(16px, 2vh, 32px);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.slide10-final__button-group {
|
|
21
|
+
margin-top: clamp(32px, 5vh, 80px);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.slide10-final__badge {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
border: 0.5px solid #FCFCFC;
|
|
28
|
+
padding: 0.95% 4.1%;
|
|
29
|
+
font-family: 'Lora', serif;
|
|
30
|
+
font-size: clamp(10px, 3.08vw, 12px);
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
letter-spacing: 0.08em;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.slide10-final__title {
|
|
36
|
+
font-family: 'Lora', serif;
|
|
37
|
+
font-size: clamp(24px, 10.26vw, 40px);
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
line-height: 1.28;
|
|
40
|
+
text-transform: capitalize;
|
|
41
|
+
text-align: center;
|
|
42
|
+
width: 92.31%;
|
|
43
|
+
max-width: 360px;
|
|
44
|
+
background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
|
|
45
|
+
-webkit-background-clip: text;
|
|
46
|
+
-webkit-text-fill-color: transparent;
|
|
47
|
+
background-clip: text;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.slide10-final__button-group {
|
|
51
|
+
width: 91.79%;
|
|
52
|
+
max-width: 358px;
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
gap: 8px;
|
|
56
|
+
margin-top: 14.16vh;
|
|
57
|
+
padding-bottom: 2.84vh;
|
|
58
|
+
margin-bottom: 2.84vh;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.slide10-final__button {
|
|
62
|
+
border: 1px solid #FCFCFC;
|
|
63
|
+
background: transparent;
|
|
64
|
+
color: #FCFCFC;
|
|
65
|
+
font-family: 'Lora', serif;
|
|
66
|
+
font-weight: 600;
|
|
67
|
+
font-size: clamp(12px, 4.1vw, 16px);
|
|
68
|
+
padding: 1.42% 4.1%;
|
|
69
|
+
min-height: 40px;
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
align-items: center;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* .slide10-final__button--replay {
|
|
77
|
+
width: 122px;
|
|
78
|
+
align-self: flex-start;
|
|
79
|
+
padding: 8px 16px;
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
} */
|
|
82
|
+
|
|
83
|
+
.slide10-final__fallback {
|
|
84
|
+
margin-top: 1.42%;
|
|
85
|
+
font-size: clamp(12px, 3.59vw, 14px);
|
|
86
|
+
color: #FFCC80;
|
|
87
|
+
text-align: center;
|
|
88
|
+
max-width: 82.05%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.slide10-final__manual-link {
|
|
92
|
+
margin-top: 0.95%;
|
|
93
|
+
border: 1px dashed #FFCC80;
|
|
94
|
+
background: transparent;
|
|
95
|
+
color: #FFCC80;
|
|
96
|
+
font-weight: 600;
|
|
97
|
+
padding: 1.19% 4.1%;
|
|
98
|
+
min-height: 36px;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
font-size: clamp(12px, 3.59vw, 14px);
|
|
101
|
+
}
|