Skip to content

Commit 31e6713

Browse files
authored
task: add playground cta to website (#1977)
1 parent 9483e00 commit 31e6713

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

web/landing/templates/base.html.twig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
<img src="{{ asset('images/icons/heart.svg') }}" alt="external resource" width="20" height="20" class="ml-1">
8080
</a>
8181
</li>
82+
<li>
83+
<a class="p-3 flex items-center" href="{{ path('playground') }}">
84+
Demo
85+
<img src="{{ asset('images/icons/play.svg') }}" alt="Flow PHP Playground" width="16" height="16" class="ml-1">
86+
</a>
87+
</li>
8288
<li>
8389
<a class="p-3 flex items-center" href="{{ path('example_option', {topic: 'data_frame', 'example': 'data_reading', 'option' : 'array', _fragment: 'example'}) }}">
8490
Examples

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
<a class="text-white" href="{{ url('changelog') }}">Changelog</a>
1212
<a class="text-white ml-4" href="{{ url('blog_post', {'date': '2025-03-16', 'slug': 'flow-php-release-cycle'}) }}">Release Cycle</a>
1313
</p>
14+
<p class="mt-4">
15+
<a class="py-2 px-4 bg-orange-100 rounded font-semibold hover:bg-orange-200 transition-colors whitespace-nowrap text-white" href="{{ path('playground') }}">
16+
<img src="{{ asset('images/icons/play.svg') }}" alt="play" width="20" height="20" class="mr-2 inline-block">
17+
Try Flow Online
18+
</a>
19+
</p>
1420
{% endapply %}
1521
<img src="{{ asset('images/elephant.svg') }}" alt="elephant" width="720" class="max-lg:hidden absolute right-0 top-0">
1622
</div>

0 commit comments

Comments
 (0)