Skip to content

Commit a2cc114

Browse files
Merge branch 'main' into color-mode
2 parents 3580ce6 + de3d9b9 commit a2cc114

5 files changed

Lines changed: 35 additions & 24 deletions

File tree

.github/workflows/linkcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
LYCHEE_REPORT_FILE: ./lychee/out.md
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Link Checker
2424
id: lychee
@@ -56,7 +56,7 @@ jobs:
5656
update-mode: 'replace'
5757

5858
- name: Upload artifact
59-
uses: actions/upload-artifact@v3
59+
uses: actions/upload-artifact@v4
6060
with:
6161
name: lychee-report
6262
path: ${{ env.LYCHEE_REPORT_FILE }}

public/funders-logos/BMBFlogo.png

24.1 KB
Loading

src/components/funders.js

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ import {
33
Container,
44
Image,
55
Text,
6-
UnorderedList,
7-
ListItem,
86
Link,
9-
SimpleGrid,
10-
Flex,
7+
Grid,
8+
GridItem,
9+
Tooltip,
1110
} from '@chakra-ui/react'
1211
import React from 'react'
1312
import { Funders as data } from '@/data/funders'
@@ -29,27 +28,30 @@ export const Funders = () => {
2928
organisations:
3029
</Text>
3130

32-
<SimpleGrid
33-
columns={{ base: 1, sm: 2, md: 2, lg: 4 }}
31+
<Grid
32+
templateColumns={`repeat(${funders.length}, minmax(auto, max-content))`}
33+
gap={6}
3434
my={4}
35-
spacing={'space-between'}
36-
align={'center'}
37-
justify={'center'}
35+
justifyContent='center'
3836
>
39-
{funders.map((funders, index) => (
40-
<Flex
41-
as={Link}
42-
href={funders.url}
43-
key={index}
44-
w={64}
45-
align={'center'}
46-
justify={'center'}
47-
rounded={'full'}
48-
>
49-
<Image maxH={20} src={funders.logo} alt={funders.name} />
50-
</Flex>
37+
{funders.map((funder, index) => (
38+
<Tooltip key={index} label={funder.name}>
39+
<GridItem
40+
as={Link}
41+
href={funder.url}
42+
display='flex'
43+
alignItems='center'
44+
justifyContent='center'
45+
borderRight={
46+
index < funders.length - 1 ? '1px solid #ccc' : 'none'
47+
}
48+
pr={4}
49+
>
50+
<Image maxH={20} src={funder.logo} alt={funder.name} />
51+
</GridItem>
52+
</Tooltip>
5153
))}
52-
</SimpleGrid>
54+
</Grid>
5355
</Box>
5456
</Container>
5557
</Box>

src/data/footer-items.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ export const footerItems = {
2121
label: 'Documentation',
2222
href: 'https://docs.oceanparcels.org/en/latest/index.html',
2323
},
24+
{
25+
label: 'Installation',
26+
href: 'https://docs.oceanparcels.org/en/latest/installation.html',
27+
},
2428
{
2529
label: 'Tutorials',
2630
href: 'https://docs.oceanparcels.org/en/latest/documentation/index.html',

src/data/funders.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ export const Funders = [
1414
logo: '/funders-logos/EPSRlogo.png',
1515
url: 'https://www.ukri.org/councils/epsrc/',
1616
},
17+
{
18+
name: 'BMBF via the Warmworld project',
19+
logo: '/funders-logos/BMBFlogo.png',
20+
url: 'https://www.warmworld.de',
21+
},
1722
{
1823
name: 'Utrecht University',
1924
logo: '/funders-logos/UUlogo.png',

0 commit comments

Comments
 (0)