Made the footer stay at the bottom

This commit is contained in:
Rasmus Rasmussen 2025-02-01 11:21:47 +01:00
parent 2c71abf30f
commit a4684476f5
2 changed files with 25 additions and 20 deletions

View File

@ -2,6 +2,7 @@
</script> </script>
<template> <template>
<div class="flex flex-col min-h-screen">
<header> <header>
<div class="pt-10 px-4 text-2xl grid place-items-center"> <div class="pt-10 px-4 text-2xl grid place-items-center">
<nav> <nav>
@ -14,13 +15,15 @@
</div> </div>
</header> </header>
<main class="pt-10 flex justify-center"> <main class="pt-10 flex justify-center grow">
<div class="w-full max-w-screen-lg px-4"> <div class="w-full max-w-screen-lg px-4">
<RouterView /> <RouterView />
</div> </div>
</main> </main>
<footer class="flex justify-center pt-10 mt-10 inset-x-0 bottom-0"> <footer class="flex justify-center pt-10 mt-10 pb-2">
Author: Still under construction Author: Still under construction
</footer> </footer>
</div>
</template> </template>

View File

@ -8,8 +8,10 @@
<hr> <hr>
<p>Fortran (Formula Translation), is one of the ancient languages somehow still in use as of today. First introduced <p>Fortran (Formula Translation), is one of the ancient languages somehow still in use as of today. First introduced
in the 1950s by a team at IBM, Fortran was designed specifically for scientific and engineering applications, in the 1950s by a team at IBM, Fortran was designed specifically for scientific and engineering applications,
where its ability to efficiently handle complex mathematical operations.</p> where its ability to efficiently handle complex mathematical operations far outperformed rivaling languages at the
time.</p>
<br> <br>
<p> <p>
Over the years, Fortran has undergone numerous updates and revisions, with the most recent standard being Fortran Over the years, Fortran has undergone numerous updates and revisions, with the most recent standard being Fortran
2023. Even with the popularity of newer languages, such as C++, Java, and Python, Fortran remains a popular choice 2023. Even with the popularity of newer languages, such as C++, Java, and Python, Fortran remains a popular choice