Skip to content

Commit 4b72c10

Browse files
committed
Added trainings.
1 parent 5db3777 commit 4b72c10

File tree

2 files changed

+66
-8
lines changed

2 files changed

+66
-8
lines changed

website/src/components/layout/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ interface DeveloperNavItemProps {
435435

436436
const DeveloperNavItem: FC<DeveloperNavItemProps> = ({ products, tools }) => {
437437
const workshop = useSelector<State, WorkshopsState[number] | undefined>(
438-
(state) => state.workshops.find(({ hero, active }) => hero && active)
438+
(state) => state.workshops.find(({ hero, active, self, }) => hero && active && self === false)
439439
);
440440

441441
const [subNav, navHandlers, linkHandlers] = useSubNav((hideSubNav) => (

website/src/state/workshops/workshops.state.ts

Lines changed: 65 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,82 @@ interface Workshop {
1010
readonly hero: boolean;
1111
readonly banner: boolean;
1212
readonly active: boolean;
13+
readonly self: boolean;
1314
}
1415

1516
export type WorkshopsState = Workshop[];
1617

1718
export const initialState: WorkshopsState = [
1819
{
19-
id: "online-231106",
20-
title: "Fullstack GraphQL from Vienna",
20+
id: "dometrain",
21+
title: "Getting Started with GraphQL in .NET",
2122
teaser:
22-
"Learn to build modern APIs like Facebook and Netflix in our Fullstack GraphQL workshop.",
23-
date: "6 - 7 November 2023",
23+
"Learn to build modern APIs like those used by Facebook and Netflix in our self-paced getting started course on Dometrain.",
24+
date: "",
25+
host: "Dometrain",
26+
place: "",
27+
url: "https://courses.chillicream.com",
28+
image: "online",
29+
hero: true,
30+
banner: true,
31+
active: true,
32+
self: true,
33+
},
34+
{
35+
id: "online-231106",
36+
title: "Fullstack GraphQL",
37+
teaser:"Learn to build modern APIs like Facebook and Netflix in our Fullstack GraphQL workshop.",
38+
date: "18 - 19 June 2024",
39+
host: "ONLINE",
40+
place: "9AM-5PM CEST",
41+
url: "https://www.eventbrite.com/e/2-day-fullstack-graphql-workshop-europe-cest-tickets-896304309317",
42+
image: "online",
43+
hero: true,
44+
banner: true,
45+
active: isActive("2024-06-18"),
46+
self: false,
47+
},
48+
{
49+
id: "online-240924",
50+
title: "Building Modern Frontends with Blazor and GraphQL",
51+
teaser:"We will dive into the world of modern front-end development with Blazor and GraphQL. Learn how to create dynamic and interactive user interfaces using the power of Blazor, a cutting-edge web framework, and harness the capabilities of GraphQL for efficient data fetching.",
52+
date: "24 September 2024",
53+
host: "ONLINE",
54+
place: "9AM-5PM CDL",
55+
url: "https://www.eventbrite.com/e/901517431907",
56+
image: "online",
57+
hero: true,
58+
banner: true,
59+
active: isActive("2024-09-24"),
60+
self: false,
61+
},
62+
{
63+
id: "online-241009",
64+
title: "Distributed GraphQL with Fusion",
65+
teaser:"Learn how to use Fusion to build efficient distributed GraphQL APIs at scale in this hands-on workshop!",
66+
date: "8 October 2024",
67+
host: "ONLINE",
68+
place: "9AM-5PM CDL",
69+
url: "https://www.eventbrite.com/e/901541634297",
70+
image: "online",
71+
hero: true,
72+
banner: true,
73+
active: isActive("2024-10-09"),
74+
self: false,
75+
},
76+
{
77+
id: "online-241022",
78+
title: "Enterprise GraphQL with DDD, CQRS and Clean Architecture",
79+
teaser:"We dive deep into the world of GraphQL, Domain-Driven Design (DDD), Command Query Responsibility Segregation (CQRS), and Clean Architecture? This online event is perfect for developers looking to level up their skills and learn how to implement these cutting-edge techniques in enterprise applications.",
80+
date: "22 October 2024",
2481
host: "ONLINE",
25-
place: "9AM-5PM CET",
26-
url: "https://www.eventbrite.com/e/fullstack-graphql-vienna-tickets-734869182507",
82+
place: "9AM-5PM CDL",
83+
url: "https://www.eventbrite.com/e/901548685387",
2784
image: "online",
2885
hero: true,
2986
banner: true,
30-
active: isActive("2023-11-06"),
87+
active: isActive("2024-10-22"),
88+
self: false,
3189
},
3290
];
3391

0 commit comments

Comments
 (0)