Skip to content

Commit

Permalink
Hide 1.0 logo banner from the website
Browse files Browse the repository at this point in the history
  • Loading branch information
arturi committed Dec 19, 2019
1 parent a6eef8c commit 60c0654
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
5 changes: 3 additions & 2 deletions website/themes/uppy/layout/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ if (page.series) {

<span id="logo" class="MainLogo">
<a class="MainLogo-link" href="/"><%- config.title %></a>
<a class="MainLogo-version" href="/blog/2019/04/1.0/">
<!-- Was used for 1.0, we can re-use for 2.0 or major announcements -->
<!-- <a class="MainLogo-version" href="/blog/2019/04/1.0/">
1.0
<span class="MainLogo-emoji">
<img src="/images/party-popper.png" srcset="/images/party-popper@2x.png 2x" alt="🎉">
</span>
</a>
</a> -->
</span>

<nav>
Expand Down
44 changes: 23 additions & 21 deletions website/themes/uppy/source/css/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,33 +221,35 @@ hr {
font-weight: 700;

@media #{$screen-medium} {
margin-right: 35px;
margin-right: 15px;
}

&-link {
color: $color-primary;
}

&-version {
display: inline-block;
padding: 0px 8px 1px;
background-color: $color-primary;
position: relative;
border-radius: 6px;
color: #fff;
font-size: 24px;

&:hover {
background-color: darken($color-primary, 7%);
}
}

&-emoji {
font-size: 16px;
position: absolute;
bottom: 3px;
right: -1em;
}
// Was used for 1.0, we can re-use for 2.0 or major announcements
//
// &-version {
// display: inline-block;
// padding: 0px 8px 1px;
// background-color: $color-primary;
// position: relative;
// border-radius: 6px;
// color: #fff;
// font-size: 24px;

// &:hover {
// background-color: darken($color-primary, 7%);
// }
// }

// &-emoji {
// font-size: 16px;
// position: absolute;
// bottom: 3px;
// right: -1em;
// }
}

/**
Expand Down

0 comments on commit 60c0654

Please sign in to comment.