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

16
utils/hamburgerMenu.ts Normal file
View File

@@ -0,0 +1,16 @@
/**
* Type for HamburgerMenu component
* @module utils/hamburgerMenu
*/
import type { DropDownEntry } from "#imports";
/**
* Interface for HamburgerMenu component properties
* @property {Array<DropDownEntry>} entries Array of {@link DropDownEntry} objects representing the menu items in the hamburger menu.
*/
interface HamburgerMenuProperty {
entries: Array<DropDownEntry>;
}
export type { HamburgerMenuProperty };

14
utils/pankuzuList.ts Normal file
View File

@@ -0,0 +1,14 @@
/**
* Type for PankuzuList component
* @module utils/pankuzuList
*/
/**
* Interface for PankuzuList component property.
* @property {string=} currentPageName Name of page to show at the end of pankuzu list.
*/
interface PankuzuListProperty {
currentPageName?: string;
}
export type { PankuzuListProperty };