Skip to content

Commit 083d70e

Browse files
Renaming Sponsors to Funders throughout
1 parent 8f3e926 commit 083d70e

10 files changed

Lines changed: 17 additions & 17 deletions

File tree

public/sponsors-logos/UKRI_EPSR_Council-Logo_Horiz-RGB.png renamed to public/funders-logos/EPSRlogo.png

File renamed without changes.
File renamed without changes.

public/sponsors-logos/NWO logo - full colour - RGB - transparent background.png renamed to public/funders-logos/NWOlogo.png

File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ import {
1010
Flex,
1111
} from '@chakra-ui/react'
1212
import React from 'react'
13-
import { Sponsors as data } from '@/data/sponsors'
13+
import { Funders as data } from '@/data/funders'
1414

1515
import { Heading } from '@/components/mdx'
1616

17-
export const Sponsors = () => {
18-
const sponsors = React.useMemo(() => data, [])
17+
export const Funders = () => {
18+
const funders = React.useMemo(() => data, [])
1919
return (
20-
<Box id={'sponsors'} as='section'>
20+
<Box id={'funders'} as='section'>
2121
<Container maxW='container.lg' centerContent>
2222
<Heading as='h1' size='2xl'>
23-
Sponsors
23+
Funders
2424
</Heading>
2525

2626
<Box my={8}>
@@ -36,18 +36,18 @@ export const Sponsors = () => {
3636
align={'center'}
3737
justify={'center'}
3838
>
39-
{sponsors.map((sponsor, index) => (
39+
{funders.map((funders, index) => (
4040
<Flex
4141
as={Link}
42-
href={sponsor.url}
42+
href={funders.url}
4343
key={index}
4444
w={64}
4545
h={64}
4646
align={'center'}
4747
justify={'center'}
4848
rounded={'full'}
4949
>
50-
<Image maxH={36} src={sponsor.logo} alt={sponsor.name} />
50+
<Image maxH={36} src={funders.logo} alt={funders.name} />
5151
</Flex>
5252
))}
5353
</SimpleGrid>

src/components/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export { Banner } from '@/components/banner'
22
export { Projects } from '@/components/projects'
3-
export { Sponsors } from '@/components/sponsors'
3+
export { Funders } from '@/components/funders'
44
export { Features } from '@/components/features'
55
export { Footer } from '@/components/footer'
66
export { Header } from '@/components/header'
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
export const Sponsors = [
1+
export const Funders = [
22
{
33
name: 'The European Research Council under the H2020 Starting Grant TOPIOS project (grant agreement No 715386).',
4-
logo: '/sponsors-logos/LOGO_ERC-FLAG_FP.png',
4+
logo: '/funders-logos/ERClogo.png',
55
url: 'http://topios.org/',
66
},
77
{
88
name: 'The Dutch Research Council (NWO)',
9-
logo: '/sponsors-logos/NWO logo - full colour - RGB - transparent background.png',
9+
logo: '/funders-logos/NWOlogo.png',
1010
url: 'https://www.nwo.nl/en',
1111
},
1212
{
1313
name: 'Utrecht University',
14-
logo: '/sponsors-logos/UU_logo_2021_EN_RGB.png',
14+
logo: '/funders-logos/UUlogo.png',
1515
url: 'https://www.uu.nl/en',
1616
},
1717
{
1818
name: 'ESPRC',
19-
logo: '/sponsors-logos/UKRI_EPSR_Council-Logo_Horiz-RGB.png',
19+
logo: '/funders-logos/EPSRlogo.png',
2020
url: 'https://www.ukri.org/councils/epsrc/',
2121
},
2222
]

src/data/menu-items.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const menuItems = [
22
{ label: 'Features', href: '/#features' },
33
{ label: 'Projects', href: '/#projects' },
4-
{ label: 'Sponsors', href: '/#sponsors' },
4+
{ label: 'Funders', href: '/#funders' },
55
{ label: 'Blog', href: '/blog' },
66
{ label: 'Documentation', href: 'https://docs.oceanparcels.org' },
77
]

src/pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Projects, Features, HeroBanner, Sponsors } from '@/components'
1+
import { Projects, Features, HeroBanner, Funders } from '@/components'
22

33
import { Layout } from '@/components/layout'
44

@@ -15,7 +15,7 @@ export default function IndexPage() {
1515
<HeroBanner />
1616
<Features />
1717
<Projects />
18-
<Sponsors />
18+
<Funders />
1919
</Layout>
2020
)
2121
}

0 commit comments

Comments
 (0)