diff --git a/components/Contact.vue b/components/Contact.vue index c0b376f..0c4e551 100644 --- a/components/Contact.vue +++ b/components/Contact.vue @@ -39,7 +39,7 @@
o.type === this.filter)); + return shuffle(this.dataSource.filter(o => o.type === this.filter)); } }, props: { @@ -116,14 +116,10 @@ export default { methods: { // FIXME: Commented for testing purposes // observeElmt(elmt) { - // const options = { - // root: elmt, - // threshold: 1 - // }; // const observer = new IntersectionObserver( // ([e]) => // e.target.classList.toggle("shadow-md", e.intersectionRatio < 1), - // options + // { threshold: [1] } // ); // observer.observe(elmt); // } @@ -138,6 +134,7 @@ export default { z-index: 15; transition: all 0.1s; padding-top: calc(0.75rem + 1px); + padding-left: 0; } .grid-item-thumbnail { diff --git a/components/Hero.vue b/components/Hero.vue index d8bafbd..03c4387 100644 --- a/components/Hero.vue +++ b/components/Hero.vue @@ -6,9 +6,33 @@ class="rounded-3xl bg-white w-3/4 sm:w-1/2 max-w-lg mx-auto p-6 shadow-xl text-center" > + + + +

- wazo-lab.io + {{ title }}

+ +