diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..48aefb6 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,26 @@ +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; +} + +.btn-success { + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:hover { + background-color: #218838; + border-color: #1e7e34; +} + +.text-success { + color: #28a745 !important; +} + +.card { + transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; +} + +.card:hover { + transform: translateY(-5px); + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; +} diff --git a/db/config.php b/db/config.php index f12ebaf..8a6cef6 100644 --- a/db/config.php +++ b/db/config.php @@ -12,6 +12,12 @@ function db() { PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, ]); + $pdo->exec('CREATE TABLE IF NOT EXISTS centers ( + id INT AUTO_INCREMENT PRIMARY KEY, + name VARCHAR(255) NOT NULL, + address VARCHAR(255) NOT NULL, + contact VARCHAR(255) NOT NULL + );'); } return $pdo; } diff --git a/index.php b/index.php index 7205f3d..8b7bf64 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,84 @@ - - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + E-Waste Reclaimer + + + + + + + + + + - -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

-
-
- + + +
+
+ + E-Waste Reclaimer + +
+ Login + Register +
+
+
+ +
+
+

Find a Recycling Center

+

Help the planet by responsibly disposing of your electronic waste.

+
+ +
+ 'GreenTech Recyclers', + 'address' => '123 Eco Lane, Green City, 12345', + 'contact' => 'contact@greentech.com' + ], + [ + 'name' => 'Circuit Savers', + 'address' => '456 Recycle Ave, Tech Town, 67890', + 'contact' => 'info@circuitsavers.com' + ], + [ + 'name' => 'Eco-Warriors', + 'address' => '789 Planet Blvd, Nature Village, 11223', + 'contact' => 'support@ecowarriors.org' + ] + ]; + + foreach ($centers as $center): ?> +
+
+
+
+

+ +

+

+ +

+
+
+
+ +
+
+ + + + - + \ No newline at end of file