Skip to content

Commit 16f991d

Browse files
committed
added red colour to text
1 parent 63fa3f2 commit 16f991d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

data/homepage.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ about:
2222
# Applications
2323
applications:
2424
enable: true
25+
heading: "Now Recruiting Until October 1st"
2526
content: "We're recruiting for all teams for the 2021-2022 season! Interested in joining us? Fill out the form below and we'll be in touch!"
2627
button:
2728
text: "Apply Now"

themes/kross/layouts/index.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ <h1 class="text-white font-tertiary">{{ .Site.Data.homepage.banner.title | safeH
5050
</section>
5151
<!-- /hero area -->
5252

53-
{{ if .Site.Data.homepage.about.enable }}
54-
<!-- about -->
53+
{{ if .Site.Data.homepage.applications.enable }}
54+
<!-- Applications -->
5555
<section class="section">
5656
<div class="container">
5757
<div class="row">
5858
<div class="col-lg-10 mx-auto text-center">
59-
{{ with .Site.Data.homepage.about }}
59+
<h2 style="font-weight: 700; color: #D62859">{{ .heading }}</h2>
6060
<p class="font-secondary lead text-dark">{{ .content | markdownify }}</p>
6161
{{ with .button }}
62-
<a href="{{ .URL | absURL }}" class="btn btn-transparent">{{ .text }}</a>
62+
<a style="color: #FFFFFF; background-color: #D62859;" href="{{ .URL | absURL }}" class="btn btn-transparent">{{ .text }}</a>
6363
{{ end }}
6464
{{ end }}
6565
</div>
@@ -69,13 +69,13 @@ <h1 class="text-white font-tertiary">{{ .Site.Data.homepage.banner.title | safeH
6969
<!-- /about -->
7070
{{ end }}
7171

72-
{{ if .Site.Data.homepage.applications.enable }}
73-
<!-- Applications -->
72+
{{ if .Site.Data.homepage.about.enable }}
73+
<!-- about -->
7474
<section class="section">
7575
<div class="container">
7676
<div class="row">
7777
<div class="col-lg-10 mx-auto text-center">
78-
{{ with .Site.Data.homepage.applications }}
78+
{{ with .Site.Data.homepage.about }}
7979
<p class="font-secondary lead text-dark">{{ .content | markdownify }}</p>
8080
{{ with .button }}
8181
<a href="{{ .URL | absURL }}" class="btn btn-transparent">{{ .text }}</a>
@@ -88,7 +88,6 @@ <h1 class="text-white font-tertiary">{{ .Site.Data.homepage.banner.title | safeH
8888
<!-- /about -->
8989
{{ end }}
9090

91-
9291
{{ if .Site.Data.homepage.skill.enable }}
9392
<!-- skills -->
9493
<section class="section">

0 commit comments

Comments
 (0)