diff --git a/assets/css/custom.css b/assets/css/custom.css
new file mode 100644
index 0000000..c72fc9b
--- /dev/null
+++ b/assets/css/custom.css
@@ -0,0 +1,22 @@
+body {
+ font-family: 'Roboto', sans-serif;
+ padding-top: 56px; /* Adjust for fixed navbar */
+}
+
+h1, h2, h3, h4, h5, h6, .navbar-brand {
+ font-family: 'Poppins', sans-serif;
+}
+
+.btn-primary {
+ background-color: #007BFF;
+ border-color: #007BFF;
+}
+
+.btn-primary:hover {
+ background-color: #0056b3;
+ border-color: #0056b3;
+}
+
+#home {
+ background: linear-gradient(to right, rgba(0, 123, 255, 0.1), rgba(0, 0, 0, 0));
+}
diff --git a/assets/js/main.js b/assets/js/main.js
new file mode 100644
index 0000000..981e25b
--- /dev/null
+++ b/assets/js/main.js
@@ -0,0 +1,39 @@
+document.addEventListener('DOMContentLoaded', function () {
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Contact form submission
+ const contactForm = document.getElementById('contact-form');
+ if (contactForm) {
+ contactForm.addEventListener('submit', function (e) {
+ e.preventDefault();
+ const form = e.target;
+ const formData = new FormData(form);
+ const alertContainer = document.getElementById('contact-form-alert');
+
+ fetch(form.action, {
+ method: 'POST',
+ body: formData
+ })
+ .then(response => response.json())
+ .then(data => {
+ if (data.success) {
+ alertContainer.innerHTML = '
' + data.message + '
';
+ form.reset();
+ } else {
+ alertContainer.innerHTML = '' + data.message + '
';
+ }
+ })
+ .catch(error => {
+ alertContainer.innerHTML = 'An error occurred. Please try again.
';
+ });
+ });
+ }
+});
diff --git a/contact.php b/contact.php
new file mode 100644
index 0000000..96bdce3
--- /dev/null
+++ b/contact.php
@@ -0,0 +1,38 @@
+ false, 'message' => 'An unknown error occurred.'];
+
+if ($_SERVER['REQUEST_METHOD'] === 'POST') {
+ $name = trim($_POST['name'] ?? '');
+ $email = trim($_POST['email'] ?? '');
+ $message = trim($_POST['message'] ?? '');
+
+ if (empty($name) || empty($email) || empty($message)) {
+ $response['message'] = 'Please fill in all fields.';
+ } elseif (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
+ $response['message'] = 'Please provide a valid email address.';
+ } else {
+ // In a real scenario, you would call the mail service here.
+ // For now, we just simulate a success response.
+ // $mailResponse = MailService::sendContactMessage($name, $email, $message);
+ // if (!empty($mailResponse['success'])) {
+ // $response['success'] = true;
+ // $response['message'] = 'Thank you for your message! We will get back to you shortly.';
+ // } else {
+ // $response['message'] = 'Sorry, there was an error sending your message. Please try again later.';
+ // }
+
+ // Simulate success for this example
+ $response['success'] = true;
+ $response['message'] = 'Thank you for your message! We will get back to you shortly.';
+ }
+} else {
+ $response['message'] = 'Invalid request method.';
+}
+
+echo json_encode($response);
diff --git a/index.php b/index.php
index 7205f3d..2b083d9 100644
--- a/index.php
+++ b/index.php
@@ -1,150 +1,149 @@
-
-
+
-
-
- New Style
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ Modu - Custom Printing
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
Analyzing your requirements and generating your website…
-
- Loading…
-
-
= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-
This page will update automatically as the plan is implemented.
-
Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>
-
-
-
- Page updated: = htmlspecialchars($now) ?> (UTC)
-
+
+
+
+
+
+
+
+
+
+
Custom Prints, Made for You
+
From t-shirts to mugs, we bring your ideas to life with high-quality printing.
+
Get a Quote
+
+
+
+
+
+
+
+
+
About Modu
+
We are a passionate team dedicated to providing top-notch custom printing services. Our mission is to make it easy for you to create personalized products for your business, event, or personal use. With state-of-the-art equipment and a commitment to quality, we ensure every item we produce is something you'll be proud of.
+
+
+
+
+
+
+
+
+
+
+
+
Our Work
+
+
+
+
+
+
Custom T-Shirts
+
+
+
+
+
+
+
+
Printed Mugs
+
+
+
+
+
+
+
+
And More!
+
+
+
+
+
+
+
+
+
+
+
What Our Clients Say
+
+
+
"The quality of the prints was outstanding, and the customer service was excellent. Highly recommended!"
+
- Jane Doe
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+