Skip to content

Commit db1505c

Browse files
committed
feat: added footer.
1 parent ebcf4e3 commit db1505c

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

rsrcs/io_inputs/app/config/web_pages/antigravity.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,8 @@ <h1>'Antigravity' Example.</h1>
8888
<!-- <svg id="pyscript_output"></svg> -->
8989
</section>
9090
</main>
91+
<footer class="footer">
92+
<p>Desarrollado por: a1t0ghb | <a href="https://github.com/a1t0ghb" target="_blank">https://github.com/a1t0ghb</a> | <a href="mailto:js101@a1t0.aleeas.com" target="_blank">js101@a1t0.aleeas.com</a></p>
93+
</footer>
9194
</body>
9295
</html>

rsrcs/io_inputs/app/config/web_pages/hello_world.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,8 @@ <h2>Example with 'pyscript.display': display date and time, NOT USING 'target='
147147
<br>
148148
</section>
149149
</main>
150+
<footer class="footer">
151+
<p>Desarrollado por: a1t0ghb | <a href="https://github.com/a1t0ghb" target="_blank">https://github.com/a1t0ghb</a> | <a href="mailto:js101@a1t0.aleeas.com" target="_blank">js101@a1t0.aleeas.com</a></p>
152+
</footer>
150153
</body>
151154
</html>

rsrcs/io_inputs/app/config/web_pages/home.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- 'module' scripts: 'https://neerajdana.medium.com/understanding-type-module-in-javascript-a-comprehensive-guide-ebb13926da7a'.
3030
- 'module' vs. 'non-module' scripts: 'https://neerajdana.medium.com/understanding-type-module-in-javascript-a-comprehensive-guide-ebb13926da7a'.
3131
-->
32-
<script type="module" src="./home-loading_splashscreen_(app).js"></script>
32+
<!-- <script type="module" src="./home-loading_splashscreen_(app).js"></script> -->
3333
<!-- Fallback call to PyScript script to trigger 'py:ready' event, in case there are no PyScript scripts in the page. -->
3434
<script type="py" defer></script>
3535
</head>
@@ -69,5 +69,8 @@ <h1>PyScript Exercises.</h1>
6969
</ul>
7070
</section>
7171
</main>
72+
<footer class="footer">
73+
<p>Desarrollado por: a1t0ghb | <a href="https://github.com/a1t0ghb" target="_blank">https://github.com/a1t0ghb</a> | <a href="mailto:js101@a1t0.aleeas.com" target="_blank">js101@a1t0.aleeas.com</a></p>
74+
</footer>
7275
</body>
7376
</html>

rsrcs/io_inputs/app/config/web_pages/home_(style).css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ html {
5656
body {
5757
background-color: var(--colors_background);
5858
color: var(--colors_02);
59+
/* Make 'footer' stay at the bottom, by expanding 'main': 'https://stackoverflow.com/questions/643879/css-to-make-html-page-footer-stay-at-bottom-of-the-page-with-a-minimum-height-b/20352949#20352949'. */
60+
display: flex;
61+
flex-direction: column;
62+
min-height: 100vh; /* Change height display to MINIMUM 100% of VISIBLE screen. */
63+
}
64+
65+
main {
66+
/* Make 'footer' stay at the bottom, by expanding 'main': 'https://stackoverflow.com/questions/643879/css-to-make-html-page-footer-stay-at-bottom-of-the-page-with-a-minimum-height-b/20352949#20352949'. */
67+
flex-grow: 1;
5968
}
6069

6170
ul {
@@ -126,4 +135,11 @@ ul {
126135
.main-content-pyscript_output_text {
127136
color: var(--colors_04);
128137
}
138+
139+
.footer {
140+
background-color: var(--colors_01);
141+
color: var(--colors_background);
142+
text-align: center;
143+
padding: 12px;
144+
}
129145
}

0 commit comments

Comments
 (0)