Skip to content

Commit 25b7415

Browse files
committed
Added sponsor page
1 parent beac30a commit 25b7415

File tree

6 files changed

+68
-2
lines changed

6 files changed

+68
-2
lines changed

web/landing/.php-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.1
1+
8.2
Lines changed: 5 additions & 0 deletions
Loading

web/landing/src/Flow/Website/Controller/HomeController.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,10 @@ public function home() : Response
3030
'topics' => $this->examples->topics(),
3131
]);
3232
}
33+
34+
#[Route('/sponsor', name: 'sponsor', options: ['sitemap' => false])]
35+
public function sponsor() : Response
36+
{
37+
return $this->render('main/sponsor.html.twig', []);
38+
}
3339
}

web/landing/templates/base.html.twig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@
8383
<img src="{{ asset('images/icons/close.svg') }}" alt="close" width="32" height="32">
8484
</button>
8585
</li>
86+
<li>
87+
<a class="p-3 flex items-center" href="{{ path('sponsor') }}">
88+
Sponsor
89+
<img src="{{ asset('images/icons/heart.svg') }}" alt="external resource" width="20" height="20" class="ml-1">
90+
</a>
91+
</li>
8692
<li>
8793
<a class="p-3 flex items-center" href="{{ path('example', {topic: 'data_frame', 'example': 'data_frame', _fragment: 'example'}) }}">
8894
Examples

web/landing/templates/main/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{%- endblock -%}
1212

1313
{% block main %}
14-
<div class="py-10 px-2 sm:px-4 mx-auto max-w-screen-xl" data-hx-boost="true">
14+
<div class="pt-10 pb-5 px-2 sm:px-4 mx-auto max-w-screen-xl" data-hx-boost="true">
1515
<h2 class="mb-4 text-2xl font-semibold tracking-wide">Examples:</h2>
1616
<nav class="font-medium text-center bg-orange-100 rounded">
1717
<ul class="flex whitespace-nowrap overflow-auto justify-between">
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{% extends 'base.html.twig' %}
2+
3+
{%- block title -%}
4+
Sponsor - Flow PHP - Data Processing Framework
5+
{%- endblock -%}
6+
7+
{%- block description -%}
8+
Flow is a PHP-based, strongly typed data processing framework with low memory footprint that can process various data sources consistently.
9+
It offers a unified API for all data sources, including CSV, JSON, XML, Text, Parquet, Avro, Rest API, RDBMS, Elasticsearch / Meilisearch.
10+
Flow not only enables you to process various data sources consistently, but also strives to accurately detect data types and cast them to the appropriate PHP types.
11+
{%- endblock -%}
12+
13+
{#{% block tracking %}#}
14+
{#{% endblock %}#}
15+
16+
{% block hero %}
17+
{% endblock %}
18+
19+
{% block main %}
20+
<div class="max-w-screen-xl mx-auto" data-controller="cookie-fallback">
21+
<section class="mx-auto my-10 px-2">
22+
<h1 class="font-bold text-6xl">Sponsor Flow <img src="{{ asset('images/icons/heart.svg') }}" alt="external resource" width="64" height="64" class="ml-1 inline"></h1>
23+
<p class="mt-4">
24+
Flow PHP is an Open Source Project and is free to use. If you find Flow PHP useful, please consider sponsoring the project.<br/>
25+
With your support, we can continue to improve the project and provide better support to the community.
26+
</p>
27+
28+
<p class="mt-2">
29+
Flow PHP was originally inspired by the need for rapid, flexible data processing flows in modern PHP applications. Through the project, I aim to lessen the complexity of event-based architectures while providing maintainable, tested, and production-ready tools. Your sponsorship will help grow the project further—funding more in-depth documentation, additional features, and a sustainable roadmap. Thank you for supporting open-source innovation!
30+
</p>
31+
<p class="mt-2">
32+
Flow PHP is developed under an the MIT license, and it's completely free to use by anyone, including commercial use cases!
33+
</p>
34+
<div class="mt-4 text-center">
35+
<iframe src="https://github.com/sponsors/norberttech/card" title="Sponsor norberttech" style="border: 0; min-width:390px; max-width: 650px; min-height: 250px;"></iframe>
36+
</div>
37+
<hr class="mt-4" />
38+
39+
<h3 class="mt-4 font-bold text-4xl">Hire me!</h3>
40+
<p>
41+
Another great way to support my work and help Flow to grow is to hire me to consult/support your project!
42+
If you hire me for a Workshop or a minimum of 20 hours, your logo can be added to a flow-php sponsors page 🤑
43+
</p>
44+
<p>
45+
Please find more at <a href="https://norbert.tech/consulting" target="_blank">https://norbert.tech/consulting</a>
46+
</p>
47+
</section>
48+
</div>
49+
{% endblock %}

0 commit comments

Comments
 (0)