Skip to content

Commit

Permalink
feat: add reload, lose other button
Browse files Browse the repository at this point in the history
  • Loading branch information
jgafnea committed May 9, 2024
1 parent 83b6bca commit 63b7d90
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions templates/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,25 @@
<p class="max-w-xl mx-auto mt-8 text-base leading-relaxed text-gray-500">{{ paragraph }}</p>
<div class="flex justify-center w-full max-w-2xl gap-2 mx-auto mt-6">
<div class="mt-3 rounded-lg sm:mt-0">
<button class="px-5 py-4 text-base font-medium text-center text-white transition duration-500 ease-in-out transform bg-blue-600 lg:px-10 rounded-xl hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Get started
</button>
</div>
<div class="mt-3 rounded-lg sm:mt-0 sm:ml-3">
<button class="items-center block px-5 lg:px-10 py-3.5 text-base font-medium text-center text-blue-600 transition duration-500 ease-in-out transform border-2 border-white shadow-md rounded-xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500">
Learn more →
<button class="px-5 py-4 text-base font-medium text-center text-white transition duration-500 ease-in-out transform bg-blue-600 lg:px-10 rounded-xl hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" onclick="reload()">
Get Started
</button>
</div>
<!-- <div class="mt-3 rounded-lg sm:mt-0 sm:ml-3"> -->
<!-- <button class="items-center block px-5 lg:px-10 py-3.5 text-base font-medium text-center text-blue-600 transition duration-500 ease-in-out transform border-2 border-white shadow-md rounded-xl focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"> -->
<!-- Learn more → -->
<!-- </button> -->
<!-- </div> -->
</div>
</div>
</div>
</div>
</div>
</section>
<script>
function reload() {
location.reload();
}
</script>
</body>
</html>

0 comments on commit 63b7d90

Please sign in to comment.