This commit is contained in:
Flatlogic Bot 2026-02-16 13:09:49 +00:00
parent 6b2393e243
commit 7d4d98b000
2 changed files with 10 additions and 10 deletions

View File

@ -23,12 +23,12 @@ $current_page = basename($_SERVER['PHP_SELF']);
<div class="logo">AFG_CARS<span>.</span></div>
<nav>
<ul>
<li><a href="index.php" target="_blank" <?= $current_page == 'index.php' ? 'class="active"' : '' ?>>Home</a></li>
<li><a href="marketplace.php" target="_blank" <?= $current_page == 'marketplace.php' ? 'class="active"' : '' ?>>Marketplace</a></li>
<li><a href="work.php" target="_blank" <?= $current_page == 'work.php' ? 'class="active"' : '' ?>>Work</a></li>
<li><a href="about.php" target="_blank" <?= $current_page == 'about.php' ? 'class="active"' : '' ?>>About</a></li>
<li><a href="contact.php" target="_blank" <?= $current_page == 'contact.php' ? 'class="active"' : '' ?>>Contact Us</a></li>
<li><a href="setup.php" target="_blank" class="admin-link"><i class="fas fa-user-shield"></i> Admin</a></li>
<li><a href="index.php" <?= $current_page == 'index.php' ? 'class="active"' : '' ?>>Home</a></li>
<li><a href="marketplace.php" <?= $current_page == 'marketplace.php' ? 'class="active"' : '' ?>>Marketplace</a></li>
<li><a href="work.php" <?= $current_page == 'work.php' ? 'class="active"' : '' ?>>Work</a></li>
<li><a href="about.php" <?= $current_page == 'about.php' ? 'class="active"' : '' ?>>About</a></li>
<li><a href="contact.php" <?= $current_page == 'contact.php' ? 'class="active"' : '' ?>>Contact Us</a></li>
<li><a href="setup.php" class="admin-link"><i class="fas fa-user-shield"></i> Admin</a></li>
</ul>
</nav>
</header>

View File

@ -24,8 +24,8 @@ try {
<h1>Experience <span>Supreme</span> Luxury Automotive</h1>
<p>Afghanistan's premier destination for elite vehicles, flexible installments, and professional service across our major branches.</p>
<div class="hero-btns">
<a href="marketplace.php" target="_blank" class="btn">View Cars</a>
<a href="contact.php" target="_blank" class="btn btn-outline">Sell Your Car</a>
<a href="marketplace.php" class="btn">View Cars</a>
<a href="contact.php" class="btn btn-outline">Sell Your Car</a>
</div>
</section>
@ -68,7 +68,7 @@ try {
<h2>Featured Collection</h2>
<p>Hand-picked premium vehicles currently available in our showrooms.</p>
</div>
<a href="marketplace.php" target="_blank" class="btn btn-outline" style="padding: 0.8rem 1.5rem;">View All <i class="fas fa-arrow-right" style="margin-left: 10px;"></i></a>
<a href="marketplace.php" class="btn btn-outline" style="padding: 0.8rem 1.5rem;">View All <i class="fas fa-arrow-right" style="margin-left: 10px;"></i></a>
</div>
<div class="grid">
<?php foreach ($featured_cars as $car): ?>
@ -88,7 +88,7 @@ try {
Installments from <strong>$<?= number_format($car['price'] / 60, 0) ?>/mo</strong>
</div>
<div style="margin-top: 1.5rem;">
<a href="marketplace.php" target="_blank" class="btn" style="width: 100%; padding: 0.8rem;">View Details</a>
<a href="marketplace.php" class="btn" style="width: 100%; padding: 0.8rem;">View Details</a>
</div>
</div>
</div>