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

update companies #6477

Merged
merged 1 commit into from
Aug 25, 2023
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
39 changes: 25 additions & 14 deletions website/src/components/widgets/companies-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import E2mLogoSvg from "@/images/companies/e2m.svg";
import ExlrtLogoSvg from "@/images/companies/exlrt.svg";
import EzeepLogoSvg from "@/images/companies/ezeep.svg";
import FulcrumLogoSvg from "@/images/companies/fulcrum.svg";
import GalaxusLogoSvg from "@/images/companies/galaxus.svg";
import GiaLogoSvg from "@/images/companies/gia.svg";
import HiloLogoSvg from "@/images/companies/hilo.svg";
import IncloudLogoSvg from "@/images/companies/incloud.svg";
Expand Down Expand Up @@ -66,6 +67,11 @@ export const CompaniesSection: FC = () => (
<Company {...SwissLifeLogoSvg} />
</Link>
</SwissLifeLogo>
<GalaxusLogo>
<Link to="https://www.galaxus.ch">
<Company {...GalaxusLogoSvg} />
</Link>
</GalaxusLogo>
</Carousel>
<Ticker>
<GenericLogo width={140}>
Expand Down Expand Up @@ -250,20 +256,12 @@ export const CompaniesSection: FC = () => (
);

const FADE = keyframes`
0% {
opacity: 1;
z-index: 1;
0%, 33% {
opacity: 0;
}
25% {
8%, 24% {
opacity: 1;
}
49% {
z-index: 1;
}
50% {
opacity: 0;
z-index: 0;
}
`;

const Carousel = styled.div`
Expand All @@ -283,17 +281,21 @@ const Carousel = styled.div`

& > * {
position: absolute;
animation: 12s ${FADE} linear infinite;
animation: ${FADE} 15s infinite;
opacity: 0;
z-index: 0;
}

& > *:nth-child(1) {
animation-delay: 0s;
animation-delay: 0;
}

& > *:nth-child(2) {
animation-delay: 6s;
animation-delay: 5s;
}

& > *:nth-child(3) {
animation-delay: 10s;
}
`;

Expand All @@ -313,6 +315,15 @@ const SwissLifeLogo = styled.div`
}
`;

const GalaxusLogo = styled.div`
& svg {
min-height: 30px;
min-width: 150px;
height: 90px;
margin: 20px;
}
`;

const TICKER = keyframes`
0% {
transform: translate3d(0, 0, 0);
Expand Down
6 changes: 6 additions & 0 deletions website/src/images/companies/galaxus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.