✅ 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.
24 lines
930 B
TypeScript
24 lines
930 B
TypeScript
/// <reference path="./client.d.ts" />
|
|
|
|
// Caution! The types here are only available inside Astro files (injected automatically by our language server)
|
|
// As such, if the typings you're trying to add should be available inside ex: React components, they should instead
|
|
// be inside `client.d.ts`
|
|
|
|
type Astro = import('./dist/types/public/context.js').AstroGlobal;
|
|
|
|
// We have to duplicate the description here because editors won't show the JSDoc comment from the imported type
|
|
// However, they will for its properties, ex: Astro.request will show the AstroGlobal.request description
|
|
/**
|
|
* Astro global available in all contexts in .astro files
|
|
*
|
|
* [Astro documentation](https://docs.astro.build/en/reference/api-reference/)
|
|
*/
|
|
declare const Astro: Readonly<Astro>;
|
|
|
|
declare const Fragment: any;
|
|
|
|
declare module '*.html' {
|
|
const Component: (opts?: { slots?: Record<string, string> }) => string;
|
|
export default Component;
|
|
}
|