From bd2080af93a6c30779432b1f9c8c4a3861394a8e Mon Sep 17 00:00:00 2001
From: Mateusz Charytoniuk <mateusz.charytoniuk@protonmail.com>
Date: Wed, 29 May 2024 17:38:20 +0200
Subject: [PATCH] chore: homepage update

---
 docs/pages/index.md                         | 16 +++++++++-------
 resources/css/docs-page-homepage.css        | 10 ++++++----
 resources/icons/plug-circle-plus-000000.svg |  1 -
 resources/icons/plug-circle-plus-333333.svg |  1 +
 4 files changed, 16 insertions(+), 12 deletions(-)
 delete mode 100644 resources/icons/plug-circle-plus-000000.svg
 create mode 100644 resources/icons/plug-circle-plus-333333.svg

diff --git a/docs/pages/index.md b/docs/pages/index.md
index c47ca282..f37de498 100644
--- a/docs/pages/index.md
+++ b/docs/pages/index.md
@@ -22,15 +22,17 @@ description: >
                 Services, and more.
             </h2>
             <p>
-                Resonance is designed from the ground up to facilitate 
-                interoperability and messaging between services in your 
-                infrastructure and beyond. It provides AI capabilities
-                through llama.cpp and integration with Open Source foundational
-                LLMs.
+                Resonance is designed to build IO-intensive web applications 
+                from the ground up, making the development and maintenance as 
+                predictable and easy as possible.            
             </p>
             <p>
-                Takes full advantage of asynchronous PHP. Built on top of 
-                Swoole.
+                It provides AI capabilities through llama.cpp and integration 
+                with Open Source foundational LLMs, which makes it a great fit 
+                for building conversational applications and copilots.
+            </p>
+            <p>
+                Takes full advantage of asynchronous PHP.
             </p>
             <a 
                 class="homepage__cta"
diff --git a/resources/css/docs-page-homepage.css b/resources/css/docs-page-homepage.css
index 147fdc94..7da470a9 100644
--- a/resources/css/docs-page-homepage.css
+++ b/resources/css/docs-page-homepage.css
@@ -55,9 +55,7 @@
 }
 
 .homepage-drivers__item {
-  background-color: white;
   border: 1px solid var(--color-border);
-  color: var(--color-body-font);
   display: flex;
   flex-direction: column;
   padding: 40px 20px 20px 20px;
@@ -68,6 +66,10 @@
 
 .homepage-drivers__item.homepage-drivers__item--amphp {
   --drivers-bg-image: url(../images/amphp.webp);
+
+  .homepage-drivers__item__background {
+    width: 450px;
+  }
 }
 
 .homepage-drivers__item.homepage-drivers__item--openswoole {
@@ -75,7 +77,7 @@
 }
 
 .homepage-drivers__item.homepage-drivers__item--other {
-  --drivers-bg-image: url(../icons/plug-circle-plus-000000.svg);
+  --drivers-bg-image: url(../icons/plug-circle-plus-333333.svg);
 }
 
 .homepage-drivers__item.homepage-drivers__item--swoole {
@@ -87,7 +89,7 @@
   background-position: center;
   background-repeat: no-repeat;
   height: 140px;
-  width: 460px;
+  width: 350px;
 }
 
 .homepage-drivers__item__name {
diff --git a/resources/icons/plug-circle-plus-000000.svg b/resources/icons/plug-circle-plus-000000.svg
deleted file mode 100644
index d1117e90..00000000
--- a/resources/icons/plug-circle-plus-000000.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM432 512a144 144 0 1 0 0-288 144 144 0 1 0 0 288zm16-208v48h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H448v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V384H368c-8.8 0-16-7.2-16-16s7.2-16 16-16h48V304c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg>
diff --git a/resources/icons/plug-circle-plus-333333.svg b/resources/icons/plug-circle-plus-333333.svg
new file mode 100644
index 00000000..7e503667
--- /dev/null
+++ b/resources/icons/plug-circle-plus-333333.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" fill="#333333" viewBox="0 0 576 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM432 512a144 144 0 1 0 0-288 144 144 0 1 0 0 288zm16-208v48h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H448v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V384H368c-8.8 0-16-7.2-16-16s7.2-16 16-16h48V304c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg>
-- 
GitLab