Browse Source

Action buttons

master
Lev 3 years ago
parent
commit
2b341cd53c
  1. 12
      index.html

12
index.html

@ -40,7 +40,7 @@
</a>
</div>
<div class="block lg:hidden pr-4">
<button id="nav-toggle" class="flex items-center p-1 text-pink-800 hover:text-gray-900 focus:outline-none focus:shadow-outline transform transition hover:scale-105 duration-300 ease-in-out">
<button onclick="act()" id="nav-toggle" class="flex items-center p-1 text-pink-800 hover:text-gray-900 focus:outline-none focus:shadow-outline transform transition hover:scale-105 duration-300 ease-in-out">
<svg class="fill-current h-6 w-6" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<title>Menu</title>
<path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" />
@ -60,6 +60,7 @@
</li-->
</ul>
<button
onclick="act()"
id="navAction"
class="mx-auto lg:mx-0 hover:underline bg-white text-gray-800 font-bold rounded-full mt-4 lg:mt-0 py-4 px-8 shadow opacity-75 focus:outline-none focus:shadow-outline transform transition hover:scale-105 duration-300 ease-in-out"
>
@ -83,7 +84,7 @@
Покажи всем, на что ты способен!
Используй наш сервис для подготовки к олимпиадам по физике, чтобы побеждать
</p>
<button class="mx-auto lg:mx-0 hover:underline bg-white text-gray-800 font-bold rounded-full my-6 py-4 px-8 shadow-lg focus:outline-none focus:shadow-outline transform transition hover:scale-105 duration-300 ease-in-out">
<button onclick="act()" class="mx-auto lg:mx-0 hover:underline bg-white text-gray-800 font-bold rounded-full my-6 py-4 px-8 shadow-lg focus:outline-none focus:shadow-outline transform transition hover:scale-105 duration-300 ease-in-out">
Заботать
</button>
</div>
@ -466,7 +467,7 @@
<h3 class="my-4 text-3xl leading-tight">
Подготовка к олимпиадам проста как никогда
</h3>
<button class="mx-auto lg:mx-0 hover:underline bg-white text-gray-800 font-bold rounded-full my-6 py-4 px-8 shadow-lg focus:outline-none focus:shadow-outline transform transition hover:scale-105 duration-300 ease-in-out">
<button onclick="act()" class="mx-auto lg:mx-0 hover:underline bg-white text-gray-800 font-bold rounded-full my-6 py-4 px-8 shadow-lg focus:outline-none focus:shadow-outline transform transition hover:scale-105 duration-300 ease-in-out">
Вперёд!
</button>
</section>
@ -627,5 +628,10 @@
return false;
}
</script>
<script>
function act() {
document.location.href = "/login?signup=1"
}
</script>
</body>
</html>

Loading…
Cancel
Save