8000 added links to homepage buttons - closes #13 by cacama-valvata · Pull Request #14 · osusec/osusec.github.io · GitHub
[go: up one dir, main page]

Skip to content

added links to homepage buttons - closes #13 #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added links to the homepage buttons
  • Loading branch information
cacama-valvata committed Sep 25, 2023
commit 3f61b4ec54b48393579620c6279170d7d09dc949
2 changes: 2 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ params:
emailAddr: 'security.club@oregonstate.edu'
fullTitle: 'Oregon State University Security Club'
subTitle: 'Weekly Meetings, Guest Speakers, and CDC/CTF Competitions'
sliLink: 'https://apps.ideal-logic.com/osusli?key=F3T9-25VWY_5878-CZ4R_bc14da8b'
discordLink: 'https://discord.gg/ayX8f5W'
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<h1 class="hero-title py-1">{{ .Site.Params.FullTitle }}</h1>
<p class="hero-subtitle py-1">{{ .Site.Params.subTitle | markdownify }}</p>
<div class="hero-buttons d-flex justify-content-center">
<button class="btn hero-buttons sli-button mx-3">Sign Up on SLI</button>
<button class="btn hero-buttons discord-button mx-3">Join our Discord</button>
<button class="btn hero-buttons sli-button mx-3" onclick="window.open({{ .Site.Params.sliLink }}, '_blank').focus();">Sign Up on SLI</button>
<button class="btn hero-buttons discord-button mx-3" onclick="window.open({{ .Site.Params.discordLink}}, '_blank').focus();">Join our Discord</button>
</div>
</div>

Expand Down
0