diff --git a/_includes/announcement-banner.html b/_includes/announcement-banner.html index 52259e952..2570b9117 100644 --- a/_includes/announcement-banner.html +++ b/_includes/announcement-banner.html @@ -1,4 +1,6 @@
+ + Check out our MoveIt Developer PlatformMoveIt Pro Developer Platform

INSTALL NOW diff --git a/_sass/_body.scss b/_sass/_body.scss index 2963c3e5a..8e72a94cd 100644 --- a/_sass/_body.scss +++ b/_sass/_body.scss @@ -188,7 +188,7 @@ img { position: fixed; z-index: 9999; bottom: 10px; - right: 0; + right: 10px; animation: fadeFromRight 1s linear; img { @@ -200,16 +200,57 @@ img { } } +.moveit_announcement_banner--hide { + right: -500px; + animation: fadeToRight 1s linear; +} + +.moveit_announcement_banner--close { + cursor: pointer; + background-color: #17181d; + position: absolute; + right: -5px; + top: -11px; + font-size: 21px; + line-height: 1; + color: white; + height: 24px; + width: 24px; + border: 1px solid red; + border-radius: 100%; + background-color: #17181d; + &::after{ + display: flex; + content: "\00d7"; + justify-content: center; + align-items: center; + } +} + @keyframes fadeFromRight { 0% { right: -500px; } 70% { - right: 5px; + right: 20px; } 100% { - right: 0; + right: 10px; + } +} + +@keyframes fadeToRight { + 0% { + right: 10px; + } + + 70% { + right: 30px; + } + + 100% { + right: -500px; } } diff --git a/_sass/_homepage.scss b/_sass/_homepage.scss index 5b053e1dc..3cc3f9baf 100644 --- a/_sass/_homepage.scss +++ b/_sass/_homepage.scss @@ -49,9 +49,15 @@ } a { + color: #fff; + &:hover { - color: #fff; - text-decoration: underline; + color: #0a58f7; + + span.blue { + background-color: #fff; + color: #0a58f7; + } } } @@ -78,6 +84,7 @@ margin-right: 2px; padding: 0 10px; margin-left: 0; + border: 1px solid #0a58f7; } } } @@ -107,12 +114,12 @@ max-width: 500px; margin: 20px auto; background: #fff; - padding: 15px 100px; + padding: 15px 45px; text-align: center; border-radius: 4px; box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2); @media screen and (max-width: 520px) { - padding: 15px 60px; + padding: 15px 30px; } } diff --git a/assets/images/Companies/picknik-logo.png b/assets/images/Companies/picknik-logo.png new file mode 100644 index 000000000..94e2d6d57 Binary files /dev/null and b/assets/images/Companies/picknik-logo.png differ diff --git a/assets/js/main.js b/assets/js/main.js index ff9f64f27..9b6d77eb6 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -1,9 +1,3 @@ -$(document).ready(function() { - $('#toggle-nav').click(function() { - $(this).toggleClass('open'); - }); -}); - var videoSrc = $('#modalVideo iframe').attr('src'); $('#modalVideo').on('show.bs.modal', function() { @@ -36,6 +30,51 @@ function futureVersion() { } } +function setCookie(cname,cvalue,exdays) { + const d = new Date(); + d.setTime(d.getTime() + (exdays*24*60*60*1000)); + let expires = "expires=" + d.toUTCString(); + document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; +} + +function getCookie(cname) { + let name = cname + "="; + let decodedCookie = decodeURIComponent(document.cookie); + let ca = decodedCookie.split(';'); + for(let i = 0; i < ca.length; i++) { + let c = ca[i]; + while (c.charAt(0) == ' ') { + c = c.substring(1); + } + if (c.indexOf(name) == 0) { + return c.substring(name.length, c.length); + } + } + return ""; +} + +function checkCookie() { + let user = getCookie("bannerMoveitPro"); + let targetHtml = $('.moveit_announcement_banner'); + if (user !== "") { + targetHtml.css('display', 'none'); + } +} + +function closeBannerOnClick() { + let targetHtml = $('.moveit_announcement_banner'); + targetHtml.click(function() { + $(this).addClass('moveit_announcement_banner--hide'); + setCookie("bannerMoveitPro", "moveit_announcement_banner", 30); + }); +} + $(document).ready(function() { + $('#toggle-nav').click(function() { + $(this).toggleClass('open'); + }); + futureVersion(); + checkCookie(); + closeBannerOnClick(); }); diff --git a/index.markdown b/index.markdown index dae817ea1..519d7e1b1 100644 --- a/index.markdown +++ b/index.markdown @@ -28,8 +28,10 @@ redirect_from: '/moveit/'
- Announcement - MoveIt Pro 2.0 and MoveIt 2.7 released! + + Announcing + MoveIt Pro Runtime and Developer Platform +

Moving robots into the future

Incorporating the latest advances in motion planning,
@@ -58,9 +60,11 @@ redirect_from: '/moveit/' Ubuntu 22.04

@@ -149,7 +153,7 @@ redirect_from: '/moveit/' Nasa logo Google logo Microsoft logo - Fetch robotics logo + PickNik logo Franka Emika logo Pal Robotics logo Kinova logo @@ -268,6 +272,20 @@ redirect_from: '/moveit/'
STATUS
+
+
+

MoveIt Pro 5.0

+

+ View product page +

+
+
+ ROS 2 +
+
+ COMMERCIALLY SUPPORTED +
+

Rolling 2.7