Skip to content

Commit

Permalink
Move resolution images to IPFS (#2597)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn authored Jan 22, 2025
1 parent 8efc303 commit 277471a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/.env-config/.env.ff-prod
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ REACT_APP_MEMBERLIST_ADMIN_PURE_PROXY=kALJqPUHFzDR2VkoQYWefPQyzjGzKznNny2smXGQpS
REACT_APP_WALLETCONNECT_ID=c32fa79350803519804a67fcab0b742a
REACT_APP_TINLAKE_SUBGRAPH_URL=https://api.goldsky.com/api/public/project_clhi43ef5g4rw49zwftsvd2ks/subgraphs/main/prod/gn
REACT_APP_TREASURY=4dpEcgqJRyJK3J8Es6v8ZfVntV7c64Ysgcjd4hYwyGoFPWbg
REACT_APP_PRIME_IPFS_HASH=QmS5gX2sk1ZCEyWnMjjmQyYkLTz27VVNGzVtCKWneABbj5
REACT_APP_PRIME_IPFS_HASH=bafkreichkdb7h5ccirn7zqa7ckkzp2oce4eeehit745shqpyxixhfziuai
REACT_APP_ONFINALITY_KEY=18704429-288d-4f55-bda8-8b60f4c53b96
REACT_APP_TENDERLY_KEY=18aMTJlpNb1lElcYNkkunC
2 changes: 1 addition & 1 deletion centrifuge-app/.env-config/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ REACT_APP_MEMBERLIST_ADMIN_PURE_PROXY=kALJqPUHFzDR2VkoQYWefPQyzjGzKznNny2smXGQpS
REACT_APP_WALLETCONNECT_ID=c32fa79350803519804a67fcab0b742a
REACT_APP_TINLAKE_SUBGRAPH_URL=https://api.goldsky.com/api/public/project_clhi43ef5g4rw49zwftsvd2ks/subgraphs/main/prod/gn
REACT_APP_TREASURY=4dpEcgqJRyJK3J8Es6v8ZfVntV7c64Ysgcjd4hYwyGoFPWbg
REACT_APP_PRIME_IPFS_HASH=QmS5gX2sk1ZCEyWnMjjmQyYkLTz27VVNGzVtCKWneABbj5
REACT_APP_PRIME_IPFS_HASH=bafkreichkdb7h5ccirn7zqa7ckkzp2oce4eeehit745shqpyxixhfziuai
REACT_APP_ONFINALITY_KEY=84bb59f4-05cc-440b-8fd4-7917623a90c6
REACT_APP_TENDERLY_KEY=18aMTJlpNb1lElcYNkkunC
Binary file removed centrifuge-app/src/assets/images/resolution_1.png
Binary file not shown.
Binary file removed centrifuge-app/src/assets/images/resolution_2.png
Binary file not shown.
Binary file removed centrifuge-app/src/assets/images/resolution_3.png
Binary file not shown.
7 changes: 1 addition & 6 deletions centrifuge-app/src/components/Resolutions.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import { Box, Grid, Stack, Text } from '@centrifuge/fabric'
import styled from 'styled-components'
import resolution1 from '../assets/images/resolution_1.png'
import resolution2 from '../assets/images/resolution_2.png'
import resolution3 from '../assets/images/resolution_3.png'
import { DAO } from '../utils/useDAOConfig'

const images = [resolution1, resolution2, resolution3]

export const Resolutions = ({ dao }: { dao: DAO }) => {
return (
<Grid columns={[1, 2, 4, 4]} equalColumns gap={3} alignItems="start">
Expand All @@ -26,7 +21,7 @@ export const Resolutions = ({ dao }: { dao: DAO }) => {
width="100%"
height={180}
style={{
backgroundImage: `url(${images[i % images.length]})`,
backgroundImage: `url(${blog.image})`,
backgroundRepeat: 'no-repeat',
backgroundSize: 'cover',
backgroundPosition: 'center',
Expand Down

0 comments on commit 277471a

Please sign in to comment.