@{
    ViewBag.Title = "index";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2 class="text-white mt-3 mb-3">Dashboard</h2>
<p class="text-white-50">Welcome back! Choose a section from the menu on the left to get started.</p>

<div class="row mt-4">
    <div class="col-md-6 mb-3">
        <div class="bg-dark border border-secondary rounded p-4 text-white">
            <h4>My Projects</h4>
            <p class="text-white-50 mb-3">@ViewBag.MyProjectsCount post(s) published.</p>
            <a href="/admin/myprojects" class="btn btn-primary">Manage My Projects</a>
        </div>
    </div>
    <div class="col-md-6 mb-3">
        <div class="bg-dark border border-secondary rounded p-4 text-white">
            <h4>Affiliate Links</h4>
            <p class="text-white-50 mb-3">@ViewBag.AffiliateLinksCount link(s) published.</p>
            <a href="/admin/affiliatelinks" class="btn btn-primary">Manage Affiliate Links</a>
        </div>
    </div>
    <div class="col-md-6 mb-3">
        <div class="bg-dark border border-secondary rounded p-4 text-white">
            <h4>Social Icons</h4>
            <p class="text-white-50 mb-3">@ViewBag.SocialIconsCount icon(s) in the footer.</p>
            <a href="/admin/socialicons" class="btn btn-primary">Manage Social Icons</a>
        </div>
    </div>
    <div class="col-md-6 mb-3">
        <div class="bg-dark border border-secondary rounded p-4 text-white">
            <h4>Wallpaper</h4>
            <p class="text-white-50 mb-3">Change the background image used across the site.</p>
            <a href="/admin/wallpaper" class="btn btn-primary">Manage Wallpaper</a>
        </div>
    </div>
</div>
