Compare commits

...

5 Commits

11 changed files with 62 additions and 15 deletions

View File

@ -1,5 +1,4 @@
{ {
"recommendations": [ "recommendations": [
"ms-vscode.live-server"
] ]
} }

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-06-11 17:28+0200\n" "POT-Creation-Date: 2024-06-12 16:55+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n" "Language: fr\n"
@ -31,9 +31,9 @@ msgstr "Jeux"
msgid "News" msgid "News"
msgstr "Actus" msgstr "Actus"
#: src/lib/nav.html:20 src/pages/index/footer.html:11 #: src/lib/nav.html:17 src/pages/index/contact.html:4
msgid "Mail" msgid "Contact"
msgstr "Mail" msgstr "Contact"
#: src/pages/index.html:6 #: src/pages/index.html:6
msgid "Frog Collective is a french indie computer game studio." msgid "Frog Collective is a french indie computer game studio."
@ -41,6 +41,15 @@ msgstr ""
"Frog Collective est un studio indépendant de développement de jeux vidéos" "Frog Collective est un studio indépendant de développement de jeux vidéos"
" basé en France." " basé en France."
#: src/pages/index/contact.html:13
msgid ""
"If you want to contact us about our games, for business inquiries, press "
"or anything else please click on the button below."
msgstr ""
"Si vous souhaitez nous contacter au sujet de nos jeux, pour des questions"
" commerciales, presse ou autre, veuillez cliquer sur le bouton ci-"
"dessous."
#: src/pages/index/footer.html:5 #: src/pages/index/footer.html:5
msgid "Copyright © Frog Collective 2024. All rights reserved." msgid "Copyright © Frog Collective 2024. All rights reserved."
msgstr "Copyright © Frog Collective 2024. Tous droits réservés." msgstr "Copyright © Frog Collective 2024. Tous droits réservés."

View File

@ -14,6 +14,7 @@
<a href="#collective" class="nav-bar--menu-link">{{ gettext('Collective') }}</a> <a href="#collective" class="nav-bar--menu-link">{{ gettext('Collective') }}</a>
<a href="#games" class="nav-bar--menu-link">{{ gettext('Games') }}</a> <a href="#games" class="nav-bar--menu-link">{{ gettext('Games') }}</a>
<a href="#news" class="nav-bar--menu-link">{{ gettext('News') }}</a> <a href="#news" class="nav-bar--menu-link">{{ gettext('News') }}</a>
<a href="#contact" class="nav-bar--menu-link">{{ gettext('Contact') }}</a>
</div> </div>
<div class="nav-bar--links"> <div class="nav-bar--links">
{% with class_prefix="nav-bar" %} {% with class_prefix="nav-bar" %}

View File

@ -4,7 +4,6 @@
</a> </a>
{% endmacro %} {% endmacro %}
{{ social_link(gettext('Mail'), 'mail-fill.svg', 'mailto:contact@frog-collective.com') }}
{{ social_link('Itch.io', 'itchio-fill.svg', 'https://frog-collective.itch.io/') }} {{ social_link('Itch.io', 'itchio-fill.svg', 'https://frog-collective.itch.io/') }}
{{ social_link('Youtube', 'youtube-fill.svg', 'https://www.youtube.com/@FrogCoGames') }} {{ social_link('Youtube', 'youtube-fill.svg', 'https://www.youtube.com/@FrogCoGames') }}
{{ social_link('Twitch', 'twitch-fill.svg', 'https://www.twitch.tv/frogcollective') }} {{ social_link('Twitch', 'twitch-fill.svg', 'https://www.twitch.tv/frogcollective') }}

View File

@ -23,6 +23,7 @@
{% include "pages/index/presentation.html" %} {% include "pages/index/presentation.html" %}
{% include "pages/index/games.html" %} {% include "pages/index/games.html" %}
{% include "pages/index/news.html" %} {% include "pages/index/news.html" %}
{% include "pages/index/contact.html" %}
</div> </div>
{% include "pages/index/footer.html" %} {% include "pages/index/footer.html" %}
</body> </body>

View File

@ -2,3 +2,4 @@
@import 'games.scss'; @import 'games.scss';
@import 'news.scss'; @import 'news.scss';
@import 'presentation.scss'; @import 'presentation.scss';
@import 'contact.scss';

View File

@ -0,0 +1,22 @@
{% from "lib/section.html" import section %}
{% call section(
gettext("Contact"),
"contact",
"/img/section-collective.png",
title_picture_hover = "/img/section-collective-hover.png",
title_picture_active = "/img/section-collective-active.png",
title_picture_offset = "50px"
) %}
<div class="contact--content">
<p>
{% trans %}
If you want to contact us about our games, for business inquiries, press or anything else please click on the button below.
{% endtrans %}
</p>
<a class="contact--button" href="mailto:contact@frog-collective.com">
<img class="contact--button-icon" src="/img/mail-fill.svg"></img>
Contact Us
</a>
</div>
{% endcall %}

View File

@ -0,0 +1,21 @@
.contact {
&--content {
@extend %card;
display: flex;
flex-direction: column;
}
&--button {
@extend %button;
align-self: center;
align-items: center;
display: flex;
}
&--button-icon {
width: 2.2em;
filter: invert(100%);
padding-right: var(--space-small);
}
}

View File

@ -43,10 +43,6 @@
align-items: center; align-items: center;
justify-content: end; justify-content: end;
@media($mobile-breakpoint) {
flex-direction: column;
}
img { img {
width: 1.8em; width: 1.8em;
filter: invert(100%); filter: invert(100%);

View File

@ -13,10 +13,9 @@
<h3 class="news--date">{{ news.meta.date }}</h3> <h3 class="news--date">{{ news.meta.date }}</h3>
<h2 class="news--title">{{ news.meta.title }}</h2> <h2 class="news--title">{{ news.meta.title }}</h2>
</div> </div>
<div class="news--content"> <div class="news--content">
<style>{{ news.meta.css }}</style> <style>{{ news.meta.css }}</style>
{{ news }} {{ news }}
</div>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}

View File

@ -5,7 +5,6 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: var(--space-medium);
&--header { &--header {
display: flex; display: flex;