Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const Footer = React.forwardRef<
ref={ref}
{...rest}
className={cn(
'flex w-full flex-col md:flex-row py-8 md:py-4 px-2 md-p4 gap-3 justify-center flex-wrap items-center bg-red-600',
'flex w-full flex-col md:flex-row py-8 md:py-4 px-2 md:p-4 sm:flex base:flex-col base:text-center gap-3 justify-center flex-wrap items-center bg-red-600',
className
)}
>
<p className="text-white">
<p className="text-white text-sm min-[375px]:text-base ">
Para cadastrar novos abrigos clique{' '}
<a
href="https://forms.gle/2S7L2gR529Dc8P3T9"
Expand All @@ -28,16 +28,16 @@ const Footer = React.forwardRef<
</a>
</p>
<span className="text-white hidden md:block">•</span>
<span className="text-white flex flex-nowrap gap-2 items-center">
<span className="text-white flex flex-nowrap md:gap-2 gap-1 items-center sm:flex-row base:flex-col">
Projeto Open Source disponível em{' '}
<a
className="underline hover:text-gray-300 flex"
className="underline hover:text-gray-300 flex items-center gap-1"
href="https://github.com/SOS-RS"
target="_blank"
>
Github
<Heart className="h-3 w-3 stroke-white fill-white" />
</a>
<Heart className="h-3 w-3 stroke-white fill-white" />
</span>
</div>
);
Expand Down
2 changes: 2 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ module.exports = {
'slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
},
screens: {
// min mobile dimension
base: '320px',
// max mobile dimension
sm: '425px',
},
Expand Down