<?php
if (!defined('ABSPATH')) exit;

$create_page   = get_page_by_path('create-auction');
$listings_page = get_page_by_path('my-auctions');
?>

<div class="wcmv-quick-actions wcmv-mt-20">

    <?php if ($create_page): ?>
        <a class="button button-primary"
           href="<?= esc_url(get_permalink($create_page)) ?>">
            ➕ Create Auction
        </a>
    <?php endif; ?>

    <?php if ($listings_page): ?>
        <a class="button"
           href="<?= esc_url(get_permalink($listings_page)) ?>">
            📦 My Auctions
        </a>
    <?php endif; ?>

</div>
