<?php require_once __DIR__ . '/../app/bootstrap.php'; $pageTitle='Affiliate Program'; $pageDescription='Marketing member program landing page.'; require_once ROOT_PATH . '/app/Layouts/frontend_header.php'; ?>
<section class="container py-5"><div class="landing-hero p-4 p-lg-5 mb-4"><h1>Affiliate Program</h1><p class="lead mb-0">Marketing member program landing page.</p></div><div class="row g-4"><?php foreach(sample_products() as $p): ?><div class="col-md-3"><div class="card h-100 module-card"><img src="<?= e(product_image($p)) ?>" class="card-img-top" alt="<?= e($p['name']) ?>"><div class="card-body"><div class="small text-muted"><?= e($p['shop_name']) ?></div><h5><?= e($p['name']) ?></h5><strong><?= money($p['sale_price']) ?></strong><div class="mt-3 d-flex gap-2"><a class="btn btn-sm btn-primary" href="<?= url('landing/product.php?slug=' . $p['slug']) ?>">View</a><a class="btn btn-sm btn-outline-secondary" href="<?= url('api/qr-code.php?id=' . $p['id']) ?>">QR</a></div></div></div></div><?php endforeach; ?></div></section>
<?php require_once ROOT_PATH . '/app/Layouts/frontend_footer.php'; ?>
