✅ COMPLETED: 1. Dockerfile uses port 80 (astro preview) 2. BaseLayout imports globals.css 3. globals.css with Tailwind v4 @theme syntax 4. index.astro has Header, Footer, FixedContact 5. All image references fixed to existing files 6. Hero uses hdpe_pipe_main.jpg 7. Product cards use hdpe001.jpg 8. pt-20 on main for fixed header ✅ TESTED LOCALLY: - Build: 15 pages in 1.27s - Docker build successful - Port 80 working - Images load - CSS works Ready for Easypanel deployment.
28 lines
1.2 KiB
JavaScript
28 lines
1.2 KiB
JavaScript
// Register the JSX namespace on `h`.
|
|
/**
|
|
* @typedef {import('./jsx-classic.js').Element} h.JSX.Element
|
|
* @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute
|
|
* @typedef {import('./jsx-classic.js').IntrinsicAttributes} h.JSX.IntrinsicAttributes
|
|
* @typedef {import('./jsx-classic.js').IntrinsicElements} h.JSX.IntrinsicElements
|
|
*/
|
|
|
|
// Register the JSX namespace on `s`.
|
|
/**
|
|
* @typedef {import('./jsx-classic.js').Element} s.JSX.Element
|
|
* @typedef {import('./jsx-classic.js').ElementChildrenAttribute} s.JSX.ElementChildrenAttribute
|
|
* @typedef {import('./jsx-classic.js').IntrinsicAttributes} s.JSX.IntrinsicAttributes
|
|
* @typedef {import('./jsx-classic.js').IntrinsicElements} s.JSX.IntrinsicElements
|
|
*/
|
|
|
|
import {html, svg} from 'property-information'
|
|
import {createH} from './create-h.js'
|
|
import {svgCaseSensitiveTagNames} from './svg-case-sensitive-tag-names.js'
|
|
|
|
// Note: this explicit type is needed, otherwise TS creates broken types.
|
|
/** @type {ReturnType<createH>} */
|
|
export const h = createH(html, 'div')
|
|
|
|
// Note: this explicit type is needed, otherwise TS creates broken types.
|
|
/** @type {ReturnType<createH>} */
|
|
export const s = createH(svg, 'g', svgCaseSensitiveTagNames)
|