diff --git a/assets/css/custom.css b/assets/css/custom.css
new file mode 100644
index 0000000..58b3313
--- /dev/null
+++ b/assets/css/custom.css
@@ -0,0 +1,106 @@
+
+/* Fonts */
+@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap');
+
+/* Base styles */
+body {
+ font-family: 'Roboto', sans-serif;
+ background-color: #f5f5f5;
+ color: #212529;
+}
+
+/* Navbar */
+.navbar {
+ transition: background-color 0.3s ease;
+}
+
+.navbar-brand {
+ font-family: 'Poppins', sans-serif;
+ font-weight: 700;
+ font-size: 1.5rem;
+}
+
+/* Hero Section */
+.hero {
+ background: linear-gradient(135deg, #512da8 0%, #7e57c2 100%);
+ color: white;
+ padding: 6rem 0;
+ text-align: center;
+}
+
+.hero h1 {
+ font-family: 'Poppins', sans-serif;
+ font-weight: 700;
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+}
+
+.hero p {
+ font-size: 1.25rem;
+ margin-bottom: 2rem;
+ max-width: 600px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+/* Buttons */
+.btn-primary {
+ background-color: #ffc107;
+ border-color: #ffc107;
+ color: #212529;
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600;
+ padding: 0.75rem 1.5rem;
+ border-radius: 0.75rem;
+ transition: all 0.3s ease;
+}
+
+.btn-primary:hover {
+ background-color: #ffca2c;
+ border-color: #ffca2c;
+ transform: translateY(-2px);
+ box-shadow: 0 4px 15px rgba(0,0,0,0.1);
+}
+
+/* Form Section */
+#create-project {
+ padding: 5rem 0;
+}
+
+h2 {
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600;
+ font-size: 2.5rem;
+ margin-bottom: 2rem;
+ text-align: center;
+}
+
+/* Cards and Forms */
+.card {
+ border: none;
+ border-radius: 0.75rem;
+ box-shadow: 0 10px 30px rgba(0,0,0,0.07);
+}
+
+.form-control {
+ border-radius: 0.75rem;
+ padding: 0.75rem 1rem;
+}
+
+.form-control:focus {
+ box-shadow: 0 0 0 0.25rem rgba(81, 45, 168, 0.25);
+ border-color: #512da8;
+}
+
+/* Footer */
+footer {
+ background-color: #ffffff;
+ padding: 2rem 0;
+ text-align: center;
+ border-top: 1px solid #e0e0e0;
+}
+
+/* Toast Notifications */
+.toast {
+ border-radius: 0.75rem;
+}
diff --git a/assets/js/main.js b/assets/js/main.js
new file mode 100644
index 0000000..3725f45
--- /dev/null
+++ b/assets/js/main.js
@@ -0,0 +1,35 @@
+
+document.addEventListener('DOMContentLoaded', function () {
+ // Smooth scroll for CTA button
+ const ctaButton = document.querySelector('.btn-primary');
+ const projectSection = document.getElementById('create-project');
+
+ if (ctaButton && projectSection) {
+ ctaButton.addEventListener('click', function (e) {
+ e.preventDefault();
+ projectSection.scrollIntoView({ behavior: 'smooth' });
+ });
+ }
+
+ // Form validation
+ const projectForm = document.getElementById('projectForm');
+ if (projectForm) {
+ projectForm.addEventListener('submit', function (e) {
+ if (!projectForm.checkValidity()) {
+ e.preventDefault();
+ e.stopPropagation();
+ }
+ projectForm.classList.add('was-validated');
+ }, false);
+ }
+
+ // Show success toast
+ const urlParams = new URLSearchParams(window.location.search);
+ if (urlParams.get('status') === 'success') {
+ const successToast = document.getElementById('successToast');
+ if (successToast) {
+ const toast = new bootstrap.Toast(successToast);
+ toast.show();
+ }
+ }
+});
diff --git a/create_project.php b/create_project.php
new file mode 100644
index 0000000..6b16c49
--- /dev/null
+++ b/create_project.php
@@ -0,0 +1,36 @@
+ 10) {
+ header('Location: index.php?status=error&message=Token+symbol+cannot+be+longer+than+10+characters.');
+ exit;
+ }
+
+ try {
+ $pdo = db();
+ $stmt = $pdo->prepare("INSERT INTO projects (project_name, token_name, token_symbol) VALUES (?, ?, ?)");
+ $stmt->execute([$projectName, $tokenName, $tokenSymbol]);
+
+ header('Location: index.php?status=success');
+ exit;
+ } catch (PDOException $e) {
+ // In a real app, you would log this error.
+ header('Location: index.php?status=error&message=Database+error.');
+ exit;
+ }
+}
+
+// Redirect if accessed directly
+header('Location: index.php');
+exit;
diff --git a/db/config.php b/db/config.php
index cc9229f..2b4ce6f 100644
--- a/db/config.php
+++ b/db/config.php
@@ -15,3 +15,17 @@ function db() {
}
return $pdo;
}
+
+// Create projects table if it doesn't exist
+function setup_database() {
+ $pdo = db();
+ $pdo->exec("CREATE TABLE IF NOT EXISTS projects (
+ id INT AUTO_INCREMENT PRIMARY KEY,
+ project_name VARCHAR(255) NOT NULL,
+ token_name VARCHAR(255) NOT NULL,
+ token_symbol VARCHAR(10) NOT NULL,
+ created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+ );");
+}
+
+setup_database();
\ No newline at end of file
diff --git a/index.php b/index.php
index 7205f3d..654b362 100644
--- a/index.php
+++ b/index.php
@@ -1,150 +1,102 @@
-
-
+
-
-
- New Style
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ Sol Token LaunchLab
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
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) ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Project created successfully!
+
+
+
+
-
-
+
+
+
+
+
-
+