Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change footer illustration styling #1093

Merged
merged 3 commits into from
Jan 7, 2025
Merged
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
26 changes: 0 additions & 26 deletions src/components/navigation/footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const Footer = ({
<div className={styles.flex_container_left}>
<div>
<TextTertiary>{t("text")}</TextTertiary>
{/* TODO:: Get offices and map through. Should these link to something? */}
<ul className={styles.offices}>
{companyLocations.map((location) => (
<li
Expand Down Expand Up @@ -108,31 +107,6 @@ const Footer = ({
height={74}
/>
<div className={styles.grey_links}>
{/* <ul className={styles.grey_links__language}>
<li>
<CustomLink link={dummyLink("English")} type="footerLink" />
</li>
</ul> */}
{/* THERE ARE NO LEGAL DOCUMENTS FOR LAUNCH, REINSTATE WHEN WE HAVE LEGAL DOCUMENTS TO SHOW */}
{/* <ul className={styles.credits}>
{legalData?.map((legal) => {
const link: ILink = {
_key: legal._id,
_type: legal._type,
linkTitle: legal.basicTitle,
linkType: LinkType.Internal,
internalLink: {
_ref: legal.slug.current,
},
language: legal.language,
};
return (
<li key={legal._id}>
<CustomLink link={link} type="footerLink" />
</li>
);
})}
</ul> */}
<span className={styles.organisationNumber}>
Org. nr. {companyInfo.organizationNumber}
</span>
Expand Down
4 changes: 4 additions & 0 deletions src/components/navigation/footer/footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
border-radius: 0.75rem;
padding: 1.5rem;
padding-bottom: 2.25rem;
position: relative;
z-index: 1;

@media (min-width: 802px) {
padding: 2.25rem;
}
Expand Down Expand Up @@ -91,6 +94,7 @@
font-style: normal;
font-weight: 500;
line-height: 120%;

&:hover {
text-decoration: underline;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const FooterIllustration = ({ color }: FooterIllustrationProps) => {
return (
<div className={styles.footerIllustrations}>
<svg
className={styles.svgLeft}
xmlns="http://www.w3.org/2000/svg"
width="147"
height="71"
Expand Down Expand Up @@ -44,6 +45,7 @@ export const FooterIllustration = ({ color }: FooterIllustrationProps) => {
/>
</svg>
<svg
className={styles.svgRight}
xmlns="http://www.w3.org/2000/svg"
width="215"
height="84"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,38 @@
background-color: transparent;
display: flex;
align-items: flex-end;
justify-content: space-around;
padding-left: 6.5rem;
gap: 9.3rem;
position: relative;
top: 2rem;
z-index: 0;

& > svg {
width: 20%;
& > .svgLeft {
width: 283px;
height: auto;
}

& > .svgRight {
width: 421px;
height: auto;
}

@media (max-width: 834px) {
top: 0;
padding-left: 5.25rem;
gap: 10rem;

& > .svgLeft {
width: 141px;
}

& > .svgRight {
width: 211px;
}
}

@media (max-width: 425px) {
padding-left: 1.25rem;
gap: 0rem;
}
}
Loading