fix: build app docker image

This commit is contained in:
wancat committed 2024-04-05 23:59:26 +08:00
1 parent e2b5bb3b70
commit 1f55ae09d6
11 files changed
+77 -53

No files matched your search

+3 -3
View File
@@ -1,15 +1,15 @@
<script setup>
<script setup lang="ts">
import ContactButton from '../components/ContactButton.vue'
import DynamicBackground from '../components/DynamicBackground.vue'
import { bugReportUrl, facebookUrl, githubUrl } from '../config'
const scrollToSection = (sectionId) => {
const scrollToSection = (sectionId: string) => {
const section = document.getElementById(sectionId)
if (section) {
const container = document.querySelector('.overflow-y-auto') // Replace '.overflow-y-auto' with the appropriate class or selector for your container
if (container) {
container.scrollTo({
top: section.offsetTop - container.offsetTop,
top: section.offsetTop,
behavior: 'smooth', // Add smooth scrolling behavior if desired
})
}