Restored to '8b2eb2a6aafb181bb1f91b8959d05ff22e192916'
Replit-Restored-To: 8b2eb2a6aa
This commit is contained in:
parent
311e865651
commit
24f6333ddf
@ -24,7 +24,7 @@ const formatDuration = (seconds: number): string => {
|
||||
|
||||
const formatDate = (date: Date | string): string => {
|
||||
const d = typeof date === 'string' ? new Date(date) : date;
|
||||
return d.toLocaleDateString('de-DE', {
|
||||
return d.toLocaleDateString('en-US', {
|
||||
year: 'numeric',
|
||||
month: 'long',
|
||||
day: 'numeric'
|
||||
@ -171,7 +171,7 @@ export default function VideoPage() {
|
||||
try {
|
||||
await navigator.clipboard.writeText(getShareUrl());
|
||||
const notification = document.createElement('div');
|
||||
notification.textContent = 'Link kopiert!';
|
||||
notification.textContent = 'Link copied!';
|
||||
notification.className = 'fixed top-4 right-4 bg-green-500 text-white px-4 py-2 rounded-lg z-50 transition-opacity duration-300';
|
||||
document.body.appendChild(notification);
|
||||
setTimeout(() => {
|
||||
@ -187,7 +187,7 @@ export default function VideoPage() {
|
||||
if (videoLoading) {
|
||||
return (
|
||||
<div className="min-h-screen bg-bunny-dark flex items-center justify-center">
|
||||
<div className="text-white">Video wird geladen...</div>
|
||||
<div className="text-white">Nalagam video...</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@ -195,7 +195,7 @@ export default function VideoPage() {
|
||||
if (!currentVideo) {
|
||||
return (
|
||||
<div className="min-h-screen bg-bunny-dark flex items-center justify-center">
|
||||
<div className="text-white">Video nicht gefunden</div>
|
||||
<div className="text-white">Video not found</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@ -222,7 +222,7 @@ export default function VideoPage() {
|
||||
<div className="hidden md:flex items-center space-x-6">
|
||||
<nav className="flex space-x-6">
|
||||
<Link href="/" className="text-bunny-light hover:text-bunny-blue transition-colors">
|
||||
Startseite
|
||||
Home
|
||||
</Link>
|
||||
<Link href="/folx-stadl" className="text-bunny-light hover:text-bunny-blue transition-colors">
|
||||
FOLX STADL
|
||||
@ -431,7 +431,7 @@ export default function VideoPage() {
|
||||
className="text-white hover:bg-gray-700"
|
||||
>
|
||||
<Share2 className="w-4 h-4 mr-2" />
|
||||
Teilen
|
||||
Share
|
||||
</Button>
|
||||
|
||||
{showShareMenu && (
|
||||
@ -458,7 +458,7 @@ export default function VideoPage() {
|
||||
onClick={copyToClipboard}
|
||||
className="w-full px-4 py-2 text-left text-white hover:bg-gray-700"
|
||||
>
|
||||
Link kopieren
|
||||
Copy Link
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
@ -466,7 +466,7 @@ export default function VideoPage() {
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap gap-4 text-sm text-bunny-muted mb-4">
|
||||
<span>{formatViews(currentVideo.views)} Aufrufe</span>
|
||||
<span>{formatViews(currentVideo.views)} views</span>
|
||||
<span>{formatDuration(currentVideo.duration)}</span>
|
||||
<span>{formatDate(currentVideo.createdAt)}</span>
|
||||
</div>
|
||||
@ -479,7 +479,7 @@ export default function VideoPage() {
|
||||
</div>
|
||||
) : (
|
||||
<div className="text-bunny-muted text-sm">
|
||||
<p>Videobeschreibung nicht verfügbar.</p>
|
||||
<p>Video description not available.</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
@ -531,7 +531,7 @@ export default function VideoPage() {
|
||||
{video.title}
|
||||
</h3>
|
||||
<div className="text-xs text-bunny-muted">
|
||||
<div>{formatViews(video.views)} Aufrufe • {formatDate(video.createdAt)}</div>
|
||||
<div>{formatViews(video.views)} views • {formatDate(video.createdAt)}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user