diff --git a/assets/css/custom.css b/assets/css/custom.css
new file mode 100644
index 0000000..e9e2160
--- /dev/null
+++ b/assets/css/custom.css
@@ -0,0 +1,38 @@
+body {
+ background-color: #F9FAFB;
+ color: #1F2937;
+ font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
+}
+
+.gradient-text {
+ background: linear-gradient(to right, #6366F1, #EC4899);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ text-fill-color: transparent;
+}
+
+.btn-primary {
+ background-color: #6366F1;
+ border-color: #6366F1;
+}
+
+.btn-primary:hover {
+ background-color: #4f52c4;
+ border-color: #4f52c4;
+}
+
+.hero-section {
+ padding: 6rem 0;
+ background-color: #FFFFFF;
+}
+
+.editor-section {
+ background-color: #F9FAFB;
+ padding: 4rem 0;
+}
+
+.card {
+ border: none;
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
+}
diff --git a/assets/js/main.js b/assets/js/main.js
new file mode 100644
index 0000000..e69de29
diff --git a/db/content.json b/db/content.json
new file mode 100644
index 0000000..edf30d8
--- /dev/null
+++ b/db/content.json
@@ -0,0 +1 @@
+{"hero_title": "Build Your Dream Website", "hero_subtitle": "Visually design, customize, and publish beautiful, responsive websites. No code required."}
\ No newline at end of file
diff --git a/index.php b/index.php
index 7205f3d..c06e76c 100644
--- a/index.php
+++ b/index.php
@@ -1,150 +1,118 @@
'Build Your Dream Website',
+ 'hero_subtitle' => 'Visually design, customize, and publish beautiful, responsive websites. No code required.'
+];
+
+// Handle POST request to update content
+if ($_SERVER['REQUEST_METHOD'] === 'POST') {
+ if (isset($_POST['hero_title']) && isset($_POST['hero_subtitle'])) {
+ $content['hero_title'] = htmlspecialchars($_POST['hero_title']);
+ $content['hero_subtitle'] = htmlspecialchars($_POST['hero_subtitle']);
+ file_put_contents($content_file, json_encode($content, JSON_PRETTY_PRINT));
+ // Redirect to avoid form resubmission
+ header("Location: " . $_SERVER['REQUEST_URI']);
+ exit;
+ }
+}
+
+// Load content from JSON file if it exists
+if (file_exists($content_file)) {
+ $json_content = file_get_contents($content_file);
+ $loaded_content = json_decode($json_content, true);
+ if ($loaded_content) {
+ $content = $loaded_content;
+ }
+}
?>
-
+
-
-
- New Style
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ webCreatorSaas
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
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) ?>
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Live Editor
+
Change the text in the hero section above.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+