This commit is contained in:
Flatlogic Bot 2026-02-23 09:30:32 +00:00
parent ea8f42f0c6
commit 1fc488dc7b
12 changed files with 9 additions and 10 deletions

View File

@ -9,9 +9,9 @@ The application requires a MySQL/MariaDB database.
**Option A: Import SQL File (Recommended)**
1. Create a database named `app_38703` (or the name specified in `db/config.php`).
2. Import the `database.sql` file located in the root directory:
2. Import the `database.sql` file located in the `db/` directory:
```bash
mysql -u your_username -p app_38703 < database.sql
mysql -u your_username -p app_38703 < db/database.sql
```
**Option B: Run Setup Script**
@ -134,8 +134,7 @@ erDiagram
- `car_detail.php`: Detailed view of a single car with photo gallery.
- `admin_dashboard.php`: Entry point for administrative management.
- `dashboard.php`: User-specific panel for listing management.
- `database.sql`: MySQL export for easy database import.
- `db/`: Database configuration and setup scripts.
- `db/`: Database configuration, setup scripts, and `database.sql` export.
- `assets/`: CSS, JS, and image assets.
- `includes/`: Reusable header and footer components.
- `mail/`: Built-in email service components.

View File

@ -2,7 +2,7 @@
require_once __DIR__ . '/includes/header.php';
?>
<section class="hero" style="height: 40vh; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/112460/pexels-photo-112460.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover no-repeat;">
<section class="hero" style="height: 40vh; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/images/about-hero.jpg') center/cover no-repeat;">
<h1>About AfgCars</h1>
<p>Afghanistan's Premier Marketplace for Luxury & Reliable Vehicles.</p>
</section>
@ -19,7 +19,7 @@ require_once __DIR__ . '/includes/header.php';
</p>
</div>
<div>
<img src="https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=600" alt="Team" style="width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);">
<img src="assets/images/about-team.jpg" alt="Team" style="width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);">
</div>
</div>
</div>

View File

@ -101,7 +101,7 @@ nav {
align-items: center;
text-align: center;
padding: 0 10%;
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/170811/pexels-photo-170811.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat fixed;
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg') center/cover no-repeat fixed;
border-bottom: 1px solid var(--glass-border);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
assets/images/hero-bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

BIN
assets/images/hero-home.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

View File

@ -16,7 +16,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
?>
<section class="hero" style="height: 40vh; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/3311574/pexels-photo-3311574.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover no-repeat;">
<section class="hero" style="height: 40vh; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/images/contact-hero.jpg') center/cover no-repeat;">
<h1>Get in Touch</h1>
<p>Have questions? Our team is here to help you find the perfect vehicle.</p>
</section>
@ -94,7 +94,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
<div class="container" style="margin-top: 4rem;">
<div class="glass" style="height: 450px; width: 100%; position: relative; overflow: hidden;">
<!-- Map Placeholder -->
<div style="position: absolute; inset: 0; background: url('https://images.pexels.com/photos/1051073/pexels-photo-1051073.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover; filter: grayscale(1) contrast(1.2) brightness(0.5);"></div>
<div style="position: absolute; inset: 0; background: url('assets/images/contact-map.jpg') center/cover; filter: grayscale(1) contrast(1.2) brightness(0.5);"></div>
<div style="position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(0,0,0,0.4);">
<div style="font-size: 4rem; margin-bottom: 1rem;">📍</div>
<h2 style="font-size: 2.5rem; text-transform: uppercase; letter-spacing: 3px;">Our Location</h2>

View File

@ -27,7 +27,7 @@ $testimonials = [
];
?>
<section class="hero" style="background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/337909/pexels-photo-337909.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat fixed;">
<section class="hero" style="background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/images/hero-home.jpg') center/cover no-repeat fixed;">
<div style="z-index: 2; position: relative;">
<h1>Find Your Premium Ride</h1>
<p>Exclusive luxury vehicles and reliable everyday cars in Afghanistan's most trusted marketplace.</p>