From d7613764f2838a857b570a7a144a0504f551eaba Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Sun, 1 Mar 2015 18:52:24 -0800 Subject: [PATCH] Add social media sharing buttons --- src/css/addthis.scss | 14 ++++++++++++++ src/css/main.scss | 1 + src/marketing/forum-posts.txt | 7 +++++++ src/pages/includes/_addthis.jade | 1 + src/pages/includes/_header.jade | 2 ++ src/pages/index.jade | 1 + 6 files changed, 26 insertions(+) create mode 100644 src/css/addthis.scss create mode 100644 src/pages/includes/_addthis.jade diff --git a/src/css/addthis.scss b/src/css/addthis.scss new file mode 100644 index 000000000..25b9b5959 --- /dev/null +++ b/src/css/addthis.scss @@ -0,0 +1,14 @@ +/* +Crafting Guide - addthis.scss + +Copyright (C) 2015 by Redwood Labs +All rights reserved. +*/ + +.addthis_sharing_toolbox { + position: absolute; top: 0.65em; right: 0.65em; + + div { + text-align: right; + } +} diff --git a/src/css/main.scss b/src/css/main.scss index 12a2c0406..5cd269330 100644 --- a/src/css/main.scss +++ b/src/css/main.scss @@ -90,3 +90,4 @@ $layer-dialog: 1000; @import 'views'; @import 'templates/index'; +@import 'addthis'; \ No newline at end of file diff --git a/src/marketing/forum-posts.txt b/src/marketing/forum-posts.txt index 2dfa79154..fdddba3b8 100644 --- a/src/marketing/forum-posts.txt +++ b/src/marketing/forum-posts.txt @@ -93,3 +93,10 @@ about twice as fast as the old algorithm. With Railcraft support not only comes the huge richness of that mod, but the first multi-block structures in Crafting Guide. For example, check out how to make a [url=http://crafting-guide.com/crafting/blast_furnace]Blast Furnace[/url]! + +######################################################################################################################## + +Another big release for Crafting Guide! This time, I've been working on the navigation of the site itself. You'll now +see a small navigation bar at the top of each page which both tells you where you are as well as letting you jump to +another location. This make the whole item/mod-browsing part of the site much more visible, and simplifies the crafting +page a bit. There's even a real home page with a change log! \ No newline at end of file diff --git a/src/pages/includes/_addthis.jade b/src/pages/includes/_addthis.jade new file mode 100644 index 000000000..a6841edda --- /dev/null +++ b/src/pages/includes/_addthis.jade @@ -0,0 +1 @@ +script(type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-54f3c9717b2e530d" async="async") diff --git a/src/pages/includes/_header.jade b/src/pages/includes/_header.jade index f59b0ce21..f1d58ca31 100644 --- a/src/pages/includes/_header.jade +++ b/src/pages/includes/_header.jade @@ -9,6 +9,8 @@ h1 a.logo(href="/"): img(src="/images/workbench_front.png") p Crafting Guide for Minecraft + + .addthis_sharing_toolbox .divider.bottom .navBar diff --git a/src/pages/index.jade b/src/pages/index.jade index 13183e3b0..3f48ff968 100644 --- a/src/pages/index.jade +++ b/src/pages/index.jade @@ -17,3 +17,4 @@ append scripts script(src="/js/jquery-ui.js") script(src="/js/main.js") include ./includes/_google_analytics.jade + include ./includes/_addthis.jade