feat: add footer
This commit is contained in:
parent
7ffe0b2cf6
commit
4c44c3df0c
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.6 KiB |
|
|
@ -9,7 +9,7 @@ body {
|
||||||
.content {
|
.content {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 var(--space-small);
|
padding: 0 var(--space-small);
|
||||||
max-width: 1100px;
|
max-width: var(--width);
|
||||||
}
|
}
|
||||||
|
|
||||||
%card {
|
%card {
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,10 @@ p {
|
||||||
margin: 0 0 var(--space-medium) 0;
|
margin: 0 0 var(--space-medium) 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--color-link);
|
||||||
|
}
|
||||||
|
|
||||||
@media ($mobile-breakpoint) {
|
@media ($mobile-breakpoint) {
|
||||||
h1, h2, h3 {
|
h1, h2, h3 {
|
||||||
margin: 0 0 var(--space-medium) 0;
|
margin: 0 0 var(--space-medium) 0;
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@ $mobile-breakpoint: "max-width: 768px";
|
||||||
--color-dark-gradient: linear-gradient(0deg, var(--color-accent) 0%, var(--color-dark) 22%);
|
--color-dark-gradient: linear-gradient(0deg, var(--color-accent) 0%, var(--color-dark) 22%);
|
||||||
--color-on-dark: #f2a6ac;
|
--color-on-dark: #f2a6ac;
|
||||||
|
|
||||||
|
--color-link: var(--color-primary);
|
||||||
|
|
||||||
--space-xsmall: 5px;
|
--space-xsmall: 5px;
|
||||||
--space-small: 10px;
|
--space-small: 10px;
|
||||||
--space-medium: 20px;
|
--space-medium: 20px;
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
{% include "pages/index/games.html" %}
|
{% include "pages/index/games.html" %}
|
||||||
{% include "pages/index/news.html" %}
|
{% include "pages/index/news.html" %}
|
||||||
</div>
|
</div>
|
||||||
|
{% include "pages/index/footer.html" %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
@import 'footer.scss';
|
||||||
@import 'games.scss';
|
@import 'games.scss';
|
||||||
@import 'news.scss';
|
@import 'news.scss';
|
||||||
@import 'presentation.scss';
|
@import 'presentation.scss';
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
<div class="footer">
|
||||||
|
<div class="footer--content">
|
||||||
|
<img class="footer--logo" src="/img/footer-logo.png">
|
||||||
|
<div class="footer--links">
|
||||||
|
<a href="mailto:contact@frog-collective.org">
|
||||||
|
{{ gettext("Contact") }}
|
||||||
|
</a>
|
||||||
|
<img src="/img/social.png"></img>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
.footer {
|
||||||
|
background-image: url("/img/background-black-red.jpg");
|
||||||
|
color: white;
|
||||||
|
font-size: 0.925rem;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&--content {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: var(--space-medium) 0;
|
||||||
|
max-width: var(--width);
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: start;
|
||||||
|
|
||||||
|
@media($mobile-breakpoint) {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
gap: var(--space-large);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&--logo {
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&--links {
|
||||||
|
flex: 1 1 1px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: end;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue