Skip to content

Commit e06aece

Browse files
committed
implement new footer design for desktop
1 parent 1b0e015 commit e06aece

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

addon/styles/components/es-footer.css

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@
2323
display: flex;
2424
justify-content: space-between;
2525

26-
& .logo-wrapper {
27-
grid-row: 1 / 4;
26+
& .spacer {
27+
grid-row: 2 / 4;
28+
}
29+
30+
& .info-link {
31+
margin-top: auto;
32+
margin-bottom: auto;
33+
line-height: 40px;
2834
}
2935
}
3036

@@ -58,15 +64,17 @@
5864

5965
& .footer-statement {
6066
justify-content: space-between;
61-
background-color: var(--color-gray-100);
6267
}
6368

6469
& .footer-copyright {
6570
color: var(--color-gray-600);
6671
}
6772

68-
& .footer-contributions-wrapper {
69-
background-color: var(--color-white);
73+
& .footer-spacer {
74+
border: 0;
75+
border-top: 2px solid var(--color-gray-300);
76+
display: block;
77+
height: 2px;
7078
}
7179

7280
& .footer-contributions {

addon/templates/components/es-footer.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77

88
<EsFooter::EsStatement @tagline={{tagline}} />
99

10+
<hr class="footer-spacer container py-0 my-3">
11+
1012
<EsFooter::EsContributions @contributorLinks={{contributorLinks}} />
1113
</footer>

addon/templates/components/es-footer/es-contributions.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="footer-contributions-wrapper container py-3">
1+
<div class="footer-contributions-wrapper container pt-0 pb-3">
22
<div class="footer-contributions">
33
<span>Ember is generously supported by</span>
44
<div class="mt-1">

addon/templates/components/es-footer/es-info.hbs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
<div class="footer-info container py-2 text-sm">
1+
<div class="footer-info container py-5">
22
<div class="footer-info-links">
3-
<div class="logo-wrapper">
4-
<img src="/images/ember-logo.svg" alt="Ember Logo" class="footer-logo">
5-
</div>
3+
4+
<img src="/images/ember-logo.svg" height="40px" width="83px" alt="Ember Logo" class="footer-logo">
5+
6+
<div class="spacer"></div>
7+
68
{{#each args.infoLinks as |link|}}
7-
<a href={{link.href}}>{{link.name}}</a>
9+
<a href={{link.href}} class="info-link">{{link.name}}</a>
810
{{/each}}
911
</div>
1012
<div class="footer-social hide-on-mobile">

addon/templates/components/es-footer/es-statement.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="footer-statement">
2-
<p class="footer-copyright container py-3">
2+
<p class="footer-copyright container py-1">
33
&copy; Copyright {{currentYear}} - <a href="https://www.tilde.io/" class="footer-copyright">Tilde Inc.</a>
44
<br>
55
{{args.tagline}}

0 commit comments

Comments
 (0)