Browse Source

Action buttons

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

12
index.html

@ -40,7 +40,7 @@
</a> </a>
</div> </div>
<div class="block lg:hidden pr-4"> <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"> <svg class="fill-current h-6 w-6" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<title>Menu</title> <title>Menu</title>
<path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" /> <path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" />
@ -60,6 +60,7 @@
</li--> </li-->
</ul> </ul>
<button <button
onclick="act()"
id="navAction" 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" 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> </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> </button>
</div> </div>
@ -466,7 +467,7 @@
<h3 class="my-4 text-3xl leading-tight"> <h3 class="my-4 text-3xl leading-tight">
Подготовка к олимпиадам проста как никогда Подготовка к олимпиадам проста как никогда
</h3> </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> </button>
</section> </section>
@ -627,5 +628,10 @@
return false; return false;
} }
</script> </script>
<script>
function act() {
document.location.href = "/login?signup=1"
}
</script>
</body> </body>
</html> </html>

Loading…
Cancel
Save