129 lines
5.3 KiB
TypeScript
129 lines
5.3 KiB
TypeScript
import React from 'react';
|
||
import {
|
||
ShieldCheck,
|
||
Cpu,
|
||
Zap,
|
||
Globe,
|
||
Github,
|
||
Radio,
|
||
} from 'lucide-react';
|
||
import { open } from '@tauri-apps/plugin-shell';
|
||
|
||
export const AboutView: React.FC = () => {
|
||
const handleOpenLink = (url: string) => {
|
||
open(url).catch(() => {
|
||
window.open(url, '_blank');
|
||
});
|
||
};
|
||
|
||
return (
|
||
<div className="flex-1 flex flex-col items-center justify-center p-6 bg-[#101318] overflow-y-auto select-none custom-scrollbar">
|
||
<div className="w-full max-w-xl bg-[#151921] border border-[#2E3542]/70 rounded-3xl p-8 shadow-2xl relative overflow-hidden">
|
||
{/* Glow backdrop */}
|
||
<div className="absolute -top-24 -right-24 w-60 h-60 bg-[#60E0B1]/10 rounded-full blur-3xl pointer-events-none" />
|
||
<div className="absolute -bottom-24 -left-24 w-60 h-60 bg-[#247553]/15 rounded-full blur-3xl pointer-events-none" />
|
||
|
||
{/* Brand Header */}
|
||
<div className="flex flex-col items-center text-center mb-6">
|
||
<div className="relative mb-3">
|
||
<img
|
||
src="/logo.png"
|
||
alt="LD KickWatch Logo"
|
||
className="w-20 h-20 rounded-2xl object-contain bg-[#101318] drop-shadow-[0_0_25px_rgba(96,224,177,0.4)] border border-[#2E3542]"
|
||
/>
|
||
<span className="absolute -bottom-1 -right-1 px-2 py-0.5 rounded-full bg-[#247553] text-[#60E0B1] text-[10px] font-bold border border-[#60E0B1]/40">
|
||
v2.6.12
|
||
</span>
|
||
</div>
|
||
|
||
<h1 className="text-xl font-extrabold text-slate-100 tracking-wider">
|
||
LD <span className="text-[#60E0B1]">KICKWATCH</span>
|
||
</h1>
|
||
<p className="text-xs text-slate-400 mt-1 max-w-sm">
|
||
Kick.com için Yeni Nesil Masaüstü Canlı Yayın & Sohbet Stüdyosu
|
||
</p>
|
||
</div>
|
||
|
||
{/* Feature Grid */}
|
||
<div className="grid grid-cols-2 gap-3 mb-6">
|
||
<div className="p-3 rounded-2xl bg-[#1B202A]/70 border border-[#2E3542]/50 flex items-start gap-2.5">
|
||
<Cpu className="w-4 h-4 text-[#60E0B1] shrink-0 mt-0.5" />
|
||
<div>
|
||
<h4 className="text-xs font-semibold text-slate-200">
|
||
Tauri v2 + Rust
|
||
</h4>
|
||
<p className="text-[11px] text-slate-400 mt-0.5 leading-tight">
|
||
Sıfır bellek sızıntısı, ultra düşük CPU tüketimi ve anında tepki.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
|
||
<div className="p-3 rounded-2xl bg-[#1B202A]/70 border border-[#2E3542]/50 flex items-start gap-2.5">
|
||
<Zap className="w-4 h-4 text-[#60E0B1] shrink-0 mt-0.5" />
|
||
<div>
|
||
<h4 className="text-xs font-semibold text-slate-200">
|
||
Pusher Canlı Sohbet
|
||
</h4>
|
||
<p className="text-[11px] text-slate-400 mt-0.5 leading-tight">
|
||
Kick WebSocket altyapısı ile anlık mesajlaşma ve Kick ifadeleri.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
|
||
<div className="p-3 rounded-2xl bg-[#1B202A]/70 border border-[#2E3542]/50 flex items-start gap-2.5">
|
||
<Radio className="w-4 h-4 text-[#60E0B1] shrink-0 mt-0.5" />
|
||
<div>
|
||
<h4 className="text-xs font-semibold text-slate-200">
|
||
2x2 Çoklu İzleme
|
||
</h4>
|
||
<p className="text-[11px] text-slate-400 mt-0.5 leading-tight">
|
||
Aynı anda 4 yayını izleme ve tek tıkla ses odaklama yeteneği.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
|
||
<div className="p-3 rounded-2xl bg-[#1B202A]/70 border border-[#2E3542]/50 flex items-start gap-2.5">
|
||
<ShieldCheck className="w-4 h-4 text-[#60E0B1] shrink-0 mt-0.5" />
|
||
<div>
|
||
<h4 className="text-xs font-semibold text-slate-200">
|
||
Harici Oynatıcılar
|
||
</h4>
|
||
<p className="text-[11px] text-slate-400 mt-0.5 leading-tight">
|
||
VLC, MPV ve Streamlink ile sıfır gecikmeli native izleme desteği.
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
{/* Footer Credit & Signature */}
|
||
<div className="pt-4 border-t border-[#2E3542]/50 flex items-center justify-between text-xs text-slate-400">
|
||
<div className="flex items-center gap-1.5">
|
||
<span>Geliştirici:</span>
|
||
<span className="font-bold text-slate-200 hover:text-[#60E0B1] transition-colors">
|
||
LilDosto
|
||
</span>
|
||
</div>
|
||
|
||
<div className="flex items-center gap-2">
|
||
<button
|
||
type="button"
|
||
onClick={() => handleOpenLink('https://kick.com')}
|
||
className="p-1.5 rounded-lg bg-[#1B202A] text-slate-400 hover:text-white hover:bg-[#247553]/40 transition-colors"
|
||
title="Kick.com Resmi Sitesi"
|
||
>
|
||
<Globe className="w-4 h-4" />
|
||
</button>
|
||
<button
|
||
type="button"
|
||
onClick={() => handleOpenLink('https://github.com/LilDosto/LD-KickWatch')}
|
||
className="p-1.5 rounded-lg bg-[#1B202A] text-slate-400 hover:text-white hover:bg-[#247553]/40 transition-colors"
|
||
title="GitHub Kaynak Kodu"
|
||
>
|
||
<Github className="w-4 h-4" />
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
);
|
||
};
|