fix: devweb - Fix footer position

This commit is contained in:
kmitresse
2024-06-12 18:31:45 +02:00
parent 2184320d53
commit 59daaec37d
4 changed files with 16 additions and 6 deletions
@@ -1,9 +1,14 @@
<%@tag description="component/footer" pageEncoding="UTF-8" %> <%@ tag import="uppa.project.web.translation.Translator" %>
<%@taglib prefix="component" tagdir="/WEB-INF/tags/components" %>
<%@ tag import="uppa.project.Global" %>
<%@ tag import="java.text.MessageFormat" %>
<%@ tag pageEncoding="UTF-8" %>
<% Translator translator = (Translator) request.getSession().getAttribute("translator"); %>
<footer class="footer"> <footer class="footer">
<div class="content has-text-centered"> <div class="content has-text-centered">
<p> <p>
<strong>Cards Rush</strong> par Kevin Mitressé & Lucàs Vabre. UPPA M1-TI 2024 ${MessageFormat.format(translator.translate('footer'), Global.APP_NAME)}
</p> </p>
</div> </div>
</footer> </footer>
@@ -1,4 +1,5 @@
<%@tag description="component/hero" pageEncoding="UTF-8" %> <%@tag description="component/hero" pageEncoding="UTF-8" %>
<%@taglib prefix="component" tagdir="/WEB-INF/tags/components" %>
<div class="hero is-primary is-fullheight-with-navbar"> <div class="hero is-primary is-fullheight-with-navbar">
<div class="hero-body"> <div class="hero-body">
@@ -6,4 +7,5 @@
<jsp:doBody/> <jsp:doBody/>
</div> </div>
</div> </div>
</div> <component:footer/>
</div>
@@ -30,7 +30,5 @@
<component:navbar/> <component:navbar/>
<jsp:doBody/> <jsp:doBody/>
<component:footer/>
</body> </body>
</html> </html>
@@ -3,10 +3,15 @@
--bulma-primary-s: 70%; --bulma-primary-s: 70%;
--bulma-primary-l: 35%; --bulma-primary-l: 35%;
--modal-content-width: 50rem; --modal-content-width: 50rem;
--bulma-custom-footer-padding: 1rem 1.5rem 1rem;
} }
.hero { .hero {
background: url("../img/Home.svg") lightgray 50% / cover no-repeat; background: url("../img/Home.svg") lightgray 50% / cover no-repeat;
.footer {
padding: var(--bulma-custom-footer-padding); !important;
}
} }
label.radio.button > input[type="radio"] { label.radio.button > input[type="radio"] {