feat: enhance domain handling for global representatives
- Updated `getStateInfo` to fetch site context for domains not in city.json, returning `repContext` with representative details. - Implemented caching for site context requests to optimize performance. - Modified doctor and clinic listing pages to pass the `domain` parameter when fetching data for global representatives. - Adjusted metadata generation in layout and pages to reflect representative branding based on `repContext`. - Added documentation for the new functionality in `.claude/prompt/global-rep-domain-site.md`.
This commit is contained in:
@@ -70,8 +70,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"app/clinics/page.js": {
|
||||
"mtime": 1783253595.1569397,
|
||||
"ast_hash": "08304d49bbdda4c447abe043f3d92be7",
|
||||
"mtime": 1783569646.0080516,
|
||||
"ast_hash": "57a8ff41a6d9eb082c62179a15e5dc82",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"app/component/AnimationTextHead.js": {
|
||||
@@ -430,8 +430,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"app/doctors/page.js": {
|
||||
"mtime": 1783253595.1556766,
|
||||
"ast_hash": "c2cbe5caa8996f5a7b4e764a32271350",
|
||||
"mtime": 1783569643.148586,
|
||||
"ast_hash": "d0beacb3f322c3a94f04b23c41542ce3",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"app/error.js": {
|
||||
@@ -440,8 +440,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"app/layout.js": {
|
||||
"mtime": 1783253481.1810312,
|
||||
"ast_hash": "7f0b2edd763fa7df467a638e8a68682d",
|
||||
"mtime": 1783569669.0787313,
|
||||
"ast_hash": "2b4b26060d096c6810fadbe8e9d562f1",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"app/login-verify/page.js": {
|
||||
@@ -2610,8 +2610,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"lib/getStateInfo.js": {
|
||||
"mtime": 1783016454.4175303,
|
||||
"ast_hash": "71610167fccfe0d1cec30a7b4b36ce44",
|
||||
"mtime": 1783569569.9403472,
|
||||
"ast_hash": "cc7a38cc74db3022578f3fdde5b30ff2",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"lib/getStateInfo.test.js": {
|
||||
@@ -3413,5 +3413,10 @@
|
||||
"mtime": 1783498761.5902257,
|
||||
"ast_hash": "e2a4e8b2fe6f75af3c709c23075e9647",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
".claude/prompt/global-rep-domain-site.md": {
|
||||
"mtime": 1783568045.290634,
|
||||
"ast_hash": "468c80e35c433c7a03e87bb8481e37d7",
|
||||
"semantic_hash": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user