Skip to content

Commit

Permalink
Merge pull request #629 from artizen-fund/test
Browse files Browse the repository at this point in the history
added last code
  • Loading branch information
rubelux authored Oct 11, 2023
2 parents ea8a65b + 2024fc7 commit 4d39619
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/components/HomeParts/PartnersRibbon.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from 'styled-components'
import { assetPath } from '@lib'
import { useCloudinary } from '@lib'
import { breakpoint, typography } from '@theme'
import { partners as copy } from '@copy/home'
import { PagePadding } from '@components'
Expand All @@ -17,6 +17,8 @@ const PartnersRibbon = () => {
fetchPolicy: 'no-cache',
})

const { addParamsToLink } = useCloudinary()

return (
<>
{!loading && loadedSponsors && loadedSponsors.Sponsors.length > 0 && (
Expand All @@ -29,7 +31,7 @@ const PartnersRibbon = () => {
return (
<Partner key={`partner-${name}-${index}`}>
<Link href={url} passHref={true}>
<img src={logotype} alt={name} />
<img src={addParamsToLink(logotype, 'w_200,c_fill', 'image')} alt={name} />
</Link>
</Partner>
)
Expand All @@ -51,14 +53,6 @@ const Inner = styled.div`
`

const Wrapper = styled.div`
// display: flex;
// gap: 15px;
// flex-direction: row;
// @media only screen and (min-width: ${breakpoint.tablet}px) {
// flex-direction: row;
// justify-content: space-around;
// align-items: center;
// }
position: absolute;
display: flex;
`
Expand Down

0 comments on commit 4d39619

Please sign in to comment.