diff --git a/public/_data/workshops.yml b/public/_data/workshops.yml new file mode 100644 index 0000000..d1cdc4b --- /dev/null +++ b/public/_data/workshops.yml @@ -0,0 +1,52 @@ +# Workshops & courses conducted by Lapikud members +# +- title: + en: Go Programming Language Workshop + est: Go programmeerimiskeele töötuba + description: + en: Introduction to Go through practical exercises. Covered basic syntax, goroutines, channels and concurrency with real-world examples. + est: Sissejuhatus Go keelde läbi praktiliste ülesannete. Kaetud on põhisüntaks, goroutiinid, kanalid ja konkurentsus reaaleluliste näidete kaudu. + mentor: + en: Henri Karba + est: Henri Karba + duration: + en: 3 × 2h + est: 3 × 2h + date: + en: March 2025 + est: Märts 2025 + gallery: 3 + +- title: + en: Figma Design Workshop + est: Figma disainitöötuba + description: + en: Over two days we learned the Figma workflow, covering components, auto-layout, prototyping and presenting to clients. + est: Kahe päeva jooksul õppisime Figma töövoogu, komponendid, auto-layout, prototüüpimine ja klientidele esitamine. + mentor: + en: Maris Tamm + est: Maris Tamm + duration: + en: 2 days + est: 2 päeva + date: + en: November 2024 + est: Nov 2024 + gallery: 2 + +- title: + en: Web Security Basics + est: Veebiturvalisuse alused + description: + en: Practical seminar on OWASP Top 10 attacks and defense methods. Lab work involved fixing real vulnerabilities in a controlled environment. + est: Praktiline seminar OWASP Top 10 rünnakute ja kaitsmismeetodite kohta. Laboris lahendati päris haavatavusi kontrollitud keskkonnas. + mentor: + en: Juku Rebane + est: Juku Rebane + duration: + en: 4 hours + est: 4 tundi + date: + en: September 2024 + est: Sept 2024 + gallery: 4 diff --git a/src/lib/locales/en/Workshops.json b/src/lib/locales/en/Workshops.json new file mode 100644 index 0000000..9b080b2 --- /dev/null +++ b/src/lib/locales/en/Workshops.json @@ -0,0 +1,13 @@ +{ + "hero": { + "label": "Our work", + "title": "Workshops", + "titleHighlight": "& courses.", + "subtitle": "A selection of workshops conducted by our members over the years." + }, + "details": { + "mentor": "Mentor", + "duration": "Duration", + "date": "Date" + } +} diff --git a/src/lib/locales/est/Workshops.json b/src/lib/locales/est/Workshops.json new file mode 100644 index 0000000..7f4dd9f --- /dev/null +++ b/src/lib/locales/est/Workshops.json @@ -0,0 +1,13 @@ +{ + "hero": { + "label": "Meie tehtud", + "title": "Koolitused", + "titleHighlight": "& töötoad.", + "subtitle": "Valik koolitusi, mida meie liikmed on aastate jooksul läbi viinud." + }, + "details": { + "mentor": "Juhendaja", + "duration": "Kestus", + "date": "Toimumisaeg" + } +} diff --git a/src/routes/Workshops.svelte b/src/routes/Workshops.svelte index e454584..39050a0 100644 --- a/src/routes/Workshops.svelte +++ b/src/routes/Workshops.svelte @@ -1,21 +1,136 @@
-
-

In development...

-
+ +
+
+

+ {$text["hero"]?.label} +

+

+ {$text["hero"]?.title} + {@html $text["hero"]?.titleHighlight} +

+

+ {$text["hero"]?.subtitle} +

+
+
+ + +
+ + {#each workshops as workshop, index (index)} +
+ +
+
+ {#each Array(workshop.gallery) as _, i} +
+ + + + + +
+ {/each} +
+
+ + +
+

+ {getField(workshop, "title")} +

+

+ {getField(workshop, "description")} +

+
+
+ + {$text["details"]?.mentor} + + + {getField(workshop, "mentor")} + +
+
+ + {$text["details"]?.duration} + + + {getField(workshop, "duration")} + +
+
+ + {$text["details"]?.date} + + + {getField(workshop, "date")} + +
+
+
+
+ {/each} +
+