This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository www.

View the commit online.

commit 7e22e16e43397d00312964b68397c78486d81a28
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Wed Jun 3 18:16:58 2026 +0100

    add a top page banner area and test it on start
---
 public_html/content/start.php     |  19 ++++++++++++++++++-
 public_html/i/start-banner-bg.jpg | Bin 0 -> 340873 bytes
 public_html/site/site.php         |  24 +++++++++++++++++++++---
 public_html/style.css             |  16 ++++++++++++++++
 4 files changed, 55 insertions(+), 4 deletions(-)

diff --git a/public_html/content/start.php b/public_html/content/start.php
index b35590dc..9157c7c9 100644
--- a/public_html/content/start.php
+++ b/public_html/content/start.php
@@ -1,5 +1,22 @@
 <?php $title="Main"; ?>
-<center><p><?php i("logo.svg", "class='biglogo'");?></p></center>
+<p>
+Enlightenment is a Window Manager, Compositor and Minimal Desktop for
+Linux (the primary platform), BSD and any other compatible UNIX system.
+Source code releases are on our download page. Visit our contribute page
+for our latest source code repositories.
+</p>
+<p>
+The project is currently primarily supporting X11 but has experimental
+Wayland support.
+</p>
+<p>
+EFL Libraries were created to make Enlightenment and related applications.
+They are called EFL. Enlightenment Foundation Libraries. They cover a
+range of functionality from main-loop, to graphics (OpenGL accelerated as
+well as hand-crafted software rendering), scene graphs, networking,
+widgets, data storage, IPC and much more. EFL is also portable between
+Linux, BSD and similar compatible UNIX systems as well as MacOS and Windows.
+</p>
 <p>
 <?php i("shots/e-main.png", "width=100%;");?>
 </p>
diff --git a/public_html/i/start-banner-bg.jpg b/public_html/i/start-banner-bg.jpg
new file mode 100644
index 00000000..23a921b3
Binary files /dev/null and b/public_html/i/start-banner-bg.jpg differ
diff --git a/public_html/site/site.php b/public_html/site/site.php
index b4a91ffa..67b6d2ef 100644
--- a/public_html/site/site.php
+++ b/public_html/site/site.php
@@ -35,12 +35,30 @@
    <img class="head-icon" src="" class="head-icon">
    <?php include 'menu.php'; ?>
   </div>
+<?php /* get the content set in page=xxx - make it sane and include it */
+ $p = str_replace(".", "", $page);
+ $p = str_replace("/", "", $page);
+ $p = "content/" . $p . ".banner.php";
+ if (file_exists($p)) {
+  ob_start();
+  include $p;
+  ob_end_clean();
+  echo "<div class='page-banner'";
+  echo "style='background-image: var(--page-banner-image, ";
+  echo "url(\"i/" . $bg . "\"));\'>";
+  ob_start();
+  include $p;
+  ob_end_flush();
+  echo "</div>\n";
+ }
+?>
   <div class="main-wrap flexy">
 <?php /* get the content set in page=xxx - make it sane and include it */
- $page = str_replace(".", "", $page);
- $page = str_replace("/", "", $page);
+ $p = str_replace(".", "", $page);
+ $p = str_replace("/", "", $page);
+ $p = "content/" . $p . ".php";
  ob_start();
- include "content/" . $page . ".php";
+ include $p;
  ob_end_flush();
 ?>
   </div>
diff --git a/public_html/style.css b/public_html/style.css
index ab75048e..1653937c 100644
--- a/public_html/style.css
+++ b/public_html/style.css
@@ -86,6 +86,22 @@ header {
 .main-wrap {
  margin: 26px;
 }
+.page-banner {
+ width: 100vw;
+ min-height: clamp(160px, 42vw, 360px);
+ margin-left: calc(50% - 50vw);
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: 18px;
+ padding: 40px 26px;
+ text-align: center;
+ background-position: center center;
+ background-repeat: no-repeat;
+ background-size: cover;
+}
 .biglogo {
  margin: 16px;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to