Skip to content

Commit dff8338

Browse files
committed
feat: Add cinematic text overlay to preloader video
- Add beautiful text overlay over preloader.mp4 video - Include gradient title 'STELLAR NEXUS EXPERIENCE' - Add subtitle 'Welcome to the future of Web3 Early Adopters Program' - Implement animated loading dots with staggered timing - Add atmospheric particle effects and gradient overlays - Ensure responsive design for all screen sizes - Create cinematic loading experience with fade-in animations
1 parent 0f68bf3 commit dff8338

3 files changed

Lines changed: 59 additions & 5 deletions

File tree

app/home/page.tsx

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,8 +1256,8 @@ export default function HomePageContent() {
12561256
{/* Video Preloader Screen */}
12571257
<VideoPreloaderScreen
12581258
isLoading={isLoading}
1259-
title="STELLAR NEXUS"
1260-
subtitle="Welcome to the future of Web3"
1259+
title="STELLAR NEXUS EXPERIENCE"
1260+
subtitle="Loading Nexus Experience..."
12611261
showText={true}
12621262
minDuration={5000}
12631263
/>
@@ -1294,6 +1294,58 @@ export default function HomePageContent() {
12941294
<source src={'/videos/preloader.mp4'} type='video/mp4' />
12951295
Your browser does not support the video tag.
12961296
</video>
1297+
1298+
{/* Text Overlay for Video */}
1299+
{videoLoaded && (
1300+
<div className="fixed inset-0 z-[100000] flex items-center justify-center pointer-events-none">
1301+
<div className="text-center px-4">
1302+
{/* Main Title */}
1303+
<h1 className="text-5xl md:text-7xl lg:text-8xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 via-blue-500 to-purple-600 mb-6 animate-fadeInUp drop-shadow-[0_0_30px_rgba(59,130,246,0.5)]">
1304+
STELLAR NEXUS EXPERIENCE
1305+
</h1>
1306+
1307+
{/* Subtitle */}
1308+
<p className="text-xl md:text-2xl lg:text-3xl text-white/90 mb-8 animate-fadeInUp drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)]" style={{ animationDelay: '0.4s' }}>
1309+
Welcome to the future of Web3 Early Adopters Program
1310+
</p>
1311+
1312+
{/* Loading Indicator */}
1313+
<div className="animate-fadeInUp" style={{ animationDelay: '0.6s' }}>
1314+
<div className="flex justify-center space-x-2">
1315+
{[0, 1, 2].map((i) => (
1316+
<div
1317+
key={i}
1318+
className="w-3 h-3 bg-gradient-to-r from-cyan-400 to-blue-500 rounded-full animate-pulse"
1319+
style={{
1320+
animationDelay: `${i * 0.2}s`,
1321+
animationDuration: '1s',
1322+
}}
1323+
/>
1324+
))}
1325+
</div>
1326+
</div>
1327+
</div>
1328+
1329+
{/* Gradient Overlay for better text readability */}
1330+
<div className="absolute inset-0 bg-gradient-to-b from-black/40 via-transparent to-black/60 pointer-events-none" />
1331+
1332+
{/* Animated Particles */}
1333+
<div className="absolute inset-0 overflow-hidden pointer-events-none">
1334+
{[...Array(20)].map((_, i) => (
1335+
<div
1336+
key={i}
1337+
className="absolute w-1 h-1 bg-white rounded-full animate-twinkle"
1338+
style={{
1339+
left: `${Math.random() * 100}%`,
1340+
top: `${Math.random() * 100}%`,
1341+
animationDelay: `${Math.random() * 3}s`,
1342+
animationDuration: `${2 + Math.random() * 3}s`,
1343+
}}
1344+
/>
1345+
))}
1346+
</div>
1347+
</div>
1348+
)}
12971349

12981350
{/* Hero Section - with fade-in animation */}
12991351
<section className={`container mx-auto px-4 py-16 ${!isVideoPlaying ? 'animate-fadeIn' : 'opacity-0'}`}>

components/ui/VideoPreloaderScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ interface VideoPreloaderScreenProps {
1414
export const VideoPreloaderScreen: React.FC<VideoPreloaderScreenProps> = ({
1515
isLoading,
1616
videoPath = '/videos/preloader.mp4',
17-
title = 'STELLAR NEXUS',
18-
subtitle = 'Welcome to the future of trustless work',
17+
title = 'STELLAR NEXUS EXPERIENCE',
18+
subtitle = 'Welcome to the future of Web3',
1919
showText = true,
2020
minDuration = 2000, // Show for at least 2 seconds
2121
}) => {

components/ui/quest/QuestAndReferralSection.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ export const QuestAndReferralSection: React.FC<QuestAndReferralSectionProps> = (
2323
<div className="text-center py-16">
2424
<div className="text-4xl mb-4">🔒</div>
2525
<h3 className="text-xl font-semibold text-white mb-2">Connect Your Wallet</h3>
26-
<p className="text-white/70">Connect your Stellar wallet to access quests and referrals</p>
26+
<p className="text-white/70">Connect your Stellar wallet to access quests and earn rewards</p>
27+
<br/>
28+
<div className="text-8xl mb-6">🎁</div>
2729
</div>
2830
);
2931
}

0 commit comments

Comments
 (0)