feat(settings): add font and apply to relevant text fields

This commit is contained in:
Maximilian Liebmann 2025-05-22 15:21:36 +02:00 committed by Maximilian Liebmann
parent a1a482abcc
commit 4b3e0677e4
9 changed files with 49 additions and 18 deletions

View file

@ -110,6 +110,18 @@ export default function Logo({
// Match the varName with the Logo-Asset name and store it in "logoVar"
const logoVar = logoAssets[varName as keyof typeof logoAssets];
if (!logoVar) {
console.error(`Logo: Could not find logo asset for ${varName}`);
return (
<div
role='alert'
className='p-2 text-red-700 bg-red-100 border border-red-500 rounded-md text-xs'
>
Error: Logo asset not found. Check console.
</div>
);
}
return (
<Image
src={logoVar}