import { motion } from 'framer-motion'; import { clsm } from '../../../utils'; import { useChannel } from '../../../contexts/Channel'; import { useProfileViewAnimation } from '../contexts/ProfileViewAnimation'; import { useResponsiveDevice } from '../../../contexts/ResponsiveDevice'; const heroBannerLinearGradients = { dark: ` linear-gradient( 0deg, hsla(var(--base-color-white), 0%, 1) 0%, hsla(var(--base-color-white), 0%, 0.3) 100% ) `, light: { collapsed: ` linear-gradient( 0deg, hsla(var(--base-color-white), 80%, 1) 0%, hsla(var(--base-color-white), 80%, 0.95) 39.58%, hsla(var(--base-color-white), 80%, 0.3) 100% ) `, expanded: ` linear-gradient( 0deg, hsla(var(--base-color-white), 100%, 1) 0%, hsla(var(--base-color-white), 100%, 0.95) 39.58%, hsla(var(--base-color-white), 100%, 0.3) 100% ) ` } }; const ProfileViewHeroBanner = () => { const { getProfileViewAnimationProps, headerAnimationControls, isProfileViewExpanded, shouldAnimateProfileView } = useProfileViewAnimation(); const { isMobileView, isLandscape } = useResponsiveDevice(); const { channelData } = useChannel(); const bannerSrc = channelData?.channelAssetUrls?.banner || ''; return ( ); }; export default ProfileViewHeroBanner;