Hover Footer
Hover Footer é um componente de sobreposição para React e Tailwind CSS, da biblioteca UI Layouts, com licença MIT. Copia e cola no teu projeto.
UI Layouts
MIT
overlays
O que é
Hover Footer é um componente de sobreposição para React e Tailwind CSS, da biblioteca UI Layouts, com licença MIT. Copia e cola no teu projeto.
Como usar
Abre o componente no catálogo, carrega em copiar, e cola no teu projeto. O prompt copiado leva o código e as regras para o teu agente o reproduzir sem alterar nada.
Cinco cópias grátis por mês. Sem cartão.
Precisa de
npm i motion
Licença
Este componente vem de UI Layouts e é redistribuído sob a licença MIT, que permite uso comercial. O aviso de copyright viaja com o código.
Hover Footer
'use client';
import AnimatedText from '@/components/ui/cursor-follow-text';
import React from 'react';
function HoverFooter() {
return (
<footer
className='footer-bg relative border 2xl:h-[550px] h-fit lg:pb-20 w-[95%] mx-auto mb-8 rounded-lg overflow-hidden radial-gradient-bg
[--gradient-center:#f3f4f6] [--gradient-edge:#f3f4f6]
dark:[--gradient-center:#02081765] dark:[--gradient-edge:#020817]'
>
<div className='gap-10 sm:flex justify-between p-5 2xl:py-10 py-5 dark:bg-[#4c61ff] bg-blue-500 rounded-xs rounded-b-none text-white'>
<div className='w-fit flex-col flex justify-center'>
<div className='2xl:w-24 2xl:h-24 w-20 h-20 ml-3 bg-white rounded-xs before:absolute relative before:w-full before:h-full before:bg-white/50 before:rounded-md before:-top-3 before:-left-3'></div>
<article className='py-2 2xl:w-80 w-64 space-y-1'>
<h1 className='newFont text-3xl font-bold'>UI-LAYOUT</h1>
<p className='text-sm leading-[120%] '>
Copy and paste designs that you love to have on your website. Don't forget to share
them with your friends. I'll bring more and more components that really make sense for
your design.
</p>
</article>
</div>
<div className='sm:block flex sm:mt-0 mt-4 gap-2 sm:w-auto w-full sm:space-y-2 relative z-1'>
<a
href='https://www.linkedin.com/in/naymur-rahman/'
target='_blank'
className='bg-neutral-50 sm:w-auto w-full grid place-content-center 2xl:h-40 h-32 2xl:p-10 p-5 rounded-lg'
rel='noreferrer noopener'
>
<svg
xmlns='http://www.w3.org/2000/svg'
width='70'
height='62'
viewBox='0 0 70 62'
fill='none'
className='sm:w-24 w-full text-blue-500'
>
<path
d='M55.1291 0H65.8629L42.4127 26.2626L70 62H48.3994L31.481 40.3254L12.1226 62H1.38228L26.4646 33.9092L0 0H22.149L37.4417 19.8114L55.1291 0ZM51.3619 55.7046H57.3096L18.9172 5.96472H12.5347L51.3619 55.7046Z'
fill='currentColor'
></path>
</svg>
</a>
<a
href='https://x.com/naymur_dev'
target='_blank'
className='bg-neutral-50 sm:w-auto w-full grid place-content-center 2xl:h-40 h-32 2xl:p-10 p-5 rounded-lg'
rel='noreferrer noopener'
>
<svg
xmlns='http://www.w3.org/2000/svg'
width='100%'
height='100%'
viewBox='0 0 80 78'
fill='none'
className='sm:w-24 w-full text-blue-500'
>
<path
d='M16.6 8.79036C16.6 13.3937 12.9 17.1237 8.33333 17.1237C3.76667 17.1237 0.0666667 13.3937 0.0666667 8.79036C0.0666667 4.19036 3.76667 0.457031 8.33333 0.457031C12.9 0.457031 16.6 4.19036 16.6 8.79036ZM16.6667 23.7904H0V77.1237H16.6667V23.7904ZM43.2733 23.7904H26.7133V77.1237H43.2767V49.127C43.2767 33.5604 63.3733 32.287 63.3733 49.127V77.1237H80V43.3537C80 17.087 50.26 18.0437 43.2733 30.9737V23.7904Z'
fill='currentColor'
></path>
</svg>
</a>
</div>
</div>
<div className='lg:flex hidden'>
<AnimatedText text='UI-LAYOUT' className='2xl:text-[11rem] text-[12vw]' />
</div>
</footer>
);
}
export default HoverFooter;