🎨 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:
19
dealplustech-astro/node_modules/decode-named-character-reference/index.js
generated
vendored
Normal file
19
dealplustech-astro/node_modules/decode-named-character-reference/index.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import {characterEntities} from 'character-entities'
|
||||
|
||||
// To do: next major: use `Object.hasOwn`.
|
||||
const own = {}.hasOwnProperty
|
||||
|
||||
/**
|
||||
* Decode a single character reference (without the `&` or `;`).
|
||||
* You probably only need this when you’re building parsers yourself that follow
|
||||
* different rules compared to HTML.
|
||||
* This is optimized to be tiny in browsers.
|
||||
*
|
||||
* @param {string} value
|
||||
* `notin` (named), `#123` (deci), `#x123` (hexa).
|
||||
* @returns {string|false}
|
||||
* Decoded reference.
|
||||
*/
|
||||
export function decodeNamedCharacterReference(value) {
|
||||
return own.call(characterEntities, value) ? characterEntities[value] : false
|
||||
}
|
||||
Reference in New Issue
Block a user