mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-14 08:53:11 +00:00
13 lines
441 B
TypeScript
13 lines
441 B
TypeScript
import { getCachedGlobal } from '@/utilities/globals'
|
|
import { SocialLinks } from './socialLinks'
|
|
|
|
export const Header = async () => {
|
|
const settings = await getCachedGlobal('site-settings', 2)()
|
|
|
|
return (
|
|
<header className="flex items-center justify-between p-4 absolute top-0 left-0 right-0">
|
|
{settings.headerTitle ? <h4>{settings.headerTitle}</h4> : null}
|
|
<SocialLinks ariaLabel="Redes sociais" />
|
|
</header>
|
|
)
|
|
}
|