Skip to content

Commit

Permalink
Add hoodie banner (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
LMBishop authored Dec 24, 2024
1 parent 054bd50 commit 28f0a6e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
7 changes: 7 additions & 0 deletions _data/links.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
- type: divider
text: "Hoodies"

- text: Get a CSS Hoodie
url: /hoodies
image: /assets/images/singular_hoodie.png

- type: divider
text: "General"

Expand Down
3 changes: 3 additions & 0 deletions _includes/hoodies_banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="banner">
<p>CSS Hoodies are now on sale! Get yours now at <a href="/hoodies">cssbham.com/hoodies</a></p>
</div>
2 changes: 1 addition & 1 deletion _includes/welcome_banner.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="banner freshers-banner">
<div class="banner">
<p>Joining us in September? Watch our <a href="/welcome">welcome video</a> and <a href="/discord">meet everyone else over on Discord</a>!</p>
</div>
2 changes: 2 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
{% include header.html %}

<main>
{% include hoodies_banner.html %}

{{ content }}
</main>

Expand Down
1 change: 1 addition & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<body>
{% include header.html %}
<main>
{% include hoodies_banner.html %}

<div class="post-header">
{% if page.header-image %}
Expand Down
Binary file added assets/images/singular_hoodie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ body {
padding: 2px 20px;
font-size: 18px;
margin-bottom: 20px;
background-color: #9d68dc;

* {
color: white;
Expand All @@ -37,10 +38,6 @@ body {
}
}

.freshers-banner {
background-color: #9d68dc;
}

.xmas-banner {
background-color: #035443;

Expand Down

0 comments on commit 28f0a6e

Please sign in to comment.