From 08556430718f9fd64a80a80be162942a97ae6086 Mon Sep 17 00:00:00 2001 From: Rowey Date: Mon, 10 Jan 2022 22:31:44 +0000 Subject: [PATCH] Update Main Page (#317) * Update Main Page - Changed Title from "The Project" to "What is Forged Alliance Forever?" - Added to install via steam * Update Main Page - General text tidy up * Man Page Style Updates - Removed World Chart Styling - removed unused background image line for the feature section * Updated Index page - Keep Titles in same format capitalize first of each work - Lower case map & mods vault - removed to buy from steam text * Update Navbar & Footer - Adding PayPal Donation Links --- public/styles/site/index.sass | 10 ++-------- templates/layouts/default.pug | 9 ++++++++- templates/views/index.pug | 20 ++++++++++---------- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/public/styles/site/index.sass b/public/styles/site/index.sass index b40861d7..c4e2cec1 100644 --- a/public/styles/site/index.sass +++ b/public/styles/site/index.sass @@ -11,11 +11,6 @@ height: 800px box-shadow: 0 0 15px #000000 -#chart-div - max-width: 100% - height: 600px - background-color: #ffffff - .hero:before content: " " width: 100% @@ -56,7 +51,7 @@ .btn-intro:hover background-color: white -// The Project +/* What is Forged Alliance Forever? */ .the-project text-align: center @@ -74,8 +69,7 @@ .features padding-top: 50px padding-bottom: 50px - // background-image: url("/images/features_bg.jpg") - + /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#353535+0,1e1e1e+0,383838+100 */ background: rgb(53,53,53) /* Old browsers */ background: linear-gradient(135deg, rgba(53,53,53,1) 0%,rgba(30,30,30,1) 0%,rgba(56,56,56,1) 100%) diff --git a/templates/layouts/default.pug b/templates/layouts/default.pug index 3d74fe1d..81ecc196 100755 --- a/templates/layouts/default.pug +++ b/templates/layouts/default.pug @@ -52,8 +52,10 @@ html(lang='en') i.fab.fa-facebook-f li: a.icon(href="https://twitter.com/FAFOfficial_") i.fab.fa-twitter - li: a.icon(href="https://github.com/FAForever/") + li: a.icon(href="https://github.com/FAForever") i.fab.fa-github + li: a.icon(href="https://paypal.me/faforever") + i.fab.fa-paypal li form.nav-support-us(action='https://www.patreon.com/faf', method='get', target='_top') button(type='submit', name='submit') @@ -143,6 +145,11 @@ html(lang='en') button(type='submit', name='submit') i.fab.fa-patreon(aria-hidden='true') span Support us + li.footer-support-us-wrapper + form.footer-support-us(action='https://paypal.me/faforever', method='get', target='_top') + button(type='submit', name='submit') + i.fab.fa-paypal(aria-hidden='true') + span Donate here li: a(href="https://forum.faforever.com") Forums li: a(href='/contribution') Contribute li: a(href='/rules') Rules diff --git a/templates/views/index.pug b/templates/views/index.pug index 3c56e613..39573377 100644 --- a/templates/views/index.pug +++ b/templates/views/index.pug @@ -20,16 +20,16 @@ block content .the-project: .container .col-md-3 .col-md-6 - h1 The Project - p Forged Alliance Forever is a community-driven project designed to facilitate online play for Supreme Commander: Forged Alliance. Complete with chat, matchmaking, replay vaults, tournaments and ever evolving balance. + h1 What Is Forged Alliance Forever? + p Forged Alliance Forever is a community-driven project designed to facilitate online play for Supreme Commander: Forged Alliance. Complete with chat, matchmaking, replay vaults, tournaments, map & mods vault and ever-evolving balance. p If you want to experience Forged Alliance in its true glory together with thousands of other players of all skill levels, FAF is the place to be. .features: .container .row .col-md-2 .col-md-4: .text-right h3 Multiplayer - p Host and join teamgames with up to 16 players simultaneously or measure your skill against others in one versus one combat against players from all over the world. - .col-md-4 + p Host and join team games with up to 16 players simultaneously or measure your skill against others in one versus one combat against players from all over the world. + .col-md-4 img(src="/images/multiplayer.png" class="img-responsive") .row .col-md-2 @@ -42,8 +42,8 @@ block content .col-md-2 .col-md-4: .text-right h3 Modding & Map Making - p Experience countless variations on gameplay and thousands of player made maps to keep things fresh forever. - .col-md-4 + p Experience countless variations on gameplay and thousands of player-made maps to keep things fresh forever. + .col-md-4 img(src="/images/modding.jpg" class="img-responsive") .row .col-md-2 @@ -69,8 +69,8 @@ block content .col-md-3 img(src="/images/strategic-zoom.jpg" class="img-responsive") h3 Genre-Defining Command & Control - p Control your units from any vantage point. Issue orders from the theater of war commander's view, or zoom down into the heart of the battle and adjust your strategies on the fly. - .col-md-4 + p Control your units from any vantage point. Issue orders from the theatre of war commander's view, or zoom down into the heart of the battle and adjust your strategies on the fly. + .col-md-4 img(src="/images/destruction.jpg" class="img-responsive") h2 Destruction On An Unparalleled Scale p Attack with unique land, sea, and air units, wage war across frozen tundras, scorching deserts and vast oceans. Devastating experimental units will finish the job. @@ -80,8 +80,8 @@ block content p Unleash the most powerful weapon in the galaxy, the Supreme Commander, in one of four diverse factions: The United Earth Federation, The Cybran Nation, The Aeon Illuminate or The Order (Seraphim). .row.text-center.buy-now hr - h3 In order to play Forged Alliance Forever, you must first install Supreme Commander: Forged Alliance. You can purchase it for less than 10€, below: - .col-md-12 + h3 To play Forged Alliance Forever, you must first install Supreme Commander: Forged Alliance. You can purchase it for less than 10€, below: +.col-md-12 a(href="https://store.steampowered.com/app/9420" class="btn btn-default btn-lg btn-outro btn-danger") Buy from Steam