Просмотр исходного кода

Req's for 2nd clan, update team responsibilities

Refactor about.html to use range. Revert clan logo from Christmas.
master
Kevin Mok 4 лет назад
коммит произвёл Kevin Mok
Родитель
Сommit
9a612748a1
Подписано: Kevin-Mok Идентификатор GPG ключа: 6E920656BBAD3E6C
  1. 5
      assets/sass/custom.scss
  2. 5
      config.toml
  3. 37
      data/about.yml
  4. 22
      data/team.yml
  5. 50
      layouts/partials/about.html

5
assets/sass/custom.scss

@ -54,6 +54,11 @@ p, h3, h4 {
}
}
.req-section-title {
font-size: 1.25em;
color: white;
}
// .slick-dots {
// li {
// button {

5
config.toml

@ -57,7 +57,8 @@ custom_css = ["css/custom.css"]
bgImage = "images/slider/hero-area.jpg"
# bgImage = "images/slider/eagle.png"
heading = "Ataraxy"
content= "Top 400, MP-focused clan that is currently looking for friendly and active clan members to play together with."
# content= "Top 400, MP-focused clan that is currently looking for friendly and active clan members to play together with."
content= "Family of CoD:M clans that are currently looking for friendly and active clan members to play together with."
btn = true
btnText="Requirements"
btnURL="#requirements"
@ -69,7 +70,7 @@ custom_css = ["css/custom.css"]
[[params.counter.counterItem]]
title = "Season 2 Ranking"
icon = "tf-ion-trophy"
count = "414"
count = "384"
[[params.counter.counterItem]]
title = "Avg. MP Rank (Season 2)"

37
data/about.yml

@ -3,16 +3,31 @@ heading : Requirements
# headingSpan : Us
aboutItem :
- content : ""
logo: "/images/clan-logo.png"
# logo: "/images/clan-logo-christmas.png"
requirements :
- "Elite 3+ in Season 2 MP"
- "420+ contribution/week (average ~10 MP/BR games/day)"
- "16 years or older"
- "be active on Discord server"
- "use mic for ranked games (English)"
requirementsTitle: Requirements
requirementSections:
- title: Shared Requirements
bullets:
- bullet: "16 years or older"
- bullet: "be active on Discord server"
- bullet: "use mic for ranked games (English)"
benefits :
- "vibrant and respectful Discord community"
- "leadership opportunities"
- "MEE6 leaderboard"
- "various mini-games (Pokecord, raids, gambling and more)"
- title: Ataraxy Requirements
bullets:
- bullet: "Elite 3+ in Season 2 MP"
- bullet: "420+ contribution/week (average ~10 MP/BR games/day)"
- title: Ataraxy2.0 Requirements
bullets:
- bullet: "Level 50+"
- bullet: "120+ contribution/week (average ~3 MP/BR games/day)"
- bullet: "Elite 1+ in either mode for Season 2 (preferred)"
benefitsTitle: Benefits
benefitsBullets:
- bullet: "vibrant and respectful Discord community"
- bullet: "leadership opportunities"
- bullet: "MEE6 leaderboard"
- bullet: "various mini-games (Pokecord, raids, gambling and more)"

22
data/team.yml

@ -4,22 +4,27 @@ headingSpan : Team
teamMember :
- imageName : josh
name : JoshuaAustin07
designation : Clan Master
description : Oversees entire clan's operations. Has final say on all major clan decisions.
designation : Ataraxy Clan Master
description : Oversees entire clan's operations. Assists with recruiting for both clans.
- imageName : bakkuteh
name : bakkuteh
designation : Vice Master
description : In charge of player management. Created spreadsheet to help keep track of player performance metrics.
designation : Ataraxy Vice Master
description : In charge of player management. Manages spreadsheet to help keep track of player performance metrics.
- imageName : pistolfist
name : PistolFist
designation : Vice Master
description : In charge of recruiting. Assists with player management. Created this site and co-designed clan logo. Founder of clan.
designation : Ataraxy2.0 Clan Master
description : In charge of recruiting for both clans. Created this site and co-designed clan logo. Founder of both clans.
# socialIcon :
# - icon : tf-ion-social-facebook
# url : "#"
- imageName : helen
name : Heleners
designation : Ataraxy2.0 Vice Master
description : Assists with recruiting for both clans. Co-founder of both clans.
- imageName : hunter
# - imageName : hunter-rs
name : Hunter
@ -36,8 +41,3 @@ teamMember :
name : Slade
designation : BR Leader
description : Runs BR lobbies and go-to person for BR strategy.
- imageName : helen
name : Heleners
designation : Discord Administrator
description : Manages Discord server. Co-founder of clan.

50
layouts/partials/about.html

@ -6,51 +6,57 @@
<div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeIn" data-wow-duration="1500ms">
<h2>{{ .Site.Data.about.heading}} <span class="color">{{ .Site.Data.about.headingSpan}}</span> </h2>
<h2>{{ .Site.Data.about.requirementsTitle }}</h2>
<div class="border-meghna"></div>
</div>
{{"<!-- /section title -->" | safeHTML}}
</div>
{{"<!-- /section title -->" | safeHTML}}
{{"<!-- About item -->" | safeHTML}}
<div class="mx-auto wow fadeInUp" data-wow-duration="500ms">
<div class="block" id="requirements">
{{"<!-- Express About Yourself -->" | safeHTML}}
<ul>
{{ range $requirement := $.Site.Data.about.requirements }}
<li>{{ $requirement }}</li>
{{ end }}
</ul>
<div class="block">
{{ range .Site.Data.about.requirementSections }}
<p class="req-section-title">{{ .title }}</p>
<ul>
{{ range .bullets }}
<li>{{ .bullet }}</li>
{{ end }}
</ul>
{{ end }}
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeIn" data-wow-duration="1500ms">
<h2>Benefits</h2>
<h2>{{ .Site.Data.about.benefitsTitle }}</h2>
<div class="border-meghna"></div>
</div>
{{"<!-- /section title -->" | safeHTML}}
</div>
{{"<!-- /section title -->" | safeHTML}}
{{"<!-- About item -->" | safeHTML}}
<div class="mx-auto wow fadeInUp" data-wow-duration="500ms">
<div class="block" id="benefits">
{{"<!-- Express About Yourself -->" | safeHTML}}
<ul>
{{ range $benefit := $.Site.Data.about.benefits }}
<li>{{ $benefit }}</li>
{{ end }}
</ul>
<div class="block">
<ul>
{{ range .Site.Data.about.benefitsBullets }}
<li>{{ .bullet }}</li>
{{ end }}
</ul>
</div>
</div>
</div>
<div class="row">
<a class="mx-auto btn btn-transparent"
href="/apply" target="_blank">Apply Now</a>
</div>
<div class="row">
<!-- <img id="clan-logo" class="img-fluid mx-auto" src="/images/clan-logo.png" alt="clan-logo"/> -->
<img id="clan-logo" class="img-fluid mx-auto wow fadeInUp"
src="/images/clan-logo-christmas.png" alt="clan-logo"/>
src="{{ .Site.Data.about.logo }}" alt="clan-logo"/>
</div>
</div>
</section>
{{"<!-- /about -->" | safeHTML}}

Загрузка…
Отмена
Сохранить