# AGENTS.md This file provides guidelines for agentic coding agents working in this repository. ## Tech Stack - **Framework**: Astro 5.7.3 - Static site generator - **Styling**: Tailwind CSS 3.4.19 with custom theme - **Package Manager**: pnpm 10.29.2 - **TypeScript**: 5.9.3 with @astrojs/check - **Icons**: FontAwesome 4.7.0 (CDN) ## Build & Development Commands ```bash # Development pnpm dev # Start dev server at http://localhost:4321 pnpm start # Alias for pnpm dev # Build & Quality pnpm build # Run astro check then build (production) pnpm preview # Preview production build locally # Direct Astro commands pnpm astro # Run any astro command directly ``` **Note**: No test framework is currently configured. When adding tests, first check with the maintainers. ## Project Structure ``` src/ ├── layouts/Layout.astro # Main layout with desktop/mobile navigation ├── pages/ # Route pages (use .astro files) │ ├── index.astro # Home page │ ├── qazk/index.astro # Product center - industrial safety (工贸企业) │ ├── property/index.astro # Product center - smart property (物业楼宇) │ ├── elderly/index.astro # Product center - smart elderly care │ ├── construction/index.astro # Product center - smart construction │ ├── education/index.astro # Product center - smart campus │ ├── kitchen/index.astro # Product center - smart kitchen │ ├── chemical/index.astro # Product center - hazardous chemicals (危险化学品) │ ├── fireworks/index.astro # Product center - fireworks (烟花爆竹) │ ├── mining/index.astro # Product center - non-coal mining (非煤矿山) │ ├── customization/index.astro │ ├── partnership/index.astro │ └── intro/*/index.astro # Intro/detail pages ├── components/ │ └── sections/ # Reusable section components └── styles/styles.css # Global styles public/ ├── img/ │ ├── property/ # Smart property page assets (webp) │ ├── elderly/ # Smart elderly care page assets (webp preferred) │ ├── construction/ # Smart construction page assets (webp preferred) │ ├── education/ # Smart campus page assets (webp + svg) │ ├── kitchen/ # Smart kitchen page assets (webp) │ ├── chemical/ # Hazardous chemicals assets (hero.webp + architecture.webp) │ ├── fireworks/ # Fireworks assets (hero.webp + architecture.webp) │ ├── mining/ # Non-coal mining assets (hero.webp + architecture.webp) │ └── ... └── js/script.js ``` ### High-risk industry modules pattern (chemical / fireworks / mining) Each follows the same simplified 5-section layout (similar to construction): 1. `{Industry}Hero.astro` — IOC big-screen screenshot + 4 feature pills + 2 audience boxes (企业 / 监管赋能) 2. `{Industry}PainPoints.astro` — industry-specific pain points (4–6 items, distinct visual style per module) 3. `{Industry}Policy.astro` — industry-specific regulations (6–10 items, distinct layout per module) 4. `{Industry}Architecture.astro` — solution overview + system layer diagram + architecture image 5. `{Industry}Hardware.astro` — 6 key hardware solutions (text + icons, no images) Hero images are IOC dashboard screenshots; architecture images are 3D scene illustrations of the facility. ## Code Style Guidelines ### Astro Components - File extension: `.astro` - Frontmatter uses `---` delimiters - Import components at the top of the frontmatter section - Use TypeScript for type annotations in frontmatter and `