Skip to content

Commit

Permalink
Refactor Footer component layout and styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
Darguima committed Nov 10, 2023
1 parent 41dc6ab commit 1e5e007
Showing 1 changed file with 31 additions and 30 deletions.
61 changes: 31 additions & 30 deletions components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,24 +85,38 @@ export default function Footer(props: IFooterProps) {
className={`spacing ${styles.bgTransition} bg-secondary`}
ref={observe}
>
<div className="justify-center lg:flex">
<div className="py- flex-1">
<div className="flex justify-center font-ibold lg:justify-start">
<Image
src="/images/sei-logo.svg"
width={100}
height={100}
alt="SEI Logo"
/>
<p className="pl-6 text-white lg:flex-1">
Semana da <br />
Engenharia
<br />
Informática
</p>
</div>
<div className="flex flex-col lg:flex-row justify-between gap-16 py-10">

<div className="flex justify-center items-start font-ibold lg:justify-start">
<Image
src="/images/sei-logo.svg"
width={100}
height={100}
alt="SEI Logo"
/>
<p className="pl-6 text-white lg:flex-1">
Semana da <br />
Engenharia
<br />
Informática
</p>
</div>

<div className="hidden lg:flex mt-20 mx-2 justify-center pb-10">
<Animation
text={
props.footerAnimationText != undefined ? (
props.footerAnimationText
) : (
<DefaultAnimation />
)
}
>
{props.children}
</Animation>
</div>
<div className="flex-2 py-10">

<div className="flex-2">
<div className="grid grid-rows-2 justify-items-center gap-8 font-iregular text-sm text-white lg:grid-cols-2 lg:justify-items-end">
<Link
href="https://2022.seium.org/"
Expand Down Expand Up @@ -130,19 +144,6 @@ export default function Footer(props: IFooterProps) {
</div>
</div>
</div>
<div className="invisible -mt-20 flex justify-center pb-10 lg:visible">
<Animation
text={
props.footerAnimationText != undefined ? (
props.footerAnimationText
) : (
<DefaultAnimation />
)
}
>
{props.children}
</Animation>
</div>
</div>
);
}

0 comments on commit 1e5e007

Please sign in to comment.