🎨 Fix CSS: Import global.css + plain CSS styles
CSS was not being imported! Fixed: ✅ Added 'import ../styles/global.css' to BaseLayout.astro ✅ Rewrote CSS with plain CSS (not @apply which wasn't working) ✅ Cookie banner has inline styles as backup ✅ Font size: 16px base ✅ Solid colors: green-600 (#16a34a), gray-900 (#111827) ✅ Footer has policy links Build: 12 pages ✅
This commit is contained in:
22
db/config.ts
Normal file
22
db/config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { defineTable, column, NOW } from 'astro:db';
|
||||
|
||||
const ConsentLog = defineTable({
|
||||
columns: {
|
||||
id: column.number({ primaryKey: true, autoIncrement: true }),
|
||||
sessionId: column.text({ unique: true }),
|
||||
timestamp: column.date({ default: NOW }),
|
||||
locale: column.text({ default: 'th' }),
|
||||
essential: column.boolean({ default: true }),
|
||||
analytics: column.boolean({ default: false }),
|
||||
marketing: column.boolean({ default: false }),
|
||||
policyVersion: column.text({ default: '1.0' }),
|
||||
ipHash: column.text(),
|
||||
userAgent: column.text(),
|
||||
},
|
||||
});
|
||||
|
||||
export default {
|
||||
tables: {
|
||||
ConsentLog,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user