 		if @shareInfo.twitter
 			@credentials.x = 50
 
-			@avatar = new ShareLayer
+			@avatar = new Button
+				url: "https://twitter.com/#{@shareInfo.twitter}"
 				size: 40
 				parent: @info
 				borderRadius: 100

			backgroundColor: "00AAFF"

		@buttonFacebook = new Button
			url: "https://www.facebook.com/sharer/sharer.php?u=#{window.location.href}"
			parent: @buttons
			borderWidth: 1


		@props = _.merge(defaultProps, options)

		@states.add
			hover: opacity: .8
			full: opacity: 1
		@states.animationOptions =
			time: .3

		@onMouseOver ->
			@style.cursor = "pointer"
			@states.switch("hover")
			@animate
				properties:
					opacity: .8

		@onMouseOut ->
			@states.switch("full")

		@onClick ->
			if options.shareButton
				window.open(options.url, "Share", "width=560,height=714")
			else
				window.open(options.url, "_blank")

# Share component
class ShareComponent
