From 43b63c8da1432379f7dd16e917d4c11fab0ae608 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Wed, 21 Jun 2023 13:21:36 +0200 Subject: [PATCH] Removed console.logs and renamed youtube-play-button -> vimeo-play-button --- resources/js/main.js | 3 --- resources/sass/front/pages/brand/poultry_pages/_engage.scss | 2 +- resources/views/front/modules/video-vimeo.blade.php | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/resources/js/main.js b/resources/js/main.js index b8157620..69e7821b 100644 --- a/resources/js/main.js +++ b/resources/js/main.js @@ -43,9 +43,7 @@ pages.keys().map(key => { document.addEventListener('DOMContentLoaded', function () { // * Video frames. - console.log('là'); const videoFrameList = document.querySelectorAll(".video-frame"); - console.log(videoFrameList); for (const videoLink of videoFrameList) { if (!videoLink.dataset.type) { throw new Error("Missing dataset type"); @@ -79,7 +77,6 @@ document.addEventListener('DOMContentLoaded', function () { newIframe.src = window.__CN_VIDEO[videoLink.dataset.type] ? String(videoLink.href) : String(videoLink.dataset.frame); - console.log(newIframe); }, 50); return false; }); diff --git a/resources/sass/front/pages/brand/poultry_pages/_engage.scss b/resources/sass/front/pages/brand/poultry_pages/_engage.scss index a8e22783..cdaa7911 100644 --- a/resources/sass/front/pages/brand/poultry_pages/_engage.scss +++ b/resources/sass/front/pages/brand/poultry_pages/_engage.scss @@ -6,7 +6,7 @@ position: relative; } -.youtube-play-button { +.vimeo-play-button { top: 50%; left: 50%; font-size: 3rem; diff --git a/resources/views/front/modules/video-vimeo.blade.php b/resources/views/front/modules/video-vimeo.blade.php index 08b25ffe..e230a9b2 100644 --- a/resources/views/front/modules/video-vimeo.blade.php +++ b/resources/views/front/modules/video-vimeo.blade.php @@ -4,5 +4,5 @@ alt="Alt" title="Title" > - +