Skip to content

Commit 540dd12

Browse files
authored
Merge pull request #152 from dotkernel/issue-138
updated footer layout
2 parents 0a7e4d2 + 21d1604 commit 540dd12

4 files changed

Lines changed: 24 additions & 11 deletions

File tree

public/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App/assets/scss/components/_custom.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ section {
145145
padding: 88px 0;
146146
}
147147

148+
.section-bg-light {
149+
background:var(--surface-2);
150+
border-top:1px solid var(--border-soft);
151+
border-bottom:1px solid var(--border-soft);
152+
}
153+
148154
.section-head {
149155
max-width: 640px;
150156
margin-bottom: 48px;
@@ -1289,7 +1295,6 @@ details.acc {
12891295
}
12901296

12911297
.about-band {
1292-
background: var(--surface);
12931298
border-top: 1px solid var(--border-soft);
12941299
border-bottom: 1px solid var(--border-soft);
12951300
}
@@ -1338,6 +1343,10 @@ footer {
13381343

13391344
.footer-announcement-cta {
13401345
margin-top: 20px;
1346+
1347+
@media (min-width: 992px) {
1348+
margin-top: 0;
1349+
}
13411350
}
13421351

13431352
// Link columns mirroring the top menu, above the copyright/social row.

src/App/templates/app/index.html.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
</div>
8484
</section>
8585

86-
<section style="background:var(--surface-2);border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);">
86+
<section class="section-bg-light">
8787
<div class="wrap">
8888
<div class="section-head">
8989
<span class="eyebrow">Headless Platform</span>
@@ -205,7 +205,7 @@
205205
</div>
206206
</section>
207207

208-
<section style="background:var(--surface-2);border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);">
208+
<section class="section-bg-light">
209209
<div class="wrap">
210210
<div class="section-head">
211211
<span class="eyebrow">Other skeletons</span>
@@ -258,7 +258,7 @@
258258
</div>
259259
</section>
260260

261-
<section style="background:var(--surface-2);border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);">
261+
<section>
262262
<div class="wrap">
263263
<div class="section-head">
264264
<span class="eyebrow">Components</span>
@@ -361,7 +361,7 @@
361361
</div>
362362
</section>
363363
{% if posts is defined and posts is iterable %}
364-
<section>
364+
<section style="background:var(--surface-2);border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);">
365365
<div class="wrap">
366366
<div class="section-head">
367367
<span class="eyebrow">From the blog</span>

src/App/templates/layout/default.html.twig

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,16 @@
8080
{% block page_title %}{% endblock %}
8181
{% block content %}{% endblock %}
8282
</main>
83-
<footer>
83+
<footer class="section-bg-light">
8484
<div class="wrap">
85-
<div class="footer-announcement">
86-
<span class="eyebrow">We do not just build durable architecture; we stand by it.</span>
87-
<p>While we build our digital platforms to stand the test of time, our commercial support ensures they adapt efficiently to your business needs. From 24/7 monitoring to rapid-response troubleshooting, we handle the infrastructure so you can focus on growth.</p>
88-
<a class="btn btn-primary footer-announcement-cta" href="https://www.apidemia.com/#contact" target="_blank">Partner With Our Experts</a>
85+
<div class="footer-announcement row align-items-center gy-3">
86+
<div class="col-12 col-lg-8">
87+
<span class="eyebrow">We do not just build durable architecture; we stand by it.</span>
88+
<p>While we build our digital platforms to stand the test of time, our commercial support ensures they adapt efficiently to your business needs. From 24/7 monitoring to rapid-response troubleshooting, we handle the infrastructure so you can focus on growth.</p>
89+
</div>
90+
<div class="col-12 col-lg-4 text-lg-end">
91+
<a class="btn btn-primary footer-announcement-cta" href="https://www.apidemia.com/#contact" target="_blank">Partner With Our Experts</a>
92+
</div>
8993
</div>
9094
{# Mirrors the top menu: the Products dropdown, then the remaining menu items. #}
9195
<nav class="footer-nav" aria-label="Footer">

0 commit comments

Comments
 (0)