Skip to content
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

[3.0] Updated the social icons: Twitter/X and Google Groups #7271

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
20 changes: 9 additions & 11 deletions source/_themes/wazuh_doc_theme_v3/src/scss/parts/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ footer {
left: $left-sidebar-width;
}

.nav-item svg {
height: 15px;
width: 17px;
}

& > .container {
@include media-max(xl) {
flex-direction: column;
Expand All @@ -38,6 +33,8 @@ footer {
display: inline-block;
width: 28px;
height: 16px;
position: relative;
bottom: .2em;
@include media-max(sm) {
width: 46px;
height: 24px;
Expand Down Expand Up @@ -66,19 +63,20 @@ footer {
align-items: center;
padding: 40px 0;
}
.nav-item,
.nav-item.rrss {
line-height: 16px;
align-items: center;
}
i {
font-size: 23px;
@include media-min(sm){
font-size: 1rem;
}
}
svg {
height: 21px;
width: 20px;
@include media-min(xl){
height: 21px;
width: 15px;
}
height: 19px;
width: 19px;
}
}
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions source/_themes/wazuh_doc_theme_v3/template-parts/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@
</div>
{% if theme_breadcrumb_root_title == 'Documentation' %}
<ul class="social-links col-12 col-md-6 col-xl-8">
<li class="nav-item d-none d-xl-inline-block"><a class="nav-link" href="{{ theme_wazuh_web_url + '/community/' }}" target="_blank" rel="noreferrer noopener">Community</a></li>
<li class="nav-item d-none d-xl-inline-block"><a class="nav-link" href="{{ theme_wazuh_web_url + '/contact-us/' }}" target="_blank" rel="noreferrer noopener">Contact us</a></li>
<li class="rrss nav-item d-inline-block"><a class="nav-link" title="Wazuh on Twitter" aria-label="Wazuh on Twitter" target="_blank" href="https://twitter.com/wazuh" rel="noreferrer noopener"><svg><use xlink:href="#ico-twitter"></use></svg></a></li>
<li class="rrss nav-item d-inline-block"><a class="nav-link" title="Wazuh on LinkedIn" aria-label="Wazuh on LinkedIn" target="_blank" href="https://www.linkedin.com/company/wazuh" rel="noreferrer noopener"><svg><use xlink:href="#ico-linkedin"></use></svg></a></li>
<li class="rrss nav-item d-inline-block"><a class="nav-link" title="Wazuh on Reddit" aria-label="Wazuh on Reddit" target="_blank" href="https://www.reddit.com/r/Wazuh/" rel="noreferrer noopener"><svg><use xlink:href="#ico-reddit"></use></svg></a></li>
<li class="rrss nav-item d-inline-block"><a class="nav-link" title="Wazuh on Github" aria-label="Wazuh on Github" target="_blank" href="https://github.com/wazuh" rel="noreferrer noopener"><svg><use xlink:href="#ico-github"></use></svg></a></li>
<li class="rrss nav-item d-inline-block"><a class="nav-link" title="Join us on Slack" aria-label="Join us on Slack" target="_blank" href="https://wazuh.com/community/join-us-on-slack/" rel="noreferrer noopener"><svg><use xlink:href="#ico-slack"></use></svg></a></li>
<li class="rrss nav-item d-inline-block"><a class="nav-link" title="Subscribe to our mailing list" aria-label="Subscribe to our mailing list" target="_blank" href="mailto:wazuh+subscribe@googlegroups.com" rel="noreferrer noopener"><svg><use xlink:href="#ico-mailinglist"></use></svg></a></li>
<li class="nav-item d-none d-xl-inline-flex"><a class="nav-link" href="{{ theme_wazuh_web_url + '/community/' }}" target="_blank" rel="noreferrer noopener">Community</a></li>
<li class="nav-item d-none d-xl-inline-flex"><a class="nav-link" href="{{ theme_wazuh_web_url + '/contact-us/' }}" target="_blank" rel="noreferrer noopener">Contact us</a></li>
<li class="rrss nav-item d-inline-flex"><a class="nav-link" title="Wazuh on Twitter" aria-label="Wazuh on Twitter" target="_blank" href="https://twitter.com/wazuh" rel="noreferrer noopener"><svg><use xlink:href="#ico-twitter"></use></svg></a></li>
<li class="rrss nav-item d-inline-flex"><a class="nav-link" title="Wazuh on LinkedIn" aria-label="Wazuh on LinkedIn" target="_blank" href="https://www.linkedin.com/company/wazuh" rel="noreferrer noopener"><svg><use xlink:href="#ico-linkedin"></use></svg></a></li>
<li class="rrss nav-item d-inline-flex"><a class="nav-link" title="Wazuh on Reddit" aria-label="Wazuh on Reddit" target="_blank" href="https://www.reddit.com/r/Wazuh/" rel="noreferrer noopener"><svg><use xlink:href="#ico-reddit"></use></svg></a></li>
<li class="rrss nav-item d-inline-flex"><a class="nav-link" title="Wazuh on Github" aria-label="Wazuh on Github" target="_blank" href="https://github.com/wazuh" rel="noreferrer noopener"><svg><use xlink:href="#ico-github"></use></svg></a></li>
<li class="rrss nav-item d-inline-flex"><a class="nav-link" title="Join us on Slack" aria-label="Join us on Slack" target="_blank" href="https://wazuh.com/community/join-us-on-slack/" rel="noreferrer noopener"><svg><use xlink:href="#ico-slack"></use></svg></a></li>
<li class="rrss nav-item d-inline-flex"><a class="nav-link" title="Subscribe to our mailing list" aria-label="Subscribe to our mailing list" target="_blank" href="mailto:wazuh+subscribe@googlegroups.com" rel="noreferrer noopener"><svg><use xlink:href="#ico-mailinglist"></use></svg></a></li>
</ul>
{% endif %}
</div>
Loading
Loading