Skip to content

Commit

Permalink
feat: Add Discord logo (#3641)
Browse files Browse the repository at this point in the history
* feat: add discord logo

* chore: remove debug code

* fix: css style
  • Loading branch information
levkohimins authored Dec 10, 2024
1 parent 5f5e91c commit 160f183
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
6 changes: 5 additions & 1 deletion docs/_includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://gruntwork.io/careers"><span class="new-label">NEW</span>We're Hiring!</a></li>
<li><a href="{{site.baseurl}}/docs/getting-started/install" ga-on="click" ga-event-category="nav-{{ page.path | slugify }}" ga-event-action="install-terragrunt">Install</a></li>
<li><a href="{{site.baseurl}}/docs/getting-started/quick-start" ga-on="click" ga-event-category="nav-{{ page.path | slugify }}" ga-event-action="quick-start">Quick Start</a></li>
<li><a href="{{site.baseurl}}/docs/" ga-on="click" ga-event-category="nav-{{ page.path | slugify }}" ga-event-action="docs">Docs</a></li>
Expand All @@ -24,6 +23,11 @@
<img src="{{ site.baseurl}}/assets/img/logos/github-logo.png" alt="GitHub" />
</a>
</li>
<li>
<a href="https://discord.gg/NTxWxfaS" ga-on="click" ga-event-category="nav-discord" ga-event-action="discord" class="discord-nav-link">
<img src="{{ site.baseurl}}/assets/img/logos/discord-logo.png" alt="Discord" />
</a>
</li>
</ul>
</div>
</div>
Expand Down
24 changes: 16 additions & 8 deletions docs/assets/css/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ p code, h1 code, h2 code, h3 code, h4 code, h5 code {
justify-content: center;
align-items: center;
min-height: 60vh;

.copy-container {
margin-top: 10px;
}
Expand Down Expand Up @@ -792,10 +792,8 @@ footer hr {
padding-left: 18px;
font-size: 15px;
}
.navbar-nav > li {
&:last-child {
padding-left: 10px;
}
.navbar-nav > li:has(.github-nav-link) {
padding-left: 10px;
}
}
}
Expand Down Expand Up @@ -838,6 +836,16 @@ footer hr {
}
}

.discord-nav-link {
img {
max-height: 18px;
margin-top: -3px;
&:hover {
opacity: 0.7;
}
}
}

@media (min-width: 1200px) {
.navbar-nav > li > a.contact-sales {
margin-right: -5em;
Expand Down Expand Up @@ -908,7 +916,7 @@ a.caret-right::after {
}

//
// TEXT-DECORATION
// TEXT-DECORATION
// -------------------------------------------------------

.new-badge{
Expand Down Expand Up @@ -1107,7 +1115,7 @@ a.caret-right::after {
flex-direction: column;
justify-content: center;
align-items: center;

li {
margin-left: 0px;
}
Expand Down Expand Up @@ -1145,7 +1153,7 @@ a.caret-right::after {
}
}
}


.terragrunt-logo {
align-items: center;
Expand Down
Binary file added docs/assets/img/logos/discord-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 160f183

Please sign in to comment.