feat: Upgrade to Astro with full PDPA compliance

PDPA Features:
 Cookie consent banner
 Consent logging API
 Admin dashboard
 Privacy Policy
 Terms & Conditions

Technical:
 Astro 5.x + Tailwind v4
 Docker on port 80
 SQLite database
 15 pages built

Ready for Easypanel deployment.
This commit is contained in:
Kunthawat
2026-03-12 10:01:04 +07:00
parent 668f69048f
commit 77ac4d2d05
13719 changed files with 307487 additions and 25765 deletions

View File

@@ -0,0 +1,237 @@
/**
* Create an automatic runtime.
*
* @param {ReturnType<CreateH>} f
* `h` function.
* @returns
* Automatic JSX runtime.
*/
export function createAutomaticRuntime(f: ReturnType<typeof CreateH>): {
Fragment: null;
jsxDEV: {
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
(type: null, properties: {
children?: Child;
}, key?: string | null | undefined): Root;
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
(type: string, properties: JSXProps, key?: string | null | undefined): Element;
};
jsxs: {
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
(type: null, properties: {
children?: Child;
}, key?: string | null | undefined): Root;
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
(type: string, properties: JSXProps, key?: string | null | undefined): Element;
};
jsx: {
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
(type: null, properties: {
children?: Child;
}, key?: string | null | undefined): Root;
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
/**
* @overload
* @param {null} type
* @param {{children?: Child}} properties
* @param {string | null | undefined} [key]
* @returns {Root}
*
* @overload
* @param {string} type
* @param {JSXProps} properties
* @param {string | null | undefined} [key]
* @returns {Element}
*
* @param {string | null} type
* Element name or `null` to get a root.
* @param {Properties & {children?: Child}} properties
* Properties.
* @returns {Result}
* Result.
*/
(type: string, properties: JSXProps, key?: string | null | undefined): Element;
};
};
export type JSXProps = Record<string, Child | PropertyValue | Style>;
import type { createH as CreateH } from './create-h.js';
import type { Child } from './create-h.js';
import type { Root } from 'hast';
import type { Element } from 'hast';
import type { PropertyValue } from './create-h.js';
import type { Style } from './create-h.js';
//# sourceMappingURL=create-automatic-runtime.d.ts.map