diff --git a/env.example b/env.example index 5b8cb36653245921a245bda6313b083dc9a29e64..79d4cf29dffe08c8c0f1de6120b98abcedac3f44 100644 --- a/env.example +++ b/env.example @@ -3,4 +3,4 @@ DATABASE_URL="postgresql://rybicka:rybicka@localhost:5432/rybicka" SECRET_KEY="%@=^sip3=tqn6d_-xvvidc1@-t0t3&*kab@vr4c4" # Production settings -ALLOWED_HOSTS="nastroje.pirati.cz" +ALLOWED_HOSTS="tools.pirati.cz" diff --git a/member_group_size_calc/templates/member_group_size_calc/index.html b/member_group_size_calc/templates/member_group_size_calc/index.html index 88c19886ce94933c6a44ae689f589a33717bf8d8..14848495f55775daa46c38d85c3adda498b3681c 100644 --- a/member_group_size_calc/templates/member_group_size_calc/index.html +++ b/member_group_size_calc/templates/member_group_size_calc/index.html @@ -19,7 +19,7 @@ <div class="text-amber-800"> Tato kalkulačka slouží pro výpočet skupiny členů podle <a class="underline text-amber-900" - href="https://wiki.pirati.cz/rules/jdr" + href="https://wiki.pirati.cz/rules/jdr#skupina_clenu" >Jednacího řádu</a>. </div> </div> @@ -123,7 +123,7 @@ </div> <p class="font-light"> - <i>Vypočtené hodnoty jsou zaokrouhleny na celé číslo nahoru.</i> + <i>Vypočtené hodnoty se zaokrouhlují na celé osoby (nahoru).</i> </p> </main> {% endblock %} diff --git a/shared/static/shared/scissors.webp b/shared/static/shared/scissors.webp new file mode 100644 index 0000000000000000000000000000000000000000..d81ed816900645b471977afec959b0bb8fe33dd9 Binary files /dev/null and b/shared/static/shared/scissors.webp differ diff --git a/shared/templates/shared/index.html b/shared/templates/shared/index.html index a74d755713145504b354ee941cc6b5ceca9765c4..dc56a28ed734ad16d8306467d76cb3bdd5db0fb8 100644 --- a/shared/templates/shared/index.html +++ b/shared/templates/shared/index.html @@ -14,8 +14,8 @@ {% block content %} <main> <h1 class="text-6xl font-bebas mb-5">Rychlé nástroje</h1> - <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> - <article class="card"> + <ul class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> + <li class="card"> <a href="{% url "member_group_size_calc:index" %}"> <img src="{% static "shared/calculator.webp" %}" @@ -33,7 +33,26 @@ Výpočet velikosti skupiny členů podle jednacího řádu. </div> </div> - </article> - </div> + </li> + <li class="card"> + <a href="https://z.pirati.cz" target="_blank"> + <img + src="{% static "shared/scissors.webp" %}" + alt="Zkracovač odkazů" + class="w-full h-48 object-cover" + > + </a> + <div class="p-4"> + <h2 class="mb-2 text-xl font-bold"> + <a href="https://z.pirati.cz" target="_blank"> + Zkracovač odkazů + </a> + </h2> + <div class="font-light text-sm break-words"> + Webová aplikace sloužící k vytvoření alternativních krátkých URL adres. + </div> + </div> + </li> + </ul> </main> {% endblock %}