Skip to content

Commit 7e70bda

Browse files
authored
Update for 2024 edition (#344)
* wip update * wip * wip update * wip * wip * wip * merge master * update for osoc24 * remove package-lock * yarn lock update * fix photo icon * lint fix
1 parent aaa31b4 commit 7e70bda

38 files changed

+4537
-2603
lines changed

CONTRIBUTORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ Here is a list of people that have helped with the development of this website.
1515
- Miet Claes (Open Knowledge Belgium, Development and Design)
1616
- Jonathan Beliën (Open Knowledge Belgium, Development)
1717
- Ismaila Abdoulahi Adamou (Open Knowledge Belgium, Development)
18+
- Christophe Leroy (Kyng Studio, Development and Maintenance)
Loading

components/Common/Footer.jsx

+13-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import W2019 from '../../assets/img/previous-editions/2019W.svg';
1414
import W2020 from '../../assets/img/previous-editions/logo-osoc-black-2020.svg';
1515
import W2021 from '../../assets/img/previous-editions/logo-osoc-black-2021.svg';
1616
import W2022 from '../../assets/img/previous-editions/logo-osoc-black-2022.svg';
17+
import W2024 from '../../assets/img/previous-editions/logo-osoc-black-2024.svg';
1718

1819
const Footer = () => {
1920
return (
@@ -96,16 +97,18 @@ const Footer = () => {
9697
<div className="small-4 medium-4 cell">
9798
<ul className="inline-list">
9899
<li>
99-
<DemoDayLink>Demo&nbsp;day</DemoDayLink>
100+
<DemoDayLink>
101+
<>Demo&nbsp;day</>
102+
</DemoDayLink>
100103
</li>
101104
<li>
102105
<Link href="/practical">
103106
<a>Practical</a>
104107
</Link>
105108
</li>
106109
<li>
107-
<Link href="/editions#2022">
108-
<a>2022</a>
110+
<Link href="/editions#2024">
111+
<a>2024</a>
109112
</Link>
110113
</li>
111114
</ul>
@@ -194,6 +197,13 @@ const Footer = () => {
194197
<img src={W2022} alt="2022 osoc logo" />
195198
</a>
196199
</Link>
200+
</div>{' '}
201+
<div className="small-2 medium-auto cell">
202+
<Link href="/editions#2024">
203+
<a>
204+
<img src={W2024} alt="2024 osoc logo" />
205+
</a>
206+
</Link>
197207
</div>
198208
</div>
199209
</div>

components/Common/Navigation/index.jsx

+12-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Link from 'next/link';
33
import TextLogo from './Logo/TextLogo';
44
import ImgLogo from './Logo/ImgLogo';
55
import Tab from '../../UI/Tab';
6-
// import DemoDayLink from '../../UI/DemoDayLink';
7-
import ApplyLink from '../ApplyLink';
6+
import DemoDayLink from '../../UI/DemoDayLink';
7+
// import ApplyLink from '../ApplyLink';
88

99
const Navigation = () => {
1010
const [mobileNavIsVisible, setMobileNavVisibility] = useState(false);
@@ -100,11 +100,20 @@ const Navigation = () => {
100100
<ApplyLink />
101101
</li> */}
102102

103-
<li>
103+
{/* <li>
104104
{' '}
105105
<ApplyLink className="button">
106106
Apply now <span className="button__info">April 29th 2024</span>
107107
</ApplyLink>
108+
</li> */}
109+
110+
<li>
111+
<DemoDayLink className="button">
112+
<>
113+
Register now for Demo Day
114+
<span className="button__info">On July 25th 2024</span>
115+
</>
116+
</DemoDayLink>
108117
</li>
109118

110119
{/* <li>

components/Editions/Headshot.jsx

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ExternalLink from '../UI/ExternalLink';
44

55
const HeadShot = ({ data, socials, picture, roleShown }) => {
66
const { name, isCoach } = data;
7-
const { twitter, linkedin, github, behance, instagram, mastodon } = socials;
7+
const { twitter, linkedin, github, behance, instagram, mastodon, photos } = socials;
88

99
return (
1010
<article className="small-10 medium-4 large-3 cell headshot-detail">
@@ -44,6 +44,11 @@ const HeadShot = ({ data, socials, picture, roleShown }) => {
4444
<i className="fab fa-mastodon" />
4545
</ExternalLink>
4646
)}
47+
{photos && (
48+
<ExternalLink href={photos}>
49+
<i className="fa fa-camera" />
50+
</ExternalLink>
51+
)}
4752
</div>
4853
</article>
4954
);
@@ -65,6 +70,8 @@ HeadShot.propTypes = {
6570
instagram: PropTypes.string,
6671
linkedin: PropTypes.string,
6772
twitter: PropTypes.string,
73+
mastodon: PropTypes.string,
74+
photos: PropTypes.string,
6875
}),
6976
picture: PropTypes.string.isRequired,
7077
roleShown: PropTypes.bool,

components/Editions/Project.jsx

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
1-
import { useState, useEffect } from 'react';
1+
// import { useState, useEffect } from 'react';
2+
import { useEffect } from 'react';
23
import PropTypes from 'prop-types';
34
import Link from 'next/link';
45
import slugify from 'slugify';
56
import { ButtonLink } from '../UI/Buttons';
67

7-
const BREAKOUT_UNSTARTED = 1;
8-
const BREAKOUT_IN_PROGRESS = 2;
9-
const BREAKOUT_ENDED = 3;
8+
// const BREAKOUT_UNSTARTED = 1;
9+
// const BREAKOUT_IN_PROGRESS = 2;
10+
// const BREAKOUT_ENDED = 3;
1011

1112
const Project = ({ edition, project }) => {
1213
// isDemoDay
1314
const { name, description, logo, id } = project;
1415

1516
const slug = slugify(name, { lower: true });
1617

17-
const determineBreakoutState = () => {
18-
// if (!isDemoDay) return null;
19-
if (true) return null;
20-
};
18+
// const determineBreakoutState = () => {
19+
// // if (!isDemoDay) return null;
20+
// return null;
21+
// };
2122

22-
const [breakoutStatus, setBreakoutStatus] = useState(determineBreakoutState());
23+
// const [breakoutStatus, setBreakoutStatus] = useState(determineBreakoutState());
2324

2425
useEffect(() => {
25-
let interval = () => {};
26+
const interval = () => {};
2627
return () => clearInterval(interval);
2728
}, []);
2829

2930
let $buttonContent;
30-
let buttonDisabled = true;
31+
const buttonDisabled = true;
3132

3233
return (
3334
// ${isDemoDay ? 'on-demo-day' : ''}

components/UI/DemoDayLink.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ExternalLink from './ExternalLink';
44
const DemoDayLink = ({ className, children: text }) => {
55
return (
66
<ExternalLink
7-
href="https://www.eventbrite.com/e/open-summer-of-code-2024-demo-day-registration-379659791657"
7+
href="https://www.eventbrite.com/e/demoday-osoc-2024-tickets-933379492187"
88
className={className}
99
target="_blank"
1010
>

pages/editions/index.jsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ import Partners from '../../components/Partners/Partners';
1010
const EditionOverview = ({ editions }) => {
1111
useEffect(() => {}, []);
1212

13-
const sortAlphabetically = (a, b) => {
14-
if (a.name.toLowerCase() < b.name.toLowerCase()) return -1;
15-
if (a.name.toLowerCase() > b.name.toLowerCase()) return 1;
16-
return 0;
17-
};
18-
1913
return (
2014
<>
2115
<Head>
@@ -37,7 +31,7 @@ const EditionOverview = ({ editions }) => {
3731
};
3832

3933
export async function getStaticProps() {
40-
const editions = [2019, 2020, 2021, 2022];
34+
const editions = [2019, 2020, 2021, 2022, 2024];
4135
const data = await Promise.all(
4236
editions.map(async (year) => {
4337
const [partners, participants, projects] = await Promise.all([
+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
[
2+
{
3+
"name": "Jodi Deloof",
4+
"socials": {}
5+
},
6+
{
7+
"name": "Christophe Leroy",
8+
"socials": {
9+
"linkedin": "https://www.linkedin.com/in/kyngstudio/"
10+
},
11+
"coach": true
12+
},
13+
{
14+
"name": "Inti Valderas Caro",
15+
"socials": {}
16+
},
17+
{
18+
"name": "Laura Geeroms",
19+
"socials": {}
20+
},
21+
{
22+
"name": "Walter Vandervelde",
23+
"socials": {
24+
"linkedin": "https://www.linkedin.com/in/wvandervelde/"
25+
},
26+
"coach": true
27+
},
28+
{
29+
"name": "Joanna Kalisz",
30+
"socials": {
31+
"linkedin": "https://www.linkedin.com/in/joanna-j-kalisz/",
32+
"github": "https://github.com/jane-00"
33+
}
34+
},
35+
{
36+
"name": "Raman Talwar",
37+
"socials": {
38+
"linkedin": "https://www.linkedin.com/in/raman-talwar",
39+
"github": "https://github.com/rtalwar2"
40+
}
41+
},
42+
{
43+
"name": "Bo Robbrecht",
44+
"socials": {
45+
"linkedin": "https://www.linkedin.com/in/borobbrecht",
46+
"github": "https://github.com/BT-Creator"
47+
}
48+
},
49+
{
50+
"name": "Robin van der Linde",
51+
"socials": {
52+
"twitter": "https://twitter.com/linde_robin",
53+
"linkedin": "https://www.linkedin.com/in/rlineu/",
54+
"github": "https://github.com/RobinLinde",
55+
"mastodon": "https://en.osm.town/@RLin"
56+
}
57+
},
58+
{
59+
"name": "Dina Boshnaq",
60+
"socials": {
61+
"photos": "https://www.pexels.com/@dina-boshnaq-123876169",
62+
"linkedin": "https://www.linkedin.com/in/dina-boshnaq",
63+
"github": "https://github.com/16dina"
64+
}
65+
},
66+
{
67+
"name": "Victor Barra",
68+
"socials": {
69+
"twitter": "https://twitter.com/VictorBarraa",
70+
"linkedin": "http://linkedin.com/in/victor-barra",
71+
"instagram": "https://www.instagram.com/victor.barra.33/",
72+
"github": "https://github.com/Vicba"
73+
}
74+
},
75+
{
76+
"name": "Friedrich Vandenberghe",
77+
"socials": {
78+
"mastodon": "https://computerclub.social/@zelzahn",
79+
"linkedin": "https://www.linkedin.com/in/friedrich-vandenberghe-97093a228/",
80+
"github": "https://github.com/Zelzahn"
81+
}
82+
},
83+
{
84+
"name": "Jordy Callens",
85+
"socials": {
86+
"mastodon": "https://computerclub.social/@zelzahn",
87+
"linkedin": "https://www.linkedin.com/in/jordy-callens/",
88+
"github": "https://github.com/jordycallens"
89+
}
90+
},
91+
{
92+
"name": "Evi De Rudder",
93+
"socials": {
94+
"instagram": "https://www.instagram.com/eviw817/",
95+
"linkedin": "https://www.linkedin.com/in/evelien-de-rudder-a35b4b209/",
96+
"github": "https://github.com/eviw817"
97+
}
98+
}
99+
]
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

public/editions/2024/partners.json

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
[
2+
{
3+
"id": "openknowledgebe",
4+
"name": "Open Knowledge Belgium",
5+
"url": "https://openknowledge.be/",
6+
"logo": "/editions/2024/partners/logo-okbe.svg"
7+
},
8+
{
9+
"id": "imec",
10+
"name": "imec",
11+
"url": "https://www.imec.be/",
12+
"logo": "/editions/2024/partners/logo-imec.svg"
13+
},
14+
{
15+
"id": "idlab",
16+
"name": "IDLab",
17+
"url": "https://idlab.technology/",
18+
"logo": "/editions/2024/partners/logo-idlab.svg"
19+
},
20+
{
21+
"id": "stad-gent",
22+
"name": "City of Ghent",
23+
"url": "https://stad.gent/",
24+
"logo": "/editions/2024/partners/logo-gent.svg"
25+
},
26+
{
27+
"id": "district09",
28+
"name": "District09",
29+
"url": "https://district09.gent/",
30+
"logo": "/editions/2024/partners/logo-district09.svg"
31+
},
32+
{
33+
"id": "epf",
34+
"name": "EPF",
35+
"url": "https://www.epf.eu/",
36+
"logo": "/editions/2024/partners/logo-epf.svg"
37+
},
38+
{
39+
"id": "ertico",
40+
"name": "ERTICO",
41+
"url": "https://ertico.com/",
42+
"logo": "/editions/2024/partners/logo-ertico.png"
43+
},
44+
{
45+
"id": "redhat",
46+
"name": "Red Hat",
47+
"url": "https://www.redhat.com/en",
48+
"logo": "/editions/2024/partners/logo-red-hat.svg"
49+
},
50+
{
51+
"id": "fris",
52+
"name": "FRIS Research Portal",
53+
"url": "https://researchportal.be/",
54+
"logo": "/editions/2024/partners/logo-fris.svg"
55+
},
56+
{
57+
"id": "codifly",
58+
"name": "Codifly",
59+
"url": "https://codifly.be/",
60+
"logo": "/editions/2024/partners/logo-codifly.svg"
61+
},
62+
{
63+
"id": "vlaanderen",
64+
"name": "Vlaanderen",
65+
"url": "https://www.vlaanderen.be/",
66+
"logo": "/editions/2024/partners/logo-vlaanderen.svg"
67+
}
68+
]

0 commit comments

Comments
 (0)