✅ 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.
237 lines
7.4 KiB
TypeScript
237 lines
7.4 KiB
TypeScript
/**
|
|
* 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
|