Skip to content
Snippets Groups Projects
Commit 7f38df56 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5724: adding instagram

parent 7f8e0321
No related branches found
No related tags found
1 merge request!28Feature/istwcms 5724 ebremner embeds
......@@ -19,6 +19,7 @@
@forward 'facts-and-figures/facts-and-figures';
@forward 'filters/filters';
@forward 'google_maps/google_maps';
@forward 'instagram/instagram';
@forward 'icon/icon';
@forward 'icon/icon--button/icon--button';
@forward 'image/image';
......
@use '../../01-core' as *;
.uw-instagram {
display: block;
width: 100%;
&__wrapper {
margin-left: auto;
margin-right: auto;
max-width: 500px;
iframe {
max-width: 500px;
width: 100%;
}
}
&__view-on-source {
padding: var(--size-2) 0;
text-align: center;
}
}
<div class="uw-instagram">
<div class="uw-instagram__wrapper">
<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-permalink="{{ instagram.url }}" data-instgrm-version="12" style="max-width: 500px;"></blockquote>
<script async src="https://www.instagram.com/embed.js"></script>
</div>
<div class="uw-instagram__view-on-source">
<a href="{{ instagram.url }}">View on Instagram</a>
</div>
</div>
instagram:
url: 'https://www.instagram.com/p/B-pEhkon9tX'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment