added Back To Top functionality and Pankuzu list, Q and A Box, and Hamburger menu components

This commit is contained in:
2024-10-12 20:52:13 +09:00
parent 545ac73e0e
commit e99db9f8bd
80 changed files with 1413 additions and 723 deletions

View File

@@ -1,14 +1,12 @@
<script setup lang="ts">
import type { DropDownProperty } from "#imports";
import { DropDownAlignment, type DropDownProperty } from "#imports";
const property = defineProps<DropDownProperty>();
const isOpen = ref<boolean>(false);
const showInMobile = ref<boolean>(property.showInMobile);
const { viewPortType } = useWindowDimensions();
const listAlignment = ref<typeof DropDownAlignment | number>(
property.alignment | DropDownAlignment.Left
property.alignment as DropDownAlignment | DropDownAlignment.Left
);
const alignmentClass = computed(() => ({