diff --git a/README.md b/README.md index 7005caf..25020cb 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/about.php b/about.php index f9968ad..55a7a3c 100644 --- a/about.php +++ b/about.php @@ -2,7 +2,7 @@ require_once __DIR__ . '/includes/header.php'; ?> -
+

About AfgCars

Afghanistan's Premier Marketplace for Luxury & Reliable Vehicles.

@@ -19,7 +19,7 @@ require_once __DIR__ . '/includes/header.php';

- Team + Team
diff --git a/assets/css/style.css b/assets/css/style.css index e4aef31..8fa2410 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -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); } diff --git a/assets/images/about-hero.jpg b/assets/images/about-hero.jpg new file mode 100644 index 0000000..61d2ba3 Binary files /dev/null and b/assets/images/about-hero.jpg differ diff --git a/assets/images/about-team.jpg b/assets/images/about-team.jpg new file mode 100644 index 0000000..4180655 Binary files /dev/null and b/assets/images/about-team.jpg differ diff --git a/assets/images/contact-hero.jpg b/assets/images/contact-hero.jpg new file mode 100644 index 0000000..f58bf82 Binary files /dev/null and b/assets/images/contact-hero.jpg differ diff --git a/assets/images/contact-map.jpg b/assets/images/contact-map.jpg new file mode 100644 index 0000000..18e180e Binary files /dev/null and b/assets/images/contact-map.jpg differ diff --git a/assets/images/hero-bg.jpg b/assets/images/hero-bg.jpg new file mode 100644 index 0000000..c9bf809 Binary files /dev/null and b/assets/images/hero-bg.jpg differ diff --git a/assets/images/hero-home.jpg b/assets/images/hero-home.jpg new file mode 100644 index 0000000..c522417 Binary files /dev/null and b/assets/images/hero-home.jpg differ diff --git a/contact.php b/contact.php index a26a8f0..dafd8fb 100644 --- a/contact.php +++ b/contact.php @@ -16,7 +16,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } ?> -
+

Get in Touch

Have questions? Our team is here to help you find the perfect vehicle.

@@ -94,7 +94,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
+
📍

Our Location

diff --git a/database.sql b/db/database.sql similarity index 100% rename from database.sql rename to db/database.sql diff --git a/index.php b/index.php index d2a751a..dcfe65a 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,7 @@ $testimonials = [ ]; ?> -
+

Find Your Premium Ride

Exclusive luxury vehicles and reliable everyday cars in Afghanistan's most trusted marketplace.