Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -68,6 +68,9 @@ Used by the Industries grid (`IndustryUseCases` component) and the home-page Ind
|
||||
| `cards/education.jpg` | YS Lootah library | internal |
|
||||
| `cards/security-surveillance.jpg` | YS Lootah library | internal |
|
||||
| `cards/warehouses-logistics.webp` | YS Lootah library | internal |
|
||||
| `cards/events.webp` | YS Lootah library | internal |
|
||||
| `cards/smart-buildings.webp` | YS Lootah library | internal |
|
||||
| `cards/government.jpg` | YS Lootah library | internal |
|
||||
|
||||
## Industry page heroes (`/industries/pages/`)
|
||||
|
||||
@@ -86,6 +89,15 @@ Used by the `[slug]` detail page hero. May reuse internal library or brand refer
|
||||
|
||||
---
|
||||
|
||||
## Known production-hotlink issues (outside `/industries/`)
|
||||
|
||||
These files still hotlink directly to brand CDNs and should be migrated to local copies before public launch:
|
||||
|
||||
- `src/data/robots.ts` — multiple `unitree.com/images/...` and `oss-global-cdn.unitree.com/...` references
|
||||
- `src/data/accessories.ts` — multiple `unitree.com/images/...` references
|
||||
|
||||
Track separately from this folder's asset list.
|
||||
|
||||
## TODO before public launch
|
||||
|
||||
1. Replace every `needs-approval` asset with either:
|
||||
@@ -93,4 +105,5 @@ Used by the `[slug]` detail page hero. May reuse internal library or brand refer
|
||||
- Original YS Lootah photography / commissioned renders.
|
||||
2. Convert remaining `.jpg` / `.png` heroes to `.webp` once final assets are locked.
|
||||
3. Audit alt text for accuracy after any image swap.
|
||||
4. Keep this file in sync with `src/data/industries.ts` and `src/data/industry-pages.ts`.
|
||||
4. Migrate the brand-CDN hotlinks listed above to local files.
|
||||
5. Keep this file in sync with `src/data/industries.ts` and `src/data/industry-pages.ts`.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 494 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 162 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 192 KiB |
Reference in New Issue
Block a user