import Link from "next/link"; import { getPosts } from "@/lib/posts"; import { getActivity } from "@/lib/activity"; export default function Home() { const blogPosts = getPosts("blog").slice(0, 3); const infosecPosts = getPosts("infosec").slice(0, 3); const notes = getPosts("notebook").slice(0, 3); const activities = getActivity().slice(0, 5); return (
{/* Hero */}
root@denizbektas.com.tr:~$ whoami

denizbektas

Siber güvenlik araştırmacısı, red teamer, CTF oyuncusu. Sistemlerin nasıl kırıldığını anlayarak onları nasıl koruyacağımızı öğreniyoruz. Bu site o yolculuğun kayıtlarıdır.

red team pentest CTF OSINT malware analysis
→ Merhaba Hakkımda İletişim
{/* Grid */}
{/* Blog Widget */} {blogPosts.length === 0 ? ( ) : (
    {blogPosts.map((p) => (
  • {p.title} {formatDate(p.date)}
  • ))}
)}
{/* Infosec Widget */} {infosecPosts.length === 0 ? ( ) : (
    {infosecPosts.map((p) => (
  • {p.title}
    {p.tags.slice(0, 2).map((t) => {t})}
  • ))}
)}
{/* Notebook Widget */} {notes.length === 0 ? ( ) : (
    {notes.map((p) => (
  • {p.title}
    {p.excerpt.slice(0, 60)}...
  • ))}
)}
{/* Activity Widget */}
    {activities.map((a) => (
  • {typeIcon(a.type)} {a.link ? {a.message} : a.message}
  • ))}
{/* Now Widget */}

🔴 Odak: Red team metodolojileri

📖 Okuma: The Hacker Playbook 3

🎯 Hedef: OSCP sertifikası

🎵 Dinleme: Darksynth

{/* RSS Widget */}
{[ { label: "Tüm İçerikler", href: "/api/rss/all" }, { label: "Blog", href: "/api/rss/blog" }, { label: "Infosec", href: "/api/rss/infosec" }, { label: "Podcast", href: "/api/rss/podcast" }, ].map((r) => ( {r.label} ))}
{/* Statboard Widget */}
{[ { label: "Blog Yazısı", value: "1" }, { label: "Infosec Yazı", value: "1" }, { label: "CTF Çözümü", value: "47" }, { label: "Çay ☕", value: "∞" }, ].map((s) => (
{s.value}
{s.label}
))}
{/* Projeler Widget */}
); } function WidgetCard({ title, href, icon, children }: { title: string; href: string; icon: string; children: React.ReactNode }) { return (
{icon} {title}
tümü →
{children}
); } function EmptyState({ text }: { text: string }) { return
{text}
; } function ProjectItem({ name, desc, status }: { name: string; desc: string; status: string }) { const colors: Record = { active: "#00d4aa", wip: "#f59e0b", archived: "#64748b" }; return (
{name}
{desc}
); } function typeIcon(type: string) { const icons: Record = { post: "✍", notebook: "◎", infosec: "⚔", project: "◈", link: "⊞", update: "▲", system: "⚙", }; return icons[type] || "▶"; } function formatDate(date: string) { return new Date(date).toLocaleDateString("tr-TR", { year: "numeric", month: "short", day: "numeric" }); }