-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: reverts footer to use flex
- Loading branch information
Showing
6 changed files
with
63 additions
and
58 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ import CONFIG from '@/lib/configs'; | |
import { IconType } from '@/lib/icons'; | ||
import { Flex } from '@/styles/containers'; | ||
import { P } from '@/styles/text'; | ||
import FooterImage from '../../../public/images/footer-image.webp'; | ||
import IJPLogoWhite from '~/public/images/ijp-logo-white.webp'; | ||
import Icon from '../Icon'; | ||
import * as Styles from './styles'; | ||
|
||
|
@@ -25,61 +25,61 @@ const socialLinks: SocialLink[] = [ | |
export default function Footer() { | ||
return ( | ||
<Styles.Footer> | ||
<Styles.FooterSection> | ||
<Image | ||
alt="footer image" | ||
src={FooterImage.src} | ||
placeholder="blur" | ||
blurDataURL={FooterImage.src} | ||
quality={100} | ||
width={168} | ||
height={66} | ||
/> | ||
<Styles.HorizontalLine $width="10rem" /> | ||
<P $color="white"> | ||
2727 Camino del Rio South, Suite 320 | ||
<br /> | ||
San Diego, CA 92108 | ||
</P> | ||
<P $color="white">©2024 by ABA Immigration Justice Project</P> | ||
<Flex $direction="row" $gap="10px" $py="40px" $align="center"> | ||
<Styles.FooterLink $color="white" href={CONFIG.blueprint}> | ||
Made By Cal Blueprint | ||
</Styles.FooterLink> | ||
<Icon type="blueprint" /> | ||
</Flex> | ||
</Styles.FooterSection> | ||
|
||
<Flex $gap="50px"> | ||
<Styles.FooterSection> | ||
<Styles.Header>Resources</Styles.Header> | ||
<Styles.HorizontalLine /> | ||
<Styles.FooterLink $color="white" href={CONFIG.ABA}> | ||
ABA Website | ||
</Styles.FooterLink> | ||
<Styles.FooterLink $color="white" href={CONFIG.ABAComissions}> | ||
ABA Commission | ||
<br /> | ||
on Immigration | ||
</Styles.FooterLink> | ||
<Styles.FooterLink $color="white" href={CONFIG.IJP}> | ||
ABA IJP Website | ||
</Styles.FooterLink> | ||
</Styles.FooterSection> | ||
<Flex $justify="between"> | ||
<Styles.FooterSection> | ||
<Styles.Header>Contact Us</Styles.Header> | ||
<Styles.HorizontalLine /> | ||
<P $color="white">Email: [email protected]</P> | ||
<P $color="white">Phone: 619-255-8829</P> | ||
<P $color="white">Office Phone: 619-255-8810</P> | ||
<Flex $gap="10px"> | ||
{socialLinks.map(({ href, type }) => ( | ||
<Link key={type} href={href}> | ||
<Icon type={type} /> | ||
</Link> | ||
))} | ||
</Flex> | ||
<Image | ||
alt="footer image" | ||
src={IJPLogoWhite} | ||
placeholder="blur" | ||
blurDataURL={IJPLogoWhite.src} | ||
quality={100} | ||
width={168} | ||
height={66} | ||
/> | ||
<Styles.HorizontalLine $width="10rem" /> | ||
|
||
<P $color="white"> | ||
2727 Camino del Rio South, Suite 320 <br /> San Diego, CA 92108 | ||
</P> | ||
<P $color="white">©2024 by ABA Immigration Justice Project</P> | ||
</Styles.FooterSection> | ||
<Styles.FooterInfo> | ||
<Styles.FooterSection> | ||
<Styles.Header>Resources</Styles.Header> | ||
<Styles.HorizontalLine /> | ||
<Styles.FooterLink $color="white" href={CONFIG.ABA}> | ||
ABA Website | ||
</Styles.FooterLink> | ||
<Styles.FooterLink $color="white" href={CONFIG.ABAComissions}> | ||
ABA Commission | ||
<br /> | ||
on Immigration | ||
</Styles.FooterLink> | ||
<Styles.FooterLink $color="white" href={CONFIG.IJP}> | ||
ABA IJP Website | ||
</Styles.FooterLink> | ||
</Styles.FooterSection> | ||
<Styles.FooterSection> | ||
<Styles.Header>Contact Us</Styles.Header> | ||
<Styles.HorizontalLine /> | ||
<P $color="white">Email: [email protected]</P> | ||
<P $color="white">Phone: (619) 255-8829</P> | ||
<P $color="white">Office Phone: (619) 255-8810</P> | ||
<Flex $gap="10px"> | ||
{socialLinks.map(({ href, type }) => ( | ||
<Link key={type} href={href}> | ||
<Icon type={type} /> | ||
</Link> | ||
))} | ||
</Flex> | ||
</Styles.FooterSection> | ||
</Styles.FooterInfo> | ||
</Flex> | ||
<Flex $direction="row" $gap="10px" $py="40px" $align="center"> | ||
<Styles.FooterLink $color="white" href={CONFIG.blueprint}> | ||
Made by Cal Blueprint | ||
</Styles.FooterLink> | ||
<Icon type="blueprint" /> | ||
</Flex> | ||
</Styles.Footer> | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters