Merge origin/modular into feature/responsive-layout-refactor.

Keep the responsive layout refactor while bringing in modular updates for support UI, pricing, categories, and config loading.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-14 10:24:43 +03:30
co-authored by Cursor
19 changed files with 523 additions and 97 deletions
+16
View File
@@ -107,6 +107,22 @@
if (metaTheme) metaTheme.setAttribute('content', splashBg)
}
if (config?.user?.name_fa) {
document.title = config.user.name_fa
}
if (config?.user?.avatar) {
const faviconUrl = config.user.avatar
const existingIcons = document.querySelectorAll('link[rel*="icon"]')
existingIcons.forEach((icon) => icon.remove())
const link = document.createElement('link')
link.rel = 'icon'
link.type = 'image/png'
link.href = faviconUrl + '?v=' + Date.now()
document.head.appendChild(link)
}
// Resolve the promise
if (configResolve) {
configResolve(config)