fix branding

This commit is contained in:
RandyJC
2025-12-09 11:44:11 +01:00
parent 1679e68691
commit 9d64f7f0b4
6 changed files with 66 additions and 26 deletions

View File

@@ -0,0 +1,23 @@
"use client"
import { useThemeStore } from "@rahoot/web/stores/theme"
import clsx from "clsx"
type Props = {
className?: string
}
const BrandHeading = ({ className }: Props) => {
const { brandName } = useThemeStore()
const label = brandName || "Rahoot!"
return (
<div className={clsx("text-center", className)}>
<div className="inline-flex rounded-md bg-white/90 px-4 py-2 text-3xl font-black text-[#f7931e] shadow-sm">
{label}
</div>
</div>
)
}
export default BrandHeading