<?php
declare(strict_types=1);

require_once __DIR__ . '/../../app/auth.php';
require_once __DIR__ . '/../../app/helpers.php';

$u = require_role('artist');

ob_start();
?>
<div class="glass rounded-2xl p-5">
  <div class="flex items-center justify-between gap-3">
    <div>
      <div class="text-sm text-white/60">Katalog</div>
      <div class="text-2xl font-semibold">Ürünler</div>
    </div>
    <a href="<?=h(app_base('seller/product-new.php'))?>" class="btn rounded-2xl px-4 py-2 bg-[#ff800a]/15 text-[#ffb67a] font-semibold flex items-center gap-2">
      <i data-lucide="plus" class="w-4 h-4"></i> Yeni Ürün
    </a>
  </div>

  <div class="mt-4 rounded-2xl border border-white/10 bg-white/5 p-4 text-white/70">
    Henüz ürün yok. “Yeni Ürün” ile ilk ilanını oluştur.
  </div>
</div>
<?php
$content = ob_get_clean();
$title = 'Ürünler';
$active = 'products';
include __DIR__ . '/_layout.php';
