From 2a966415c7712affb905faaa032cdc83804c959b Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Fri, 19 Sep 2025 12:01:28 +0000 Subject: [PATCH] v1 --- assets/css/custom.css | 29 ++++++ assets/js/main.js | 11 ++ contact.php | 19 ++++ index.php | 226 +++++++++++++++++++----------------------- 4 files changed, 159 insertions(+), 126 deletions(-) create mode 100644 assets/css/custom.css create mode 100644 assets/js/main.js create mode 100644 contact.php diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..e3a7efe --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,29 @@ + +body { + font-family: 'Lato', sans-serif; + background-color: #ecf0f1; + color: #2c3e50; +} + +.navbar { + background-color: #ffffff; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); +} + +.hero { + background: url('https://picsum.photos/seed/hero/1600/900') no-repeat center center; + background-size: cover; + color: white; + padding: 100px 0; + text-align: center; +} + +.section { + padding: 60px 0; +} + +.card { + border: none; + border-radius: 0.25rem; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..49185ee --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,11 @@ + +document.addEventListener('DOMContentLoaded', function () { + const form = document.querySelector('#contact-form'); + form.addEventListener('submit', function (e) { + if (!form.checkValidity()) { + e.preventDefault(); + e.stopPropagation(); + } + form.classList.add('was-validated'); + }); +}); diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..83230a0 --- /dev/null +++ b/contact.php @@ -0,0 +1,19 @@ + + true, 'message' => 'Message sent successfully!']); + } else { + echo json_encode(['success' => false, 'message' => 'Failed to send message.']); + } +} else { + echo json_encode(['success' => false, 'message' => 'Invalid request.']); +} diff --git a/index.php b/index.php index 6f7ffab..9c31497 100644 --- a/index.php +++ b/index.php @@ -1,131 +1,105 @@ - - + - - - New Style - - - - + + + Personal Portfolio + + + + + -
-
-

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

-
-
- + + + +
+
+

Welcome to My World

+

A showcase of my projects and passion.

+
+
+ +
+
+

Portfolio

+
+
+
+ Portfolio item 1. +
+
Project One
+

A brief description of the project.

+
+
+
+
+
+ Portfolio item 2. +
+
Project Two
+

A brief description of the project.

+
+
+
+
+
+
+ +
+
+

About Me

+

I am a passionate creator, driven by curiosity and a love for building things.

+
+
+ +
+
+

Testimonials

+

What others say about my work.

+
+
+ +
+
+

Contact Me

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