15 lines
394 B
TypeScript
Executable File
15 lines
394 B
TypeScript
Executable File
'use client'
|
|
import React from 'react';
|
|
import usePublicImage from '@/hooks/use-public-image';
|
|
const HomepageHeader: React.FC = () => {
|
|
const { imageUrl } = usePublicImage('homepage/header.png');
|
|
return (
|
|
<div
|
|
className="w-full max-w-[1920px] min-h-[704px] bg-cover bg-center mx-auto"
|
|
style={{ backgroundImage: `url(${imageUrl})` }}
|
|
>
|
|
</div>
|
|
);
|
|
};
|
|
export default HomepageHeader;
|