Skip to content

Commit

Permalink
Tweak the Hacktoberfest website content to make it general informatio…
Browse files Browse the repository at this point in the history
…n for new contributors
  • Loading branch information
Prarthona Paul committed Nov 6, 2023
1 parent 373f4d7 commit 84735ab
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 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: Hacktoberfest
link: /hacktoberfest/
- name: Contribute
link: /contribute/
- name: Home
link: /
- name: Guides
Expand Down
8 changes: 4 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,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 'hacktoberfest' and item.name == 'Hacktoberfest' %}
{% elsif page.url contains 'contribute' and item.name == 'Contribute' %}
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% else %}
{% assign class = 'mdl-navigation__link' %}
{% endif %}
{% if item.name == 'OSD 2023' %}
{% if item.name == 'Contribute' %}
{% assign class = class | append: " highlight-button" %}
{% endif %}
{% if item.name == 'GitHub' %}
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 'hacktoberfest' and item.name == 'Hacktoberfest' %}
{% elsif page.url contains 'contribute' and item.name == 'Contribute' %}
{% assign class = 'mdl-navigation__link mdl-navigation__link--current' %}
{% else %}
{% assign class = 'mdl-navigation__link' %}
{% endif %}
{% if item.name == 'Hacktoberfest' %}
{% if item.name == 'Contribute' %}
{% assign class = class | append: " highlight-sidebar" %}
{% endif %}
{% if item.name == 'GitHub' %}
Expand Down
2 changes: 1 addition & 1 deletion _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ div.colist.arabic {
color: $yellow;
}

.blog-page, .post-page, .getting-started-page, .documentation, .OSD-page, .contribute.page, .hacktoberfest-page, .guides-page, .setup-elytron {
.blog-page, .post-page, .getting-started-page, .documentation, .OSD-page, .contribute-page, .hacktoberfest-page, .guides-page, .setup-elytron {
padding: 10px 20px;
a, p {
font-size: 18px;
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}}/hacktoberfest/">
<a href="{{site.baseurl}}/contribute/">
<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 Hacktoberfest participants! Click here to get started!</span>
<span class="mdl-chip__text">Welcome new contributors! 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 Hacktoberfest!</span>
<span class="mdl-chip__text">Tap here to learn how to start contributing!</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">Hacktoberfest!</span>
<span class="mdl-chip__text">Contribute!</span>
</button>
</a>
</div>
Expand Down

0 comments on commit 84735ab

Please sign in to comment.