From aaafab5bff55f9eca7deba57cd9ad0afa63188d5 Mon Sep 17 00:00:00 2001 From: Lukasz Owsiak Date: Sun, 4 Feb 2024 21:47:45 +0200 Subject: [PATCH] Adjusted landing page mobile view + some minor fixes --- web/landing/README.md | 6 ++-- web/landing/composer.json | 2 +- .../src/Flow/Website/Service/Github.php | 1 + web/landing/templates/base.html.twig | 4 ++- web/landing/templates/main/index.html.twig | 34 ++++++++++++------- 5 files changed, 29 insertions(+), 18 deletions(-) diff --git a/web/landing/README.md b/web/landing/README.md index 6c02f727d..8daa3ad53 100644 --- a/web/landing/README.md +++ b/web/landing/README.md @@ -17,13 +17,13 @@ Otherwise, you can use [https://127.0.0.1:800X](https://127.0.0.1:8000); ## Building Static Content -``` -comoser build +```shell +composer build ``` Before opening a pull request, please verify if the build is successful: -``` +```shell php -S localhost:9000 -t build ``` diff --git a/web/landing/composer.json b/web/landing/composer.json index 1f68e588a..1a5110ef4 100644 --- a/web/landing/composer.json +++ b/web/landing/composer.json @@ -78,8 +78,8 @@ "rm -rf build", "APP_ENV=prod bin/console cache:clear", "APP_ENV=prod bin/console importmap:install", - "APP_ENV=prod bin/console asset-map:compile", "APP_ENV=prod bin/console tailwind:build --minify", + "APP_ENV=prod bin/console asset-map:compile", "APP_ENV=prod bin/console static-content-generator:generate:routes --clean", "APP_ENV=prod bin/console static-content-generator:copy:assets -d public" ] diff --git a/web/landing/src/Flow/Website/Service/Github.php b/web/landing/src/Flow/Website/Service/Github.php index b6604b735..031f9288d 100644 --- a/web/landing/src/Flow/Website/Service/Github.php +++ b/web/landing/src/Flow/Website/Service/Github.php @@ -63,6 +63,7 @@ public function contributors() : array ->drop('unpacked', 'data') ->filter(not(ref('login')->endsWith(lit('[bot]')))) ->filter(not(ref('login')->equals(lit('aeon-automation')))) + ->withEntry('avatar_url', ref('avatar_url')->concat(lit('&s=128'))) ->limit(24) ->write(to_memory($memory = new ArrayMemory())) ->run(); diff --git a/web/landing/templates/base.html.twig b/web/landing/templates/base.html.twig index 2346da8d0..719797c6b 100644 --- a/web/landing/templates/base.html.twig +++ b/web/landing/templates/base.html.twig @@ -2,7 +2,9 @@ - + + + Flow ETL - PHP Data Processing Framework diff --git a/web/landing/templates/main/index.html.twig b/web/landing/templates/main/index.html.twig index 4311ca409..6cef482e1 100644 --- a/web/landing/templates/main/index.html.twig +++ b/web/landing/templates/main/index.html.twig @@ -1,39 +1,47 @@ {% extends 'base.html.twig' %} +{%- block description -%} + {%- if app.current_route == 'main' -%} + Flow PHP main page with code examples. + {%- else -%} + Flow PHP '{{ currentTopic | humanize | lower }}' topic showing '{{ currentExample | humanize | lower }}' code example. + {%- endif -%} +{%- endblock -%} + {% block main %} -
-

UNIFIED DATA PROCESSING FRAMEWORK

+
+

UNIFIED DATA PROCESSING FRAMEWORK

composer require flow-php/etl elephant
-
-
+
+
extract -

Extracts

+

Extracts

Retrieves and verifies data from various sources.

- arrow right + arrow right -
+
transform -

Transforms

+

Transforms

Processes and organizes extracted data so it is usable.

- arrow right + arrow right -
+
load -

Loads

+

Loads

Moves transformed data to a data repository.

-
+
-
+

Contributors