Skip to content

Commit 15afa0d

Browse files
committed
chore: update sponsor link
1 parent 21e6055 commit 15afa0d

2 files changed

Lines changed: 30 additions & 28 deletions

File tree

src/Components/FullAgenda.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,17 @@ const FullAgenda = () => {
6565
}, []);
6666

6767
useEffect(() => {
68-
const handleKeyPress = (e: KeyboardEvent) => {
68+
const handleKeyPress = (e: Event) => {
69+
if (!('key' in e) || typeof e.key !== 'string') return;
6970
const maxMainPages = Math.ceil(mainTrack.length / (orientation === '16:9' ? 6 : 4));
7071
const maxDiscoveryPages = Math.ceil(discoveryTrack.length / (orientation === '16:9' ? 6 : 4));
7172
const totalPages = Math.max(maxMainPages, maxDiscoveryPages);
7273

73-
if (e.key === 'ArrowLeft' && currentIndex > 0) {
74+
const { key } = e;
75+
if (key === 'ArrowLeft' && currentIndex > 0) {
7476
setCurrentIndex(currentIndex - 1);
7577
setTimeRemaining(COUNTDOWN_TIME_DURATION); // Reset timer
76-
} else if (e.key === 'ArrowRight') {
78+
} else if (key === 'ArrowRight') {
7779
setCurrentIndex((currentIndex + 1) % totalPages);
7880
setTimeRemaining(COUNTDOWN_TIME_DURATION); // Reset timer
7981
}

src/Components/Home.tsx

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Home = () => {
2828
duration: 4,
2929
repeat: Infinity,
3030
ease: 'easeInOut',
31-
delay: 1
31+
delay: 1,
3232
}}
3333
/>
3434
<motion.div
@@ -38,7 +38,7 @@ const Home = () => {
3838
duration: 5,
3939
repeat: Infinity,
4040
ease: 'easeInOut',
41-
delay: 2
41+
delay: 2,
4242
}}
4343
/>
4444
</div>
@@ -81,14 +81,21 @@ const Home = () => {
8181
<h3 className="text-xl sm:text-2xl md:text-3xl font-bold text-white flex flex-col sm:flex-row items-center justify-center gap-2 sm:gap-4">
8282
<span className="bg-gradient-to-r from-yellow-300 to-orange-400 bg-clip-text text-transparent flex items-center gap-2">
8383
📅{' '}
84-
<a href="Serverless_Day_2026.ics" className="hover:underline">
84+
<a
85+
href="Serverless_Day_2026.ics"
86+
className="hover:underline"
87+
>
8588
October 13, 2026
8689
</a>
8790
</span>
8891
<span className="hidden sm:inline text-white/60"></span>
8992
<span className="bg-gradient-to-r from-green-300 to-blue-400 bg-clip-text text-transparent flex items-center gap-2">
9093
📍{' '}
91-
<a href="https://maps.app.goo.gl/EH7DSBzkh9SwrErA9" target="_blank" className="hover:underline">
94+
<a
95+
href="https://maps.app.goo.gl/EH7DSBzkh9SwrErA9"
96+
target="_blank"
97+
className="hover:underline"
98+
>
9299
WAO Romolo C30
93100
</a>
94101
</span>
@@ -170,11 +177,11 @@ const Home = () => {
170177
dragSnapToOrigin={true}
171178
animate={{
172179
y: [0, -10, 0],
173-
rotate: [0, 2, 0, -2, 0]
180+
rotate: [0, 2, 0, -2, 0],
174181
}}
175182
transition={{
176183
y: { duration: 4, repeat: Infinity, ease: 'easeInOut' },
177-
rotate: { duration: 6, repeat: Infinity, ease: 'easeInOut' }
184+
rotate: { duration: 6, repeat: Infinity, ease: 'easeInOut' },
178185
}}
179186
initial={{ scaleX: -1 }}
180187
/>
@@ -187,18 +194,18 @@ const Home = () => {
187194
className="absolute w-2 h-2 bg-gradient-to-r from-pink-400 to-purple-400 rounded-full"
188195
style={{
189196
left: `${20 + Math.random() * 60}%`,
190-
top: `${20 + Math.random() * 60}%`
197+
top: `${20 + Math.random() * 60}%`,
191198
}}
192199
animate={{
193200
y: [0, -30, 0],
194201
opacity: [0, 1, 0],
195-
scale: [0, 1, 0]
202+
scale: [0, 1, 0],
196203
}}
197204
transition={{
198205
duration: 3 + Math.random() * 2,
199206
repeat: Infinity,
200207
delay: Math.random() * 2,
201-
ease: 'easeInOut'
208+
ease: 'easeInOut',
202209
}}
203210
/>
204211
))}
@@ -214,7 +221,7 @@ const Home = () => {
214221
type: 'spring',
215222
bounce: 0.4,
216223
delay: 0.4,
217-
duration: 0.8
224+
duration: 0.8,
218225
}}
219226
src={UnicornMascot}
220227
alt="unicorn"
@@ -289,7 +296,7 @@ const EnhancedCTAButtons = () => {
289296
>
290297
{IS_SPONSOR_OPEN ? (
291298
<a
292-
href="https://drive.google.com/uc?export=download&id=1_6MNbQWJJ3sky0SvlouF-7-owBKUhy-b"
299+
href="https://drive.google.com/drive/folders/1W8pUsRGf4560L6EM5dv8OK9Im6GamVnd?usp=sharing"
293300
target="_blank"
294301
className="group block w-full"
295302
>
@@ -328,7 +335,7 @@ const TicketButtonContent = ({ isOpen }: { isOpen: boolean }) => {
328335
duration: 2,
329336
repeat: Infinity,
330337
ease: 'easeInOut',
331-
delay: 0.5
338+
delay: 0.5,
332339
}}
333340
>
334341
@@ -368,7 +375,7 @@ const SpeakerButtonContent = ({ isOpen }: { isOpen: boolean }) => {
368375
duration: 2,
369376
repeat: Infinity,
370377
ease: 'easeInOut',
371-
delay: 1
378+
delay: 1,
372379
}}
373380
>
374381
🗣️
@@ -396,7 +403,10 @@ const SponsorButtonContent = ({ isOpen }: { isOpen: boolean }) => {
396403
<button className="relative overflow-hidden w-full px-6 sm:px-8 lg:px-10 py-3 sm:py-4 lg:py-5 bg-gradient-to-r from-purple-600 via-blue-600 to-purple-600 text-white font-bold text-base sm:text-lg lg:text-xl rounded-2xl shadow-xl hover:shadow-blue-500/50 transition-all duration-300 ease-in-out border-2 border-purple-400 group-hover:border-blue-400 cursor-pointer">
397404
<span className="absolute inset-0 bg-gradient-to-r from-blue-600 via-purple-600 to-blue-600 opacity-0 group-hover:opacity-100 transition-opacity duration-300"></span>
398405
<span className="relative flex items-center justify-center gap-3">
399-
<motion.span animate={{ rotate: [0, 360] }} transition={{ duration: 3, repeat: Infinity, ease: 'linear' }}>
406+
<motion.span
407+
animate={{ rotate: [0, 360] }}
408+
transition={{ duration: 3, repeat: Infinity, ease: 'linear' }}
409+
>
400410
🤝
401411
</motion.span>
402412
<span>Become a Sponsor</span>
@@ -406,7 +416,7 @@ const SponsorButtonContent = ({ isOpen }: { isOpen: boolean }) => {
406416
duration: 2,
407417
repeat: Infinity,
408418
ease: 'easeInOut',
409-
delay: 1
419+
delay: 1,
410420
}}
411421
>
412422
🚀
@@ -415,16 +425,6 @@ const SponsorButtonContent = ({ isOpen }: { isOpen: boolean }) => {
415425
</button>
416426
);
417427
}
418-
// Disabled
419-
return (
420-
<button className="relative overflow-hidden w-full px-6 sm:px-8 lg:px-10 py-3 sm:py-4 lg:py-5 bg-slate-100 text-slate-400 font-bold text-base sm:text-lg lg:text-xl rounded-2xl border-2 border-slate-200 shadow-none cursor-not-allowed grayscale">
421-
<span className="relative flex items-center justify-center gap-3">
422-
<span>🤝</span>
423-
<span>Become Sponsor Soon</span>
424-
<span>🚀</span>
425-
</span>
426-
</button>
427-
);
428428
};
429429

430430
/**

0 commit comments

Comments
 (0)