0:04
[Music]
0:10
so in this video we're going to be
0:11
looking at how to implement share it and
0:13
the share link
0:15
Stacks now here we are in the share it
0:17
demo file and we're going to be looking
0:19
at this particular grid of icons here
0:22
and all the different variations that we
0:24
can do with our
0:26
icons now I think to kind of get the
0:28
gist let's go ahead and create a
0:30
completely new instance so here we have
0:33
a new page let's go ahead and add the
0:34
share it stack to the page and let's go
0:36
through the settings here so here under
0:39
icons we can choose which social network
0:42
we want and what you'll notice is by
0:44
default the various social networks have
0:48
their particular brand color integrated
0:50
by default so you don't need to worry
0:53
about what is the LinkedIn blue or what
0:56
is Facebook blue all right what is
0:59
Twitter
1:00
x black it's actually not black right um
1:03
it's slightly different what is Twitter
1:05
if you still want the old school Twitter
1:07
bird right what is Twitter bird blue
1:09
right these colors are there by
1:13
default then you can configure their
1:15
size right so obviously you can just
1:18
choose your pixel dimensions here you
1:19
can CH 64 whatever okay you can set your
1:22
size of your icon next we have the
1:25
ability to customize the style so we
1:27
have three different styles first you
1:29
can have just the icon the default icon
1:32
as is then you can also customize just
1:35
the color of the logo so let's say you
1:37
know I wanted Twitter um the Twitter
1:40
bird but I wanted it my own custom color
1:43
then we have a third level which allows
1:45
us to actually enclose our icon within a
1:49
circle then we can customize the
1:51
background the border the SVG color as
1:54
well as a drop shadow on
1:57
Hover now if you are a foundation 6 user
2:00
or a CSS Guru you can go ahead and use
2:02
your own custom classes here to apply
2:05
swatches to even accentuate or style
2:07
these even
2:09
farther so once you've configured your
2:11
icon we can go ahead and configure what
2:14
service we want this particular logo to
2:17
trigger so in this case obviously we are
2:19
at Twitter so we're going to go ahead
2:20
and choose um X formerly known as
2:23
Twitter okay now by default the
2:27
attributes that are going to be shared
2:29
are pulled from your website
2:32
metadata now we have the SEO helper
2:35
stack and part of that stack set is the
2:37
SEO meta tags and this allows you to
2:39
Define things such as your OG title open
2:42
graph image OG URL so on and so forth
2:46
this metadata is the data that share it
2:50
will look for when generating your share
2:53
actions now there are other ways you can
2:55
use you know your own metadata
2:57
generators to do this as well SEO
2:59
helpers is just our product that is a
3:01
really efficient way of doing this now
3:04
if you don't have SEO Helper and you
3:06
want to potentially Define this metadata
3:09
manually for the share service you can
3:11
go ahead and click on manual in the
3:12
share data and you can manually Define
3:14
it for this particular share action so
3:17
you can Define the title you can Define
3:19
the actual URL that's going to be used
3:21
you can Define the text so in this case
3:23
this is the text that's added to the
3:25
tweet that will be posted okay an image
3:28
this is primarily used for Pinterest um
3:31
so if you're actually using a Pinterest
3:33
action um you want to be able to have an
3:36
image so that that image is posted to
3:38
Pinterest along with your
3:40
content then as you saw um in the demo
3:44
uh we have the ability to open up in a
3:46
popup window and this is what is uh the
3:49
actual size of the popup window that
3:51
opens up now on mobile devices it is
3:54
very nice in that if a user has the
3:57
Twitter client installed it'll actually
3:59
open up
4:00
Twitter um the only exception to this as
4:03
of this recording is Facebook where
4:05
Facebook will still use the web
4:07
interface it won't actually open up
4:09
inside Facebook however if you are on
4:12
touch you'll notice that there is a
4:14
checkbox here that says share sheet on
4:16
touch and what that will do is that will
4:19
actually instead of open up the native
4:21
or the web share interface it'll
4:24
actually open up the OS share sheet so
4:26
that someone can share to a particular
4:29
service such as Facebook or Twitter or
4:31
whatever other apps they might have
4:33
installed you'll notice that there is
4:35
another Shar data called manual Plus
4:38
warehouse and what this allows us to do
4:40
it the only difference here is it
4:41
actually has an image Warehouse URL
4:43
instead of a drag and drop image again
4:45
this is uh an integration really only
4:47
used for Pinterest and actually for
4:49
share sheets as well so if you are
4:50
integrating with a share sheet this
4:52
image can get sent along with the share
4:54
sheet now let's let's have a look at the
4:57
share link stack and as you see see this
4:59
is going to be a very similar interface
5:01
to the lot to the previous stack um you
5:04
can go ahead and configure your service
5:06
now one thing I didn't mention when we
5:07
looked at the share action stack we can
5:10
go ahead and click custom here and you
5:11
can actually configure your own custom
5:14
icon so if you have an SVG that You'
5:16
like to use you can go ahead and paste
5:18
the SVG code directly into here and that
5:21
will be used instead of one of the
5:22
default icons that comes with share it
5:26
now for links we don't really have it's
5:28
not nothing crazy fancy would just have
5:30
a title for accessibility so you have a
5:32
little title tag and then the URL that
5:35
you want to link to so this is purely a
5:38
way of linking to either pages on your
5:41
site or to your social media profiles so
5:45
a lot of times you can have multiple
5:47
instances of these on the page that you
5:49
can then link to all your different
5:51
social media profiles
5:54
online so I just want to show you some
5:56
common use cases that we can use share
5:59
it for now a lot of times we're going to
6:01
just have maybe up in our layouts maybe
6:04
in the top Corner maybe a list of
6:06
various icons right they're going to be
6:08
right next to each other and the way
6:10
share it and share it link
6:15
work is that inside edit mode they'll
6:18
actually look like they are on top of
6:20
each other however they're configured so
6:22
when you do that they just magically
6:23
just sit right next to each other on the
6:26
live page so if we look here in preview
6:29
you'll notice that even though they're
6:30
on top of each other in edit mode um
6:32
they just live directly right next to
6:34
each other okay now how can we control
6:37
the alignment here by default they will
6:39
be aligned left of whatever layout you
6:42
have them
6:44
in however they follow the common just
6:47
content alignment options within your
6:49
layout Stacks so here I have the column
6:52
Stacks from my starter pack my free
6:54
starter pack and in there we can set the
6:57
text alignment or the content alignment
7:00
um of the content within that layout so
7:02
if I would like to Center these I can do
7:04
that they'll centered and you'll look
7:05
here and now they're centered and then I
7:08
can also set them to a line right and
7:11
then they're aligned to the right right
7:13
so again uh kind of a different way you
7:16
might be used to um I do this in a lot
7:19
of my other Stacks but yeah little
7:22
things like this like little buttons and
7:23
whatnot it just makes it convenient
7:25
where if you just put them on top of
7:27
each other inside edit mode in real life
7:30
on the on the page they just sit
7:32
directly next to each other um and then
7:35
using the content alignment options
7:36
inside your layout Stacks is a really
7:39
efficient
7:44
[Music]
7:48
way