feat: Add complete PDPA compliance pages
- Admin dashboard (/admin/consent-logs) with password auth - Consent API (/api/consent) with SQLite + IP hashing - Privacy Policy (Thai) - PDPA Section 36 compliant - Terms & Conditions (Thai) - 9 standard clauses - .env.example template with Umami placeholder All pages preserve current design system.
This commit is contained in:
15
dealplustech-astro/node_modules/astro-consent/dist/index.d.ts
generated
vendored
Normal file
15
dealplustech-astro/node_modules/astro-consent/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { AstroIntegration } from "astro";
|
||||
export interface AstroConsentOptions {
|
||||
siteName?: string;
|
||||
policyUrl?: string;
|
||||
consent?: {
|
||||
days?: number;
|
||||
storageKey?: string;
|
||||
};
|
||||
categories?: {
|
||||
essential?: boolean;
|
||||
analytics?: boolean;
|
||||
marketing?: boolean;
|
||||
};
|
||||
}
|
||||
export default function astroConsent(options?: AstroConsentOptions): AstroIntegration;
|
||||
Reference in New Issue
Block a user