Commit 55ac573e authored by Danilo Woznica's avatar Danilo Woznica

fix(Homepage): A few fixes

parent 19a15bac
......@@ -37,7 +37,7 @@
@media screen and (min-width: $tablet) {
background-position:
left 4% bottom 1%,
right -14% bottom 30%
right -14% bottom 26%
;
background-size:
10em auto,
......
......@@ -47,7 +47,6 @@ pre {
.text,
p {
font-size: $font-size;
font-weight: 500;
line-height: $font-leading;
margin-bottom: 2em;
......
......@@ -79,7 +79,7 @@ redirect_from:
<p class="theme_type--grey">With {{site.stars}}k stars on GitHub and more than 600 contributors across our products with over 13k commits, we are the largest and most active open source team chat community.</p>
<p class="theme_type--grey">Join our community of 10 million users and chat to us on <a class="button--link" href="//open.rocket.chat/" target="_blank" rel="noopener noreferrer">open.rocket.chat</a></p>
<a class="home-community_github" target="_blank" rel="noopener noreferrer" href="//github.com/RocketChat/Rocket.Chat">
<span><img src="/images/default/star.svg" alt="GitHub Stars">Star</span>
<span><img style="top: 0.1em;"src="/images/default/star.svg" alt="GitHub Stars">Star</span>
<span>{{site.stars}}K</span>
</a>
<a class="home-community_github" target="_blank" rel="noopener noreferrer" href="//github.com/RocketChat/Rocket.Chat/fork">
......@@ -119,7 +119,7 @@ redirect_from:
<div class="home-box__wrap">
<p class="label theme_type--kinda-white">free, unlimited &amp; open source</p>
<h2 class="display theme_type--dark">Enterprise Features</h2>
<p class="theme_type--kinda-white"><strong>Free audio and video conferencing, guest access, screen sharing, file sharing, LiveChat, LDAP Group Sync, two-factor authentication (2FA), E2E encryption, SSO, and dozens of OAuth providers.</strong></p>
<p class="theme_type--kinda-white">Free audio and video conferencing, guest access, screen sharing, file sharing, LiveChat, LDAP Group Sync, two-factor authentication (2FA), E2E encryption, SSO, and dozens of OAuth providers.</p>
<p class="theme_type--dark">Also includes unlimited:</p>
<div class="list flex-grid">
......
......@@ -288,15 +288,15 @@ if (document.querySelector("body.index")) {
// stars
document.querySelector('.home-landingpage__stars')
.style.transform = 'translateY(' + scrollY / 15 + 'px)';
.style.transform = 'translate3d(0, ' + scrollY / 15 + 'px, 0)';
// mail
document.querySelector('.home-landingpage__mail')
.style.transform = 'translateX(' + scrollY / 40 + 'px)';
.style.transform = 'translate3d(' + scrollY / 30 + 'px, ' + scrollY / 20 + 'px, 0)';
// chat
document.querySelector('.home-landingpage__chat')
.style.transform = 'rotate(' + scrollY / 250 + 'deg)';
.style.transform = 'translate3d(0, 0, 0) rotate(' + scrollY / 230 + 'deg)';
window.requestAnimationFrame(Animations);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment