NAME
App::LinkSite::Social
SYNOPIS
(You probably want to just look at the linksite application.)
DESCRIPTION
A class to model a social link on a link site (part of App::LinkSite).
METHODS
mk_social_link
Return a fragment of HTML that is used to represent this social media link on the link site.
social_icon_template
Return a string that is used to produce the HTML that displays the social icon and link on the link site. The template string will expect three substitution values:
The title for the link (probably the `name` from the `$urls` field)
The link for the social account (as built by `mk_social_link()`)
The name of the social media site's icon as represented in Font Awesome (probably a key from the `$urls` field).
mk_social_icon
Returns a fragment of HTML that will be used to display the social media account on the web site.
AUTHOR
Dave Cross <dave@davecross.co.uk>
COPYRIGHT AND LICENCE
Copyright (c) 2024, Magnum Solutions Ltd. All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.