From c6705b0e735d67cad868122da397896be1fe8889 Mon Sep 17 00:00:00 2001 From: Ivan Efimov Date: Tue, 21 Dec 2021 23:41:34 -0600 Subject: [PATCH] Added Betaflight Discord server link to the landing page --- locales/en/messages.json | 3 +++ src/css/tabs/landing.css | 27 +++++++++++++++++++++------ src/images/discord-logo-color.svg | 10 ++++++++++ src/tabs/landing.html | 15 +++++++++++---- 4 files changed, 45 insertions(+), 10 deletions(-) create mode 100644 src/images/discord-logo-color.svg diff --git a/locales/en/messages.json b/locales/en/messages.json index 34ba1797..4e2c893c 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -713,6 +713,9 @@ "defaultFacebookText": { "message": "We also have a Facebook Group.
Join us to get a place to talk about Betaflight, ask configuration questions, or just hang out with fellow pilots." }, + "defaultDiscordText": { + "message": "Betaflight Discord Server.
Share your flight experience, talk about Betaflight, help other people or get some help for yourself from the community." + }, "defaultChangelogHead": { "message": "Configurator - Changelog" }, diff --git a/src/css/tabs/landing.css b/src/css/tabs/landing.css index 704effb8..fa4b75c8 100644 --- a/src/css/tabs/landing.css +++ b/src/css/tabs/landing.css @@ -27,7 +27,7 @@ .tab-landing .content_foot { clear: both; - padding: 20px 20px 5px; + padding: 10px 0px 5px; } /* hero block */ @@ -51,7 +51,7 @@ font-weight: 300; } -.text1, .text2, .text3, .text4 { +.text1, .text2, .text3 { margin-top: 15px; margin-bottom: 15px; font-weight: normal; @@ -100,17 +100,34 @@ .tab-landing .content_mid_bottom { padding: 0 15px; + margin-top: 5px; } -.tab-landing .content_mid_bottom .logoFacebook { +.tab-landing .content_mid_bottom .logoSocialMedia { float: left; width: 40px; } -.tab-landing .content_mid_bottom .text4 { +.tab-landing .content_mid_bottom img { + height: 30px; + width: 30px; +} + +.tab-landing .content_mid_bottom .discordLogo { + padding-top: 3px; +} + + +.tab-landing .content_mid_bottom .socialMediaText { margin-top: 0; margin-left: 5px; display: inline-block; + font-weight: normal; + font-size: 12px; +} + +.tab-landing .content_mid_bottom .socialMediaParagraph { + margin-bottom: 15px; } .tab-landing .languageSwitcher .selected_language { @@ -120,10 +137,8 @@ margin-left: auto; margin-right: auto; text-align: center; - color: silver; } .tab-landing .languageSwitcher a { - color: silver; font-weight: normal; white-space: nowrap; } diff --git a/src/images/discord-logo-color.svg b/src/images/discord-logo-color.svg new file mode 100644 index 00000000..3efe1ec1 --- /dev/null +++ b/src/images/discord-logo-color.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/tabs/landing.html b/src/tabs/landing.html index 53a7d1fe..488af976 100644 --- a/src/tabs/landing.html +++ b/src/tabs/landing.html @@ -34,11 +34,18 @@
-
- Facebook +
+
+ +
+
+
+
+
+ +
+
-
-