Skip to content

feat: redesign footer with social media icons and links #240

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
101 changes: 78 additions & 23 deletions sass/_valkey.scss
Original file line number Diff line number Diff line change
Expand Up @@ -345,33 +345,81 @@ p {
}

.footer {
border-top: 1px solid $grey-dk-100;
background-color: $grey-lt-300;
background-color: #1a2026;
@include sans-serif;
font-size: 1.4rem;
color: #fff;
padding: 2rem 0;

.icon-links {
display: flex;
flex-direction: column;
gap: 15px;

@include respond-min(768px) {
flex-direction: row;
border: none;
}

a {
display: flex;
align-items: center;
color: #fff;

&:hover {
color: #fff;
text-decoration: underline;
opacity: 0.8;
}

img {
margin-right: 5px;
}
}

}

.links {
display: flex;
flex-flow: row nowrap;
justify-content: space-evenly;
margin-bottom: 4em;
flex-direction: column;
gap: 15px;
justify-content: flex-end;
border-top: 1px solid rgba(255, 255, 255, 0.08);
margin-top: 2rem;
padding-top: 2rem;

@include respond-min(768px) {
flex-direction: row;
border: none;
margin-top: 0;
padding-top: 0;
}

a {
color: #fff;
text-decoration: underline;

&:hover {
opacity: 0.8;
}
}
}

nav {
font-size: 1.5rem;
font-weight: 600;
&_bottom {
width: 100%;
margin-top: 2rem;
padding: 2rem;

h4 {
font-weight: 400;
@include sans-serif;
font-size: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.08);
text-align: center;

p {
max-width: 720px;
margin: 8px auto;
}

a {
display: list-item;
list-style: none;
white-space: nowrap;
margin-bottom: 1em;
color: #6983ff;

&:hover {
text-decoration: underline;
Expand Down Expand Up @@ -410,28 +458,35 @@ p {

.col {
flex: 1 1 100%;
padding: 0 2rem;
padding-left: 2rem;
padding-right: 2rem;
}

.col-10 {
flex: 1 1 83.33%;
@include respond-min(768px) {
flex: 1 1 83.33%;
}
}

.col-8 {
flex: 1 1 66.66%;
@include respond-min(768px) {
flex: 1 1 66.66%;
}
}

.col-6 {
flex: 1 1 50%;
@include respond-min(768px) {
flex: 1 1 50%;
}
}

.col-4 {
flex: 1 1 33.33%;
@include respond-min(768px) {
flex: 1 1 33.33%;
}
}

.col_3 {
flex: 1 1 100%;

@include respond-min(768px) {
flex: 1 1 25%;
}
Expand Down
3 changes: 3 additions & 0 deletions static/img/IconGithub.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/img/IconLinkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/img/IconMail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/img/IconSlack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/img/IconX.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 46 additions & 30 deletions templates/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,36 +48,52 @@
{% block content %}{% endblock %}
</div>
<div class="footer">
<div class="width-limiter">
<div class="links">
<nav role="navigation" aria-label="Get Involved">
<h4>Get Involved</h4>
<a role="menuitem" href="/code_of_conduct.html">Code of Conduct</a>
<a role="menuitem" href="https://github.com/orgs/valkey-io/discussions">Forum</a>
<a role="menuitem" href="https://github.com/valkey-io">GitHub</a>
</nav>
<nav role="navigation" aria-label="Resources">
<h4>Resources</h4>
<a role="menuitem" href="/about">About</a>
</nav>
<nav role="navigation" aria-label="Contact Us">
<h4>Contact</h4>
<a role="menuitem" href="/connect.html">Connect</a>
</nav>
</div>
<p>&copy; Valkey contributors, 2024.</p>
<p>Valkey and the Valkey logo are trademarks of LF Projects, LLC.</p>
<p>
<a href="https://lfprojects.org/policies/trademark-policy/">Trademark Policy</a>.
<a href="https://lfprojects.org/policies/privacy-policy/">Privacy Policy</a>.
<a href="https://lfprojects.org/policies/terms-of-use/">Terms of Use</a>.
For other policies, please see <a href="https://lfprojects.org/">lfprojects.org</a>.
</p>
<p>Valkey includes certain 3-Clause BSD-licensed Redis code from Redis Ltd. and other source code. Redis Ltd. is
not the source of that other source code. Redis is a registered trademark of Redis Ltd.</p>
<p>
Logo design by <a href="https://github.com/dizys" target="_blank">Ziyang.</a>
</p>
<div class="row">
<div class="col col-6 icon-links">
<a href="https://valkey-oss-developer.slack.com/join/shared_invite/zt-2nxs51chx-EB9hu9Qdch3GMfRcztTSkQ#/shared-invite/email" target="_blank">
<img src="/img/IconSlack.svg" alt="Slack Icon" width="20" height="20" />
Slack
</a>
<a href="https://github.com/valkey-io" target="_blank">
<img src="/img/IconGithub.svg" alt="Slack Icon" width="20" height="20" />
GitHub
</a>
<a href="https://www.linkedin.com/company/valkey/" target="_blank">
<img src="/img/IconLinkedin.svg" alt="Slack Icon" width="20" height="20" />
LinkedIn
</a>
<a href="https://x.com/valkey_io" target="_blank">
<img src="/img/IconX.svg" alt="Slack Icon" width="20" height="20" />
X.com
</a>
<a href="https://valkey-io.vercel.app/connect">
<img src="/img/IconMail.svg" alt="Slack Icon" width="20" height="20" />
Connect
</a>
</div>

<div class="col col-6 links">
<a href="/code_of_conduct">Code of Conduct</a>
<a href="https://github.com/orgs/valkey-io/discussions" target="_blank">Forum</a>
<a href="/about">About</a>
<a href="/topics/faq">FAQ</a>
</div>
</div>

<div class="footer_bottom">
<p>&copy; Valkey contributors, 2024.</p>
<p>Valkey and the Valkey logo are trademarks of LF Projects, LLC.</p>
<p>
<a href="https://lfprojects.org/policies/trademark-policy/">Trademark Policy</a>.
<a href="https://lfprojects.org/policies/privacy-policy/">Privacy Policy</a>.
<a href="https://lfprojects.org/policies/terms-of-use/">Terms of Use</a>.
For other policies, please see <a href="https://lfprojects.org/">lfprojects.org</a>.
</p>
<p>Valkey includes certain 3-Clause BSD-licensed Redis code from Redis Ltd. and other source code. Redis Ltd. is
not the source of that other source code. Redis is a registered trademark of Redis Ltd.</p>
<p>
Logo design by <a href="https://github.com/dizys" target="_blank">Ziyang.</a>
</p>
</div>
</div>
</body>
Expand Down