adding option for branding

This commit is contained in:
RandyJC
2025-12-09 10:29:18 +01:00
parent a572eb35cd
commit f748d6ec3f
4 changed files with 44 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
"use client"
import { useThemeStore } from "@rahoot/web/stores/theme"
import { useEffect } from "react"
const BrandingHelmet = () => {
const { brandName } = useThemeStore()
useEffect(() => {
if (brandName) {
document.title = brandName
}
}, [brandName])
return null
}
export default BrandingHelmet