Skip to content

Commit

Permalink
Merge pull request #1985 from PrarthonaPaul/develop
Browse files Browse the repository at this point in the history
Website update for Hacktoberfest 2023
  • Loading branch information
Skyllarr authored Sep 28, 2023
2 parents f2fdc8e + 8bfaf26 commit 20bcb25
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- name: OSD 2023
link: /OSD/
- name: Hacktoberfest
link: /hacktoberfest/
- name: Home
link: /
- name: Guides
Expand Down
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% elsif page.url contains 'blog' and item.name == 'Blog' %}
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% elsif page.url contains 'OSD' and item.name == 'OSD 2023' %}
{% elsif page.url contains 'hacktoberfest' and item.name == 'Hacktoberfest' %}
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% else %}
{% assign class = 'mdl-navigation__link' %}
Expand All @@ -69,12 +69,12 @@
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% elsif page.url contains 'blog' and item.name == 'Blog' %}
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% elsif page.url contains 'OSD' and item.name == 'OSD 2023' %}
{% elsif page.url contains 'hacktoberfest' and item.name == 'Hacktoberfest' %}
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% else %}
{% assign class = 'mdl-navigation__link' %}
{% endif %}
{% if item.name == 'OSD 2023' %}
{% if item.name == 'Hacktoberfest' %}
{% assign class = class | append: " highlight-sidebar" %}
{% endif %}
{% if item.name == 'GitHub' %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/hacktoberfest.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
layout: default
---
<div class="hacktoberfest-page">
<h1>Hacktoberfest 2022</h1>
<h1>Hacktoberfest 2023</h1>
{{ content }}
</div>
Binary file added assets/images/posts/hacktoberfest2023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions hacktoberfest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: hacktoberfest
title: Hacktoberfest
permalink: /hacktoberfest/
image:
path: https://wildfly-security.github.io/wildfly-elytron/assets/images/posts/hacktoberfest2022.png
path: https://wildfly-security.github.io/wildfly-elytron/assets/images/posts/hacktoberfest2023.png
---
:page-liquid:

Expand All @@ -18,7 +18,7 @@ https://hacktoberfest.com/[Hacktoberfest] takes places annually during the month

2. Submit 4 approved PRs against participating project repositories during the month of October

3. Choose whether you’d like to receive a Hacktoberfest t-shirt or have a tree planted in your name
3. You'll have the option to have a tree planted in your name and you can obtain a unique digital reward. Visit the https://hacktoberfest.com/participation/[Hacktoberfest site] for more information.

== Getting Started

Expand Down
8 changes: 4 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ title: Home
</div-->

<div class="highlight-chip" >
<a href="{{site.baseurl}}/OSD/">
<a href="{{site.baseurl}}/hacktoberfest/">
<button type="button" class="mdl-chip mdl-chip--contact highlight-chip highlight-chip_large">
<img class="mdl-chip__contact" src="{{site.baseurl}}/assets/images/icon-wildfly.png" >
<span class="mdl-chip__text">Welcome Open Source Day participants! Click here to get started!</span>
<span class="mdl-chip__text">Welcome Hacktoberfest participants! Click here to get started!</span>
</button>
<button type="button" class="mdl-chip mdl-chip--contact highlight_chip highlight-chip_small">
<img class="mdl-chip__contact" src="{{site.baseurl}}/assets/images/icon-wildfly.png" >
<span class="mdl-chip__text">Tap here for Open Source Day!</span>
<span class="mdl-chip__text">Tap here for Hacktoberfest!</span>
</button>
<button type="button" class="mdl-chip mdl-chip--contact highlight_chip highlight-chip_tiny">
<img class="mdl-chip__contact" src="{{site.baseurl}}/assets/images/icon-wildfly.png" >
<span class="mdl-chip__text">Open Source Day!</span>
<span class="mdl-chip__text">Hacktoberfest!</span>
</button>
</a>
</div>
Expand Down

0 comments on commit 20bcb25

Please sign in to comment.