diff --git a/public/_includes/_hero-home.jade b/public/_includes/_hero-home.jade index 16612ca475..0d6f22f9f9 100644 --- a/public/_includes/_hero-home.jade +++ b/public/_includes/_hero-home.jade @@ -7,8 +7,6 @@ header(class="background-sky") md-button) Learn in 5 mins a(href="/download/" class="button button-large button-navy" md-button) Download - != partial("_social-icons") - .banner.is-centered diff --git a/public/_includes/_hero.jade b/public/_includes/_hero.jade index 308f02df21..e7ebf89745 100644 --- a/public/_includes/_hero.jade +++ b/public/_includes/_hero.jade @@ -11,6 +11,4 @@ header(class="hero background-sky") h2.hero-subtitle.text-subhead #{subtitle} else if current.path[0] == "docs" - != partial("_version-dropdown") - - != partial("_social-icons") \ No newline at end of file + != partial("_version-dropdown") \ No newline at end of file diff --git a/public/_includes/_social-icons.jade b/public/_includes/_social-icons.jade deleted file mode 100644 index 6e5d636514..0000000000 --- a/public/_includes/_social-icons.jade +++ /dev/null @@ -1,7 +0,0 @@ -.social-icons - button(aria-label="Share on G+" onClick="window.open('https://plus.google.com/share?url=#{siteURL}', '', 'height=500, width=600')" class="googleplus") - button(aria-label="Share on Twitter" onClick="window.open('https://twitter.com/share?text=Angular%20-%20#{description}', '', 'height=250, width=600')") - button(aria-label="Share on Facebook" onClick="window.open('https://www.facebook.com/sharer/sharer.php?u=#{siteURL}', '', 'height=500, width=600')" data-href="#{siteURL}" data-colorscheme="dark" data-layout="button_count" data-action="like" data-show-faces="false") - button(aria-label="Share on Linkedin" onClick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=#{siteURL}&title=Angular&summary=#{description}.', '', 'height=625, width=500')") - -p(style="color: black;") #{url} \ No newline at end of file diff --git a/public/resources/css/_print.scss b/public/resources/css/_print.scss index cee402ee83..5222af1b13 100644 --- a/public/resources/css/_print.scss +++ b/public/resources/css/_print.scss @@ -10,9 +10,6 @@ .main-nav, .main-footer, .cta-bar, - .social-icons { - display: none !important; - } // ZERO OUT MARGIN & PADDING .l-offset-nav, diff --git a/public/resources/css/module/_hero.scss b/public/resources/css/module/_hero.scss index 7c4dcf5105..9f731d1189 100644 --- a/public/resources/css/module/_hero.scss +++ b/public/resources/css/module/_hero.scss @@ -87,31 +87,4 @@ $hero-padding: ($unit * 10) ($unit * 6) ($unit * 5); display: block; } } - - // SOCIAL ICONS - .social-icons { - position: absolute; - top: $unit * 3; - right: $unit * 3; - z-index: $layer-1; - - @media handheld and (max-width: $phone-breakpoint), - screen and (max-device-width: $phone-breakpoint), - screen and (max-width: $tablet-breakpoint) { - right: auto; - left: 0; - } - - button { - color: $snow; - opacity: .56; - font-size: 18px; - text-decoration: none; - margin-left: $unit * 2; - padding: 0; - background: none; - border: none; - outline: none; - } - } } \ No newline at end of file