Skip to content

Commit 65fdcdc

Browse files
authored
Merge pull request #393 from UniversityRadioYork/ash/update-cin
Update CIN for 2025
2 parents 214670e + 06b9322 commit 65fdcdc

File tree

6 files changed

+27
-21
lines changed

6 files changed

+27
-21
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sass/base/_backgrounds.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@
5757
.bg-cin {
5858
background: $cin-background;
5959
color: $cin-primary;
60+
61+
a {
62+
color: $link-color-cin;
63+
}
64+
}
65+
66+
input.bg-cin::placeholder {
67+
color: $cin-primary;
6068
}
6169

6270
.bg-cin:focus {

sass/base/_variables.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ $primetime: #feb93a;
1616
$collab: #d14fda;
1717

1818
$cin-primary: #FFF;
19-
$cin-dark-primary: #E5204D;
20-
$cin-background: #210B3C;
19+
$cin-dark-primary: #f9b9bd;
20+
$cin-background: #307dbf;
21+
$link-color-cin: #b2e2ff;
2122

2223
$disabled-color: rgb(150, 150, 150);
2324
$primary-color: $ury-blue-color;

structs/config.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ type PageContext struct {
3535
MainTwitter string `toml:"mainTwitter"`
3636
MainFacebook string `toml:"mainFacebook"`
3737
MainInstagram string `toml:"mainInstagram"`
38+
MainTikTok string `toml:"mainTikTok"`
3839
NewsTwitter string `toml:"newsTwitter"`
3940
MyRadioAPIKey string `toml:"publicMyRadioAPIKey"`
4041
ODName string `toml:"odName"`
4142
Christmas bool `toml:"christmas"`
4243
AprilFools bool `toml:"aprilFools"`
43-
Pride bool `toml:"pride"`
44+
Pride bool `toml:"pride"`
4445
CIN bool `toml:"cin"`
4546
CINLivestreaming bool `toml:"cinLivestreaming"`
4647
CINAPI string `toml:"cinAPI"`
@@ -94,14 +95,14 @@ type Page struct {
9495
}
9596

9697
type youtube struct {
97-
APIKey string `toml:"apiKey"`
98-
CINPlaylistID string `toml:"cinPlaylistID"`
99-
ChannelURL string `toml:"channelURL"`
98+
APIKey string `toml:"apiKey"`
99+
CINPlaylistID string `toml:"cinPlaylistID"`
100+
ChannelURL string `toml:"channelURL"`
100101
}
101102

102103
type osm struct {
103-
Lat float32 `toml:"latitude"`
104-
Lng float32 `toml:"longitude"`
104+
Lat float32 `toml:"latitude"`
105+
Lng float32 `toml:"longitude"`
105106
}
106107

107108
// ShortURLsConfig is a structure configuring the short-urls subsystem.

views/cin.tmpl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{{define "title"}}{{.PageContext.ShortName}} | Candidate Interview Night{{end}}
22

3-
{{define "head"}}
4-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
5-
{{end}}
6-
73
{{define "content"}}
84
<div class="container-fluid bg-cin-2">
95
<div class="container bg-cin bg-cin-space">
@@ -17,13 +13,13 @@
1713
<div class="container-fluid container-padded text-center">
1814
<div class="row">
1915
<div class="col-md-4 align-self-center">
20-
<a href="//twitter.com/{{.PageContext.MainTwitter}}"><i class="fab fa-twitter fa-2x"></i><h3>Find us on Twitter</h3></a>
16+
<a href="//instagram.com/{{.PageContext.MainInstagram}}" class="cin-link"><i class="fab fa-instagram fa-2x"></i><h3>Find us on Instagram</h3></a>
2117
</div>
2218
<div class="col-md-4 align-self-center">
2319
<h3>Join in with the conversation<br>{{.PageContext.CINHashtag}}</h3>
2420
</div>
2521
<div class="col-md-4 align-self-center">
26-
<a href="//facebook.com/{{.PageContext.MainFacebook}}"><i class="fab fa-facebook fa-2x"></i><h3>Find us on Facebook</h3></a>
22+
<a href="//tiktok.com/{{.PageContext.MainTikTok}}" class="cin-link"><i class="fab fa-tiktok fa-2x"></i><h3>Find us on TikTok</h3></a>
2723
</div>
2824
</div>
2925
</div>

views/partials/base.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
<link rel="stylesheet" href='{{url "/css/main.scss.css"}}?ver={{ .PageContext.CacheBuster }}' type="text/css">
4141
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,500|Roboto:300,400,500">
42-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
42+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous">
4343
</head>
4444
<body>
4545
{{block "header-block" .}}

0 commit comments

Comments
 (0)