Skip to content

Commit 74b7717

Browse files
committed
fix: align the footerCTA image and parent div
1 parent c0994d2 commit 74b7717

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/routes/-components/FooterCTA.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export const FooterCTA = () => {
66
return (
77
<div
88
data-test="FooterCTA"
9-
className="relative flex flex-col items-center gap-4 p-4 md:gap-10 md:p-10 lg:flex lg:flex-row lg:pl-[20%]"
9+
className="relative flex flex-col items-center gap-4 border border-red-600 p-4 md:gap-10 md:p-10 lg:flex lg:flex-row lg:justify-around"
1010
>
11-
<div className="z-10 lg:flex lg:w-1/2 lg:flex-col lg:gap-6">
12-
<p className="text-[32px] font-bold text-heading lg:text-[55px] lg:leading-[60.5px]">
11+
<div className="lg:flex-0 z-10 p-4 lg:flex lg:w-1/2 lg:flex-col lg:gap-6">
12+
<h1 className="text-[32px] font-bold text-heading lg:text-[55px] lg:leading-[60.5px]">
1313
Experience counts. Get it on Colabs.
14-
</p>
14+
</h1>
1515
<p className="font-ff-inconsolata text-lg font-bold leading-6 text-[#9f9c9c] lg:text-xl">
1616
Colabs is where you cut your teeth on enterprise projects. We have
1717
over 100 repositories on all tech tracks, carefully picked for you.
@@ -36,7 +36,7 @@ export const FooterCTA = () => {
3636
<img
3737
src={robot}
3838
alt="Standing robot"
39-
className="z-10 mt-4 pl-[30%] md:mt-6 md:w-[50%] md:pl-[15%] lg:w-auto"
39+
className="z-10 mt-4 pl-[30%] md:mt-6 md:w-[50%] md:pl-[15%] lg:h-auto lg:max-w-[40%] lg:object-contain"
4040
/>
4141
<img
4242
src={ellipse}

0 commit comments

Comments
 (0)