Skip to content
Snippets Groups Projects
Commit afc3d502 authored by Benjamin Bellamy's avatar Benjamin Bellamy :speech_balloon:
Browse files

feat(platforms): add Fediverse and some funding platforms, add link on logo

parent e6e21ddc
No related branches found
No related tags found
1 merge request!1WIP: German translation
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M22.162 5.656a8.384 8.384 0 0 1-2.402.658A4.196 4.196 0 0 0 21.6 4c-.82.488-1.719.83-2.656 1.015a4.182 4.182 0 0 0-7.126 3.814 11.874 11.874 0 0 1-8.62-4.37 4.168 4.168 0 0 0-.566 2.103c0 1.45.738 2.731 1.86 3.481a4.168 4.168 0 0 1-1.894-.523v.052a4.185 4.185 0 0 0 3.355 4.101 4.21 4.21 0 0 1-1.89.072A4.185 4.185 0 0 0 7.97 16.65a8.394 8.394 0 0 1-6.191 1.732 11.83 11.83 0 0 0 6.41 1.88c7.693 0 11.9-6.373 11.9-11.9 0-.18-.005-.362-.013-.54a8.496 8.496 0 0 0 2.087-2.165z" fill="currentColor"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M22.162 5.656a8.384 8.384 0 0 1-2.402.658A4.196 4.196 0 0 0 21.6 4c-.82.488-1.719.83-2.656 1.015a4.182 4.182 0 0 0-7.126 3.814 11.874 11.874 0 0 1-8.62-4.37 4.168 4.168 0 0 0-.566 2.103c0 1.45.738 2.731 1.86 3.481a4.168 4.168 0 0 1-1.894-.523v.052a4.185 4.185 0 0 0 3.355 4.101 4.21 4.21 0 0 1-1.89.072A4.185 4.185 0 0 0 7.97 16.65a8.394 8.394 0 0 1-6.191 1.732 11.83 11.83 0 0 0 6.41 1.88c7.693 0 11.9-6.373 11.9-11.9 0-.18-.005-.362-.013-.54a8.496 8.496 0 0 0 2.087-2.165z" fill="currentColor"/></svg>
\ No newline at end of file \ No newline at end of file
<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m6.3491 18.83c-0.56506-0.17351-1.2138-0.83126-1.4734-1.4939-0.17093-0.43626-0.19937-0.67537-0.22812-1.9179-0.028936-1.2506 0.00766-1.7765 0.30768-4.4207 0.18729-1.6507 0.34052-3.2018 0.34052-3.447 0-1.1215-0.644-1.5097-1.4299-0.8619-0.32115 0.26472-0.79951 1.1107-1.0305 1.8225l-0.14303 0.44074-0.30562-0.05425c-0.16809-0.029842-0.33464-0.080598-0.3701-0.11279-0.097242-0.088266 0.24986-1.1391 0.59364-1.7973 0.37248-0.71307 1.1149-1.4899 1.6503-1.7267 0.89996-0.3981 1.9847-0.26275 2.5678 0.3204 0.51747 0.51747 0.66507 1.0514 0.65349 2.3639-0.0055 0.61997-0.10576 2.0102-0.22286 3.0894-0.42666 3.9321-0.46032 4.2857-0.45986 4.8309 6.68e-4 0.76101 0.11775 1.1208 0.46371 1.4245 0.22985 0.20181 0.37032 0.25736 0.6508 0.25736 1.9687 0 3.6599-2.3064 4.411-6.0156 0.17516-0.86506 0.19365-1.1797 0.19366-3.2944 1e-6 -1.2859-0.02723-2.46-0.06054-2.6093l-0.06053-0.27137h2.3205l0.06024 0.5626c0.11712 1.0936-0.05575 3.1226-0.55321 6.493-0.29127 1.9734-0.35616 3.5194-0.174 4.146 0.06705 0.23062 0.23015 0.50214 0.40125 0.66798 0.28471 0.27595 0.29784 0.27941 1.0603 0.27941 0.72778 0 0.80944-0.01848 1.4243-0.32236 2.3486-1.1607 4.0824-4.6369 3.8581-7.7352-0.08784-1.2134-0.32659-1.8715-0.84372-2.3255-0.35033-0.3076-0.4238-0.32067-0.54363-0.096756-0.2137 0.3993-1.129 0.57346-1.5532 0.29553-0.3671-0.24053-0.54817-0.62213-0.50927-1.0732 0.03969-0.4603 0.24144-0.77523 0.65127-1.0166 0.22411-0.13201 0.43221-0.16675 0.99324-0.16582 0.60378 9.936e-4 0.7723 0.034028 1.1289 0.22129 0.81315 0.42703 1.4572 1.332 1.7512 2.4605 0.17402 0.66809 0.17417 3.2971 2.51e-4 4.124-0.72812 3.4614-3.2088 6.3679-5.9567 6.9793-1.2677 0.28204-2.5047 0.04143-3.1186-0.60664-0.51583-0.54452-0.86384-1.7498-0.80515-2.7885 0.01543-0.27326 0.02285-0.49677 0.01646-0.49669-0.0064 8.4e-5 -0.14831 0.28802-0.31539 0.63985-0.97609 2.0554-2.7004 3.3799-4.3772 3.3624-0.30589-0.0032-0.73971-0.06218-0.96404-0.13105z" fill="currentColor"/></svg>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M21.543 6.498C22 8.28 22 12 22 12s0 3.72-.457 5.502c-.254.985-.997 1.76-1.938 2.022C17.896 20 12 20 12 20s-5.893 0-7.605-.476c-.945-.266-1.687-1.04-1.938-2.022C2 15.72 2 12 2 12s0-3.72.457-5.502c.254-.985.997-1.76 1.938-2.022C6.107 4 12 4 12 4s5.896 0 7.605.476c.945.266 1.687 1.04 1.938 2.022zM10 15.5l6-3.5-6-3.5v7z" fill="currentColor"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M21.543 6.498C22 8.28 22 12 22 12s0 3.72-.457 5.502c-.254.985-.997 1.76-1.938 2.022C17.896 20 12 20 12 20s-5.893 0-7.605-.476c-.945-.266-1.687-1.04-1.938-2.022C2 15.72 2 12 2 12s0-3.72.457-5.502c.254-.985.997-1.76 1.938-2.022C6.107 4 12 4 12 4s5.896 0 7.605.476c.945.266 1.687 1.04 1.938 2.022zM10 15.5l6-3.5-6-3.5v7z" fill="currentColor"/></svg>
\ No newline at end of file \ No newline at end of file
...@@ -17,12 +17,25 @@ ...@@ -17,12 +17,25 @@
<?php foreach ($platforms as $platform): ?> <?php foreach ($platforms as $platform): ?>
<div class="relative flex items-start mb-4"> <div class="relative flex items-start mb-8">
<div class="flex flex-col w-12 mr-4"> <div class="flex flex-col w-12 mr-4">
<?= platform_icon( <?= anchor(
$platform->type, $platform->submit_url,
$platform->slug, platform_icon(
'w-full mb-1 text-gray-800' $platform->type,
$platform->slug,
$platform->type == 'social' ? 'text-gray-800' : null
),
[
'class' => 'mb-1 text-gray-600 hover:text-gray-900',
'target' => '_blank',
'rel' => 'noopener noreferrer',
'data-toggle' => 'tooltip',
'data-placement' => 'bottom',
'title' => lang('Platforms.submit_url', [
'platformName' => $platform->label,
]),
]
) ?> ) ?>
<div class="inline-flex bg-gray-200"> <div class="inline-flex bg-gray-200">
<?= anchor($platform->home_url, icon('external-link', 'mx-auto'), [ <?= anchor($platform->home_url, icon('external-link', 'mx-auto'), [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment