@deckio/deck-engine 1.7.6 → 1.7.8

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.
@@ -1,31 +1,31 @@
1
- import Slide from '../components/Slide.jsx'
2
- import BottomBar from '../components/BottomBar.jsx'
3
-
4
- export default function GenericThankYouSlide({ index = 10, subtitle, tagline, footerText }) {
5
- return (
6
- <Slide index={index} className="deck-ty">
7
- <div className="accent-bar" />
8
-
9
- <div className="deck-ty-glow deck-ty-glow1" />
10
- <div className="deck-ty-glow deck-ty-glow2" />
11
- <div className="deck-ty-glow deck-ty-glow3" />
12
-
13
- {[1, 2, 3, 4, 5, 6, 7, 8].map(i => (
14
- <div key={i} className={`deck-ty-streak deck-ty-streak${i}`} />
15
- ))}
16
-
17
- <div className="content-frame content-gutter">
18
- <div className="deck-ty-content">
19
- <h2 className="deck-ty-title">Thank You</h2>
20
- <p className="deck-ty-subtitle">
21
- {subtitle || <>Let&rsquo;s build something great &mdash; together.</>}
22
- </p>
23
- <div className="deck-ty-divider" />
24
- {tagline && <p className="deck-ty-tagline">{tagline}</p>}
25
- </div>
26
- </div>
27
-
28
- <BottomBar text={footerText} />
29
- </Slide>
30
- )
31
- }
1
+ import Slide from '../components/Slide.jsx'
2
+ import BottomBar from '../components/BottomBar.jsx'
3
+
4
+ export default function GenericThankYouSlide({ index = 10, subtitle, tagline, footerText }) {
5
+ return (
6
+ <Slide index={index} className="deck-ty">
7
+ <div className="accent-bar" />
8
+
9
+ <div className="deck-ty-glow deck-ty-glow1" />
10
+ <div className="deck-ty-glow deck-ty-glow2" />
11
+ <div className="deck-ty-glow deck-ty-glow3" />
12
+
13
+ {[1, 2, 3, 4, 5, 6, 7, 8].map(i => (
14
+ <div key={i} className={`deck-ty-streak deck-ty-streak${i}`} />
15
+ ))}
16
+
17
+ <div className="content-frame content-gutter">
18
+ <div className="deck-ty-content">
19
+ <h2 className="deck-ty-title">Thank You</h2>
20
+ <p className="deck-ty-subtitle">
21
+ {subtitle || <>Let&rsquo;s build something great &mdash; together.</>}
22
+ </p>
23
+ <div className="deck-ty-divider" />
24
+ {tagline && <p className="deck-ty-tagline">{tagline}</p>}
25
+ </div>
26
+ </div>
27
+
28
+ <BottomBar text={footerText} />
29
+ </Slide>
30
+ )
31
+ }
@@ -1,131 +1,131 @@
1
- .thankYou {
2
- background: var(--bg-deep);
3
- flex-direction: column;
4
- align-items: stretch;
5
- justify-content: center;
6
- overflow: hidden;
7
- position: relative;
8
- }
9
-
10
- /* ── Ambient glow orbs ── */
11
- .glow {
12
- position: absolute;
13
- border-radius: 50%;
14
- filter: blur(80px);
15
- pointer-events: none;
16
- animation: tyPulse 6s ease-in-out infinite;
17
- }
18
- .glow1 { width: 300px; height: 300px; background: rgba(88,166,255,0.10); top: -80px; left: -60px; }
19
- .glow2 { width: 250px; height: 250px; background: rgba(188,140,255,0.10); bottom: -40px; right: -40px; animation-delay: -2s; }
20
- .glow3 { width: 200px; height: 200px; background: rgba(86,212,221,0.08); top: 50%; left: 60%; transform: translate(-50%,-50%); animation-delay: -4s; }
21
-
22
- @keyframes tyPulse {
23
- 0%, 100% { transform: scale(1); opacity: 0.7; }
24
- 50% { transform: scale(1.15); opacity: 1; }
25
- }
26
-
27
- /* ── Speed streaks ── */
28
- .streak {
29
- position: absolute;
30
- height: 1px;
31
- border-radius: 1px;
32
- opacity: 0;
33
- animation: streakMove 4s ease-in-out infinite;
34
- }
35
- .streak1 { width: 120px; top: 15%; left: -120px; background: linear-gradient(90deg, transparent, var(--accent)); animation-delay: 0s; }
36
- .streak2 { width: 80px; top: 30%; left: -80px; background: linear-gradient(90deg, transparent, var(--purple)); animation-delay: 0.6s; }
37
- .streak3 { width: 100px; top: 45%; left: -100px; background: linear-gradient(90deg, transparent, var(--cyan)); animation-delay: 1.2s; }
38
- .streak4 { width: 60px; top: 60%; left: -60px; background: linear-gradient(90deg, transparent, var(--green)); animation-delay: 1.8s; }
39
- .streak5 { width: 90px; top: 75%; left: -90px; background: linear-gradient(90deg, transparent, var(--pink)); animation-delay: 2.4s; }
40
- .streak6 { width: 70px; top: 20%; right: -70px; background: linear-gradient(270deg, transparent, var(--accent)); animation-delay: 0.3s; }
41
- .streak7 { width: 110px; top: 50%; right: -110px; background: linear-gradient(270deg, transparent, var(--purple)); animation-delay: 1.5s; }
42
- .streak8 { width: 85px; top: 80%; right: -85px; background: linear-gradient(270deg, transparent, var(--cyan)); animation-delay: 2.1s; }
43
-
44
- @keyframes streakMove {
45
- 0% { transform: translateX(0); opacity: 0; }
46
- 10% { opacity: 0.6; }
47
- 50% { opacity: 0.3; }
48
- 100% { transform: translateX(calc(100vw + 200px)); opacity: 0; }
49
- }
50
-
51
- /* ── Logos ── */
52
- .logos {
53
- display: flex;
54
- align-items: center;
55
- justify-content: flex-start;
56
- gap: 24px;
57
- margin-bottom: 40px;
58
- position: relative;
59
- z-index: 2;
60
- }
61
- .logoGithub {
62
- width: 80px; height: 80px;
63
- background: rgba(255,255,255,0.05);
64
- border: 1px solid rgba(255,255,255,0.1);
65
- border-radius: 20px;
66
- display: flex;
67
- align-items: center;
68
- justify-content: center;
69
- backdrop-filter: blur(10px);
70
- }
71
- .plus {
72
- font-size: 28px;
73
- color: var(--text-muted);
74
- font-weight: 300;
75
- }
76
- .logoMs {
77
- width: 80px; height: 80px;
78
- background: rgba(255,255,255,0.05);
79
- border: 1px solid rgba(255,255,255,0.1);
80
- border-radius: 20px;
81
- display: flex;
82
- align-items: center;
83
- justify-content: center;
84
- backdrop-filter: blur(10px);
85
- }
86
-
87
- /* ── Content ── */
88
- .content {
89
- text-align: left;
90
- position: relative;
91
- z-index: 2;
92
- }
93
- .title {
94
- font-size: clamp(40px, 6vw, 64px);
95
- font-weight: 800;
96
- letter-spacing: -2px;
97
- background: linear-gradient(135deg, var(--accent), var(--purple), var(--cyan), var(--accent));
98
- background-size: 300% 300%;
99
- -webkit-background-clip: text;
100
- -webkit-text-fill-color: transparent;
101
- background-clip: text;
102
- animation: gradShift 6s ease infinite;
103
- margin-bottom: 16px;
104
- }
105
-
106
- @keyframes gradShift {
107
- 0% { background-position: 0% 50%; }
108
- 50% { background-position: 100% 50%; }
109
- 100% { background-position: 0% 50%; }
110
- }
111
-
112
- .subtitle {
113
- font-size: 20px;
114
- font-weight: 400;
115
- color: var(--text-muted);
116
- letter-spacing: 0.5px;
117
- }
118
- .divider {
119
- width: 60px;
120
- height: 2px;
121
- background: linear-gradient(90deg, var(--accent), var(--purple));
122
- margin: 24px auto;
123
- border-radius: 1px;
124
- }
125
- .tagline {
126
- font-size: 13px;
127
- text-transform: uppercase;
128
- letter-spacing: 3px;
129
- color: var(--text-muted);
130
- opacity: 0.5;
131
- }
1
+ .thankYou {
2
+ background: var(--bg-deep);
3
+ flex-direction: column;
4
+ align-items: stretch;
5
+ justify-content: center;
6
+ overflow: hidden;
7
+ position: relative;
8
+ }
9
+
10
+ /* ── Ambient glow orbs ── */
11
+ .glow {
12
+ position: absolute;
13
+ border-radius: 50%;
14
+ filter: blur(80px);
15
+ pointer-events: none;
16
+ animation: tyPulse 6s ease-in-out infinite;
17
+ }
18
+ .glow1 { width: 300px; height: 300px; background: rgba(88,166,255,0.10); top: -80px; left: -60px; }
19
+ .glow2 { width: 250px; height: 250px; background: rgba(188,140,255,0.10); bottom: -40px; right: -40px; animation-delay: -2s; }
20
+ .glow3 { width: 200px; height: 200px; background: rgba(86,212,221,0.08); top: 50%; left: 60%; transform: translate(-50%,-50%); animation-delay: -4s; }
21
+
22
+ @keyframes tyPulse {
23
+ 0%, 100% { transform: scale(1); opacity: 0.7; }
24
+ 50% { transform: scale(1.15); opacity: 1; }
25
+ }
26
+
27
+ /* ── Speed streaks ── */
28
+ .streak {
29
+ position: absolute;
30
+ height: 1px;
31
+ border-radius: 1px;
32
+ opacity: 0;
33
+ animation: streakMove 4s ease-in-out infinite;
34
+ }
35
+ .streak1 { width: 120px; top: 15%; left: -120px; background: linear-gradient(90deg, transparent, var(--accent)); animation-delay: 0s; }
36
+ .streak2 { width: 80px; top: 30%; left: -80px; background: linear-gradient(90deg, transparent, var(--purple)); animation-delay: 0.6s; }
37
+ .streak3 { width: 100px; top: 45%; left: -100px; background: linear-gradient(90deg, transparent, var(--cyan)); animation-delay: 1.2s; }
38
+ .streak4 { width: 60px; top: 60%; left: -60px; background: linear-gradient(90deg, transparent, var(--green)); animation-delay: 1.8s; }
39
+ .streak5 { width: 90px; top: 75%; left: -90px; background: linear-gradient(90deg, transparent, var(--pink)); animation-delay: 2.4s; }
40
+ .streak6 { width: 70px; top: 20%; right: -70px; background: linear-gradient(270deg, transparent, var(--accent)); animation-delay: 0.3s; }
41
+ .streak7 { width: 110px; top: 50%; right: -110px; background: linear-gradient(270deg, transparent, var(--purple)); animation-delay: 1.5s; }
42
+ .streak8 { width: 85px; top: 80%; right: -85px; background: linear-gradient(270deg, transparent, var(--cyan)); animation-delay: 2.1s; }
43
+
44
+ @keyframes streakMove {
45
+ 0% { transform: translateX(0); opacity: 0; }
46
+ 10% { opacity: 0.6; }
47
+ 50% { opacity: 0.3; }
48
+ 100% { transform: translateX(calc(100vw + 200px)); opacity: 0; }
49
+ }
50
+
51
+ /* ── Logos ── */
52
+ .logos {
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: flex-start;
56
+ gap: 24px;
57
+ margin-bottom: 40px;
58
+ position: relative;
59
+ z-index: 2;
60
+ }
61
+ .logoGithub {
62
+ width: 80px; height: 80px;
63
+ background: rgba(255,255,255,0.05);
64
+ border: 1px solid rgba(255,255,255,0.1);
65
+ border-radius: 20px;
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: center;
69
+ backdrop-filter: blur(10px);
70
+ }
71
+ .plus {
72
+ font-size: 28px;
73
+ color: var(--text-muted);
74
+ font-weight: 300;
75
+ }
76
+ .logoMs {
77
+ width: 80px; height: 80px;
78
+ background: rgba(255,255,255,0.05);
79
+ border: 1px solid rgba(255,255,255,0.1);
80
+ border-radius: 20px;
81
+ display: flex;
82
+ align-items: center;
83
+ justify-content: center;
84
+ backdrop-filter: blur(10px);
85
+ }
86
+
87
+ /* ── Content ── */
88
+ .content {
89
+ text-align: left;
90
+ position: relative;
91
+ z-index: 2;
92
+ }
93
+ .title {
94
+ font-size: clamp(40px, 6vw, 64px);
95
+ font-weight: 800;
96
+ letter-spacing: -2px;
97
+ background: linear-gradient(135deg, var(--accent), var(--purple), var(--cyan), var(--accent));
98
+ background-size: 300% 300%;
99
+ -webkit-background-clip: text;
100
+ -webkit-text-fill-color: transparent;
101
+ background-clip: text;
102
+ animation: gradShift 6s ease infinite;
103
+ margin-bottom: 16px;
104
+ }
105
+
106
+ @keyframes gradShift {
107
+ 0% { background-position: 0% 50%; }
108
+ 50% { background-position: 100% 50%; }
109
+ 100% { background-position: 0% 50%; }
110
+ }
111
+
112
+ .subtitle {
113
+ font-size: 20px;
114
+ font-weight: 400;
115
+ color: var(--text-muted);
116
+ letter-spacing: 0.5px;
117
+ }
118
+ .divider {
119
+ width: 60px;
120
+ height: 2px;
121
+ background: linear-gradient(90deg, var(--accent), var(--purple));
122
+ margin: 24px auto;
123
+ border-radius: 1px;
124
+ }
125
+ .tagline {
126
+ font-size: 13px;
127
+ text-transform: uppercase;
128
+ letter-spacing: 3px;
129
+ color: var(--text-muted);
130
+ opacity: 0.5;
131
+ }