Merged in feat/SW-2999-cleanup (pull request #2810)

feat(SW-2999): cleanup current web

* feat(SW-2999): cleanup current web

* Merge master

* Removed unused fonts


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-09-16 11:28:57 +00:00
parent 48324ef935
commit fd0198f57b
137 changed files with 5 additions and 146805 deletions

View File

@@ -20,11 +20,6 @@ export const getProfile = cache(async function getMemoizedProfile() {
return caller.user.get()
})
export const getName = cache(async function getMemoizedName() {
const caller = await serverClient()
return caller.user.name()
})
export const getProfileSafely = cache(
async function getMemoizedProfileSafely() {
const caller = await serverClient()
@@ -101,20 +96,6 @@ export const getHeader = cache(async function getMemoizedHeader() {
return caller.contentstack.base.header()
})
export const getCurrentHeader = cache(async function getMemoizedCurrentHeader(
lang: Lang
) {
const caller = await serverClient()
return caller.contentstack.base.currentHeader({ lang })
})
export const getCurrentFooter = cache(async function getMemoizedCurrentFooter(
lang: Lang
) {
const caller = await serverClient()
return caller.contentstack.base.currentFooter({ lang })
})
export const getSiteConfig = cache(async function getMemoizedSiteConfig(
lang: Lang
) {