Commit cbb90ae1 authored by Andy Lamb's avatar Andy Lamb
Browse files

removed test yammer feed from homepage

parent a333c2c4
<script>
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demo");
var captionText = document.getElementById("caption");
if (n > slides.length) {
slideIndex = 1
}
if (n < 1) {
slideIndex = slides.length
}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " active";
captionText.innerHTML = dots[slideIndex - 1].alt;
}
</script>
......@@ -17,7 +17,7 @@ const fetchEntries = async versionStatus => {
Op.equalTo('sys.contentTypeId', 'andyLambTest'),
Op.equalTo('sys.versionStatus', versionStatus)
);
query.pageSize = 3;
query.pageSize = 4;
query.fields = ['title', 'exerpt', 'image', 'sys'];
//DELIVERY API QUERY END//
......
......@@ -16,3 +16,9 @@ YammerFeed.propTypes = {
};
export default YammerFeed;
{
/* Embed Code
<YammerFeed divHeight={800} divWidth={400} />
<Link to="/zenInfo">ZenInfo</Link> */
}
......@@ -35,3 +35,14 @@ YammerScripts.propTypes = {
};
export default YammerScripts;
{
/* Embed Code
<YammerScripts
container={'#embeddedFeed'}
network={'towerhamlets.gov.uk'}
feedType={'group'}
feedId={'20036132864'}
/>
*/
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment