Skip to content

Commit

Permalink
Add ArmaForces organization GitHub link icon to navbar (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
3Mydlo3 authored Mar 19, 2023
2 parents c5e30a0 + 3623a26 commit 8e001f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ twig:
teamspeak: '%app.url.teamspeak%'
calendar: 'https://docs.google.com/spreadsheets/d/1t1158AsoxIwXI5FlPNjqbaXk6Cx7oq7Ocgchnsk2_TE'
github: 'https://github.com/ArmaForces/Website'
github_af: 'https://github.com/ArmaForces'

when@test:
twig:
Expand Down
8 changes: 8 additions & 0 deletions templates/_partial/navbar/_navbar_icons.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<!-- Icons -->
<ul class="navbar-nav nav-icons">
<!-- GitHub -->
<li class="nav-item">
<a href="{{ global.app.url.github_af }}" target="_blank" class="nav-link">
<i class="fab fa-github"></i>
</a>
</li>
<!--/ GitHub -->

<!-- Discord -->
<li class="nav-item">
<a href="{{ global.app.url.discord }}" target="_blank" class="nav-link">
Expand Down

0 comments on commit 8e001f4

Please sign in to comment.