Skip to content

Commit 4efea6c

Browse files
committed
feat:added sitemap [ECO-280]
1 parent 8bb3d16 commit 4efea6c

File tree

4 files changed

+8377
-1453
lines changed

4 files changed

+8377
-1453
lines changed

helper/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ export const getFooterRes = async () => {
1717
return response[0][0];
1818
};
1919

20+
export const getAllEntries =async () =>{
21+
const response = await Stack.getEntry({
22+
contentTypeUid:'page'
23+
})
24+
return response[0]
25+
}
26+
2027
export const getHomeRes = async (entryUrl) => {
2128
const response = await Stack.getEntryByUrl({
2229
contentTypeUid: 'page',

0 commit comments

Comments
 (0)