mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
* chore: fix conflicts * chore: fix conflicts * chore: pause marquee * chore: fix conflicts * chore: fix conflicts * chore: address review comments * chore: fix conflicts * chore: other bug fixes * chore: fix conflicts * chore: fix radius * chore: fix review changes * chore: fix conflicts * chore: revert other * chore: fix conflicts * chore: fix review changes * chore: fix conflicts * chore: fix review changes * chore: fix button state * chore: fix button state * chore: fix review changes * chore: fix lint * chore: fix conflicts * chore: add metadata * chore: fix things * chore: fix overwritten states * chore: fix warnings * chore: fix button state * chore: fix review changes * chore: fix review changes * chore: fix hover state * chore: fix popover * chore: fix review changes * chore: fix review changes
26 lines
708 B
TypeScript
26 lines
708 B
TypeScript
'use client'
|
|
|
|
import { useBrandConfig } from '@/ee/whitelabeling'
|
|
|
|
export interface SupportFooterProps {
|
|
position?: 'fixed' | 'absolute'
|
|
}
|
|
|
|
export function SupportFooter({ position = 'fixed' }: SupportFooterProps) {
|
|
const brandConfig = useBrandConfig()
|
|
|
|
return (
|
|
<div
|
|
className={`right-0 bottom-0 left-0 z-50 pb-8 text-center font-[340] text-[var(--landing-text-muted)] text-small leading-relaxed ${position}`}
|
|
>
|
|
Need help?{' '}
|
|
<a
|
|
href={`mailto:${brandConfig.supportEmail}`}
|
|
className='text-[var(--landing-text-muted)] underline-offset-4 transition hover:text-[var(--landing-text)] hover:underline'
|
|
>
|
|
Contact support
|
|
</a>
|
|
</div>
|
|
)
|
|
}
|