diff --git a/src/patterns/04-components/social-intents/social-intents.md b/src/patterns/04-components/social-intents/social-intents.md new file mode 100644 index 0000000000000000000000000000000000000000..baf9f49ab66e065aea44ec829c68a46005cbdf73 --- /dev/null +++ b/src/patterns/04-components/social-intents/social-intents.md @@ -0,0 +1,9 @@ +--- +el: .uw-social-intents +title: Social Intents +--- + +__Variables:__ +* social-intents: [array] Variables for social-intents. + * username: [string] Social Intents username. + * uniqueid: [string] Unique id of the social-intents component. diff --git a/src/patterns/04-components/social-intents/social-intents.twig b/src/patterns/04-components/social-intents/social-intents.twig new file mode 100644 index 0000000000000000000000000000000000000000..71a5017c244b6903f84fee45412ab5878dbb741c --- /dev/null +++ b/src/patterns/04-components/social-intents/social-intents.twig @@ -0,0 +1,5 @@ +<div id="uw-social-intents-{{ social_intents.uniqueid }}" class="uw-social-intents"> + <div class="uw-social-intents__wrapper {{ width }}"> + <iframe src="https://chat.socialintents.com/c/{{ social_intents.username }}" width="100%" height="540"></iframe> + </div> +</div> diff --git a/src/patterns/04-components/social-intents/social-intents.yml b/src/patterns/04-components/social-intents/social-intents.yml new file mode 100644 index 0000000000000000000000000000000000000000..fca6ff83f29e822cabb5af24237a364f6b361d21 --- /dev/null +++ b/src/patterns/04-components/social-intents/social-intents.yml @@ -0,0 +1,3 @@ +social-intents: + username: 'livechatsi' + uniqueid: '1111111'