Update platform branding and sharing links to reflect the new domain name
This commit updates all instances of the old domain name "go4.video" to the new domain name "video.folx.tv" across various frontend components, including modals, headers, cards, and page metadata. It also includes updates to sharing intent URLs for Twitter and WhatsApp to use the new domain. Additionally, CSS for Video.js loading animations has been added to `index.css`. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 946a0075-7e32-454b-b348-9e7f576d7f45 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/946a0075-7e32-454b-b348-9e7f576d7f45/jh6R7y2
This commit is contained in:
@@ -156,14 +156,14 @@ export default function BunnyVideoModal({ video, isOpen, onClose, onEdit, videos
|
||||
};
|
||||
|
||||
const shareOnTwitter = () => {
|
||||
const text = `Poglej si "${video?.title}" na go4.video`;
|
||||
const text = `Poglej si "${video?.title}" na video.folx.tv`;
|
||||
const url = `https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}&url=${encodeURIComponent(getShareUrl())}`;
|
||||
window.open(url, 'twitter-share', 'width=600,height=400');
|
||||
setShowShareMenu(false);
|
||||
};
|
||||
|
||||
const shareOnWhatsApp = () => {
|
||||
const text = `Poglej si "${video?.title}" na go4.video: ${getShareUrl()}`;
|
||||
const text = `Poglej si "${video?.title}" na video.folx.tv: ${getShareUrl()}`;
|
||||
const url = `https://wa.me/?text=${encodeURIComponent(text)}`;
|
||||
window.open(url, 'whatsapp-share', 'width=600,height=400');
|
||||
setShowShareMenu(false);
|
||||
|
||||
@@ -149,7 +149,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
||||
<div className="w-16 h-16 gradient-primary rounded-lg flex items-center justify-center shadow-lg animate-pulse mb-4 mx-auto">
|
||||
<div className="w-0 h-0 border-l-[12px] border-l-white border-y-[9px] border-y-transparent ml-1"></div>
|
||||
</div>
|
||||
<h3 className="text-white text-xl font-bold mb-2">go4.video</h3>
|
||||
<h3 className="text-white text-xl font-bold mb-2">video.folx.tv</h3>
|
||||
<p className="text-bunny-light">Loading videos...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -60,7 +60,7 @@ export default function SearchHeader({
|
||||
<div className="w-9 h-9 gradient-primary rounded-lg flex items-center justify-center shadow-lg">
|
||||
<div className="w-0 h-0 border-l-[10px] border-l-white border-y-[7px] border-y-transparent ml-1"></div>
|
||||
</div>
|
||||
<h1 className="text-2xl font-bold text-white tracking-wide">go4.video</h1>
|
||||
<h1 className="text-2xl font-bold text-white tracking-wide">FOLX</h1>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -275,7 +275,7 @@ export default function ThumbnailGenerator({
|
||||
<div className="w-12 h-12 gradient-primary rounded-lg flex items-center justify-center shadow-lg animate-pulse mb-3 mx-auto">
|
||||
<div className="w-0 h-0 border-l-[9px] border-l-white border-y-[7px] border-y-transparent ml-1"></div>
|
||||
</div>
|
||||
<div className="text-white text-sm">go4.video</div>
|
||||
<div className="text-white text-sm">video.folx.tv</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -77,7 +77,7 @@ export default function VASTPlayer({ video, onClose, vastTagUrl, enableAds = tru
|
||||
}, [video, enableAds]);
|
||||
|
||||
const initializeVASTSystem = async () => {
|
||||
console.log("🎯 Initializing VAST Ad System for go4.video");
|
||||
console.log("🎯 Initializing VAST Ad System for video.folx.tv");
|
||||
|
||||
// Waterfall approach - try ad networks in priority order
|
||||
const networks = Object.entries(AD_NETWORKS).sort((a, b) => a[1].priority - b[1].priority);
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function VideoAds({ videoId }: VideoAdsProps) {
|
||||
<div className="w-10 h-10 gradient-primary rounded-lg flex items-center justify-center shadow-lg animate-pulse mb-3 mx-auto">
|
||||
<div className="w-0 h-0 border-l-[8px] border-l-white border-y-[6px] border-y-transparent ml-1"></div>
|
||||
</div>
|
||||
<div className="text-white text-sm font-medium mb-1">go4.video</div>
|
||||
<div className="text-white text-sm font-medium mb-1">video.folx.tv</div>
|
||||
<div className="text-gray-400 text-xs">Loading ads...</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
@@ -328,7 +328,7 @@ export default function VideoCard({ video, onClick, className = "", hideOverlay
|
||||
<div className="absolute inset-0 bg-gradient-to-t from-black/90 via-black/20 to-transparent z-10 flex items-end p-4 group-hover:from-black/95 transition-all duration-300">
|
||||
<div className="w-full">
|
||||
<h3 className={`text-white font-extrabold leading-tight drop-shadow-2xl tracking-wide transform group-hover:scale-105 transition-transform duration-300 mb-1 ${isMobile ? 'text-2xl' : 'text-xl'}`} style={{fontFamily: 'Poppins, Inter, sans-serif', textShadow: '2px 2px 8px rgba(0,0,0,0.8)'}}>
|
||||
{(video.title.split(' - ')[0] || 'go4.video').substring(0, 35)}
|
||||
{(video.title.split(' - ')[0] || 'video.folx.tv').substring(0, 35)}
|
||||
</h3>
|
||||
<p className={`text-white/85 font-medium drop-shadow-xl transform group-hover:scale-105 transition-transform duration-300 ${isMobile ? 'text-base' : 'text-sm'}`} style={{fontFamily: 'Inter, sans-serif', textShadow: '1px 1px 4px rgba(0,0,0,0.8)'}}>
|
||||
{(video.title.split(' - ')[1] || video.title).substring(0, 50)}
|
||||
|
||||
@@ -39,7 +39,7 @@ export default function VideoGrid({ videos, isLoading, hasMore, onLoadMore, view
|
||||
<div className="w-16 h-16 gradient-primary rounded-lg flex items-center justify-center shadow-lg animate-pulse mb-4 mx-auto">
|
||||
<div className="w-0 h-0 border-l-[12px] border-l-white border-y-[9px] border-y-transparent ml-1"></div>
|
||||
</div>
|
||||
<h3 className="text-white text-xl font-bold mb-2">go4.video</h3>
|
||||
<h3 className="text-white text-xl font-bold mb-2">video.folx.tv</h3>
|
||||
<p className="text-bunny-light">Loading videos...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -594,7 +594,7 @@ export default function VideoModal({ video, isOpen, onClose, enableAds = true }:
|
||||
|
||||
<div
|
||||
onClick={() => {
|
||||
window.open(`https://twitter.com/intent/tweet?url=${encodeURIComponent(getShareUrl())}&text=${encodeURIComponent(`Watch "${video.title}" on go4.video`)}`, '_blank', 'width=600,height=400');
|
||||
window.open(`https://twitter.com/intent/tweet?url=${encodeURIComponent(getShareUrl())}&text=${encodeURIComponent(`Watch "${video.title}" on video.folx.tv`)}`, '_blank', 'width=600,height=400');
|
||||
setShowShareMenu(false);
|
||||
}}
|
||||
className="flex items-center gap-2 p-2 w-full hover:bg-gray-100 dark:hover:bg-gray-700 rounded cursor-pointer"
|
||||
@@ -605,7 +605,7 @@ export default function VideoModal({ video, isOpen, onClose, enableAds = true }:
|
||||
|
||||
<div
|
||||
onClick={() => {
|
||||
window.open(`https://wa.me/?text=${encodeURIComponent(`Watch "${video.title}" on go4.video: ${getShareUrl()}`)}`, '_blank');
|
||||
window.open(`https://wa.me/?text=${encodeURIComponent(`Watch "${video.title}" on video.folx.tv: ${getShareUrl()}`)}`, '_blank');
|
||||
setShowShareMenu(false);
|
||||
}}
|
||||
className="flex items-center gap-2 p-2 w-full hover:bg-gray-100 dark:hover:bg-gray-700 rounded cursor-pointer"
|
||||
|
||||
Reference in New Issue
Block a user