From 12b99fe8f7754727179366db960dc6bb0b3f42ae Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sun, 26 Oct 2025 20:00:21 +0000 Subject: [PATCH] 1.0 --- assets/css/custom.css | 55 ++++++++++++++ assets/js/main.js | 22 ++++++ index.php | 167 ++++++------------------------------------ search.php | 20 +++++ trending.php | 17 +++++ 5 files changed, 137 insertions(+), 144 deletions(-) create mode 100644 assets/css/custom.css create mode 100644 assets/js/main.js create mode 100644 search.php create mode 100644 trending.php diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..30b5d3a --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,55 @@ +body { + background-color: #FFFFFF; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; +} + +.search-container { + display: flex; + justify-content: center; + align-items: center; + height: 80vh; + flex-direction: column; +} + +.search-box { + width: 50%; + padding: 1rem; + border: 1px solid #dfe1e5; + border-radius: 24px; + font-size: 1.2rem; + outline: none; + transition: box-shadow 0.3s; +} + +.search-box:hover, .search-box:focus { + box-shadow: 0 1px 6px rgba(32,33,36,0.28); + border-color: rgba(223,225,229,0); +} + +.search-buttons { + margin-top: 1.5rem; +} + +.search-buttons button { + background-color: #f8f9fa; + border: 1px solid #f8f9fa; + border-radius: 4px; + color: #3c4043; + font-family: arial,sans-serif; + font-size: 14px; + margin: 11px 4px; + padding: 0 16px; + line-height: 27px; + height: 36px; + min-width: 54px; + text-align: center; + cursor: pointer; + user-select: none; +} + +.search-buttons button:hover { + box-shadow: 0 1px 1px rgba(0,0,0,0.1); + background-color: #f8f9fa; + border: 1px solid #dadce0; + color: #202124; +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..6d5f9a6 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,22 @@ +document.addEventListener('DOMContentLoaded', function () { + const searchInput = document.querySelector('.search-box'); + const searchButtons = document.querySelectorAll('.search-buttons button'); + + searchInput.addEventListener('keypress', function (e) { + if (e.key === 'Enter') { + const query = searchInput.value; + if (query) { + window.location.href = `search.php?q=${encodeURIComponent(query)}`; + } + } + }); + + searchButtons.forEach(button => { + button.addEventListener('click', () => { + const query = searchInput.value; + if (query) { + window.location.href = `search.php?q=${encodeURIComponent(query)}`; + } + }); + }); +}); diff --git a/index.php b/index.php index 7205f3d..0530f34 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,29 @@ - - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + WWR + + + + + + + + + -
-
-

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

+
+ Google Logo + +
+ + +
+ Trending Searches
-
- + - + \ No newline at end of file diff --git a/search.php b/search.php new file mode 100644 index 0000000..49e492c --- /dev/null +++ b/search.php @@ -0,0 +1,20 @@ + + + + + + + Search Results for "<?php echo $query; ?>" + + + + +
+

Search Results for ""

+

This is a placeholder for the search results. In the future, this page will display the actual search results for your query.

+ Back to search +
+ + diff --git a/trending.php b/trending.php new file mode 100644 index 0000000..8b5005e --- /dev/null +++ b/trending.php @@ -0,0 +1,17 @@ + + + + + + Trending Searches + + + + +
+

Trending Searches

+

This is a placeholder for the trending searches. In the future, this page will display a list of the most popular searches in real-time.

+ Back to search +
+ +