From bef134871d3ec5cf1757bfe88decde36eb2cf8ea Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Thu, 29 Feb 2024 23:06:47 +0800 Subject: [PATCH] - edit position - add group info - add opinions - add start button --- app/src/views/LandingPage.vue | 289 ++++++++++++++++++++++------------ 1 file changed, 186 insertions(+), 103 deletions(-) diff --git a/app/src/views/LandingPage.vue b/app/src/views/LandingPage.vue index 7655b01..d14c1f2 100644 --- a/app/src/views/LandingPage.vue +++ b/app/src/views/LandingPage.vue @@ -20,18 +20,18 @@ const handleSignIn = async () => { const scrollToSection = (sectionId) => { const section = document.getElementById(sectionId) if (section) { + console.log(sectionId) window.scrollTo({ top: section.offsetTop, - behavior: 'smooth', }) } }