diff --git a/src/lib/locales/en/OurWork.json b/src/lib/locales/en/OurWork.json index e4ba97f..3193d96 100644 --- a/src/lib/locales/en/OurWork.json +++ b/src/lib/locales/en/OurWork.json @@ -1,4 +1,9 @@ { + "intro": { + "prefix": "Our ", + "emphasis": "work.", + "subtitle": "A selection of projects our members have delivered, from websites to mobile apps." + }, "hero": { "title": "For companies", "description": "We help bring your ideas to life. Our experienced students are ready to deliver your projects." @@ -89,9 +94,13 @@ ] }, "portfolio": { - "title": "Our work", - "subtitle": "See what we have built before", - "projectLink": "View project" + "label": "Our Work", + "title": "Projects that speak for themselves.", + "subtitle": "Every project has a story. Here is a selection of work our members have delivered over the years.", + "projectLink": "View project", + "featured": "Featured", + "placeholder": "No image", + "noDescription": "Description coming soon." }, "cta": { "title": "Shall we start working together?", diff --git a/src/lib/locales/est/OurWork.json b/src/lib/locales/est/OurWork.json index 76c462c..22f6df7 100644 --- a/src/lib/locales/est/OurWork.json +++ b/src/lib/locales/est/OurWork.json @@ -1,4 +1,9 @@ { + "intro": { + "prefix": "Meie tehtud ", + "emphasis": "tööd.", + "subtitle": "Valik projekte, mida meie liikmed on teostanud, veebilehtedest mobiilirakendusteni." + }, "hero": { "title": "Ettevõttele", "description": "Aitame sinu ideed ellu viia! Meie kogenud tudengid on valmis teie projekte realiseerima." @@ -89,9 +94,13 @@ ] }, "portfolio": { - "title": "Meie tehtud tööd", - "subtitle": "Vaata, mida oleme varem loonud", - "projectLink": "Vaata projekti" + "label": "Tehtud tööd", + "title": "Projektid, mis räägivad enda eest.", + "subtitle": "Igal projektil on oma lugu. Siin on valik töödest, mida meie liikmed on aastate jooksul ellu viinud.", + "projectLink": "Vaata projekti", + "featured": "Esile tõstetud", + "placeholder": "Pilt puudub", + "noDescription": "Kirjeldus lisamisel." }, "cta": { "title": "Alustame koostööd?", diff --git a/src/routes/AboutUs.svelte b/src/routes/AboutUs.svelte index 3e92af3..83a37fd 100644 --- a/src/routes/AboutUs.svelte +++ b/src/routes/AboutUs.svelte @@ -15,6 +15,6 @@
- {$text.placeholder || "In development..."} +

In development...

\ No newline at end of file diff --git a/src/routes/Contact.svelte b/src/routes/Contact.svelte index ef732f4..9d93121 100644 --- a/src/routes/Contact.svelte +++ b/src/routes/Contact.svelte @@ -2,321 +2,20 @@ import { Section, Grid, - Card, Center, } from "$components"; import { onDestroy } from "svelte"; import { createPageTextStore } from "$lib"; - - import MapPin from "lucide-svelte/icons/map-pin"; - import Mail from "lucide-svelte/icons/mail"; - import Phone from "lucide-svelte/icons/phone"; - import MessageCircle from "lucide-svelte/icons/message-circle"; - import Facebook from "lucide-svelte/icons/facebook"; - import Instagram from "lucide-svelte/icons/instagram"; - import Github from "lucide-svelte/icons/github"; - import Building from "lucide-svelte/icons/building"; - import Clock from "lucide-svelte/icons/clock"; const text = createPageTextStore("Contact"); - $: contactMethods = [ - { - icon: MapPin, - title: $text["methods"]?.addressTitle || "Aadress", - content: "Akadeemia tee 5, 12616 Tallinn", - subtitle: $text["methods"]?.addressSubtitle || "ICT-teaduskond, Raja 15 ruum 111", - link: "https://goo.gl/maps/..." - }, - { - icon: Mail, - title: $text["methods"]?.emailTitle || "E-post", - content: "lapikud@lapikud.ee", - link: "mailto:lapikud@lapikud.ee" - }, - { - icon: Phone, - title: $text["methods"]?.phoneTitle || "Telefon", - content: "+372 58 160 799", - link: "tel:+37258160799" - }, - { - icon: MessageCircle, - title: $text["methods"]?.messengerTitle || "Messenger", - content: "m.me/Lapikud", - link: "https://m.me/Lapikud" - } - ]; - - const socialMedia = [ - { - icon: Facebook, - name: "Facebook", - link: "https://www.facebook.com/Lapikud/" - }, - { - icon: Instagram, - name: "Instagram", - link: "https://www.instagram.com/lapikud/" - }, - { - icon: Github, - name: "GitHub", - link: "https://github.com/Lapikud/" - } - ]; - - $: organizationInfo = [ - { - icon: Building, - title: $text["organization"]?.registryTitle || "Registrikood", - content: "80167145" - }, - { - icon: Building, - title: $text["organization"]?.bankTitle || "Pangakonto", - content: "EE812200221019551756", - subtitle: $text["organization"]?.bankSubtitle || "Swedbank" - } - ]; - - let formData = { - name: '', - email: '', - subject: '', - message: '' - }; - - function handleSubmit(e) { - e.preventDefault(); - // Create mailto link with form data - const mailtoLink = `mailto:lapikud@lapikud.ee?subject=${encodeURIComponent(formData.subject)}&body=${encodeURIComponent(`${$text["form"]?.mailBody?.name || "Nimi"}: ${formData.name}\n${$text["form"]?.mailBody?.email || "E-post"}: ${formData.email}\n\n${$text["form"]?.mailBody?.message || "Sõnum"}:\n${formData.message}`)}`; - window.location.href = mailtoLink; - } - onDestroy(() => { text.destroy(); });
- -
-
-
-

{$text["hero"]?.title || "Võta ühendust"}

-

- {$text["hero"]?.description || "Kas sul on küsimusi? Tahad liituda? Või soovid alustada koostööd? Võta julgelt ühendust!"} -

-
-
-
- -
-
-

{$text["methods"]?.title || "Kuidas meiega ühendust võtta?"}

-

{$text["methods"]?.subtitle || "Vali endale sobiv viis"}

-
- - - {#each contactMethods as method} - -
-
- -
-
-

{method.title}

- {#if method.link} - - {method.content} - - {:else} -

{method.content}

- {/if} - {#if method.subtitle} -

{method.subtitle}

- {/if} -
-
-
- {/each} -
-
- - -
-
-
-

{$text["form"]?.title || "Saada meile sõnum"}

-

{$text["form"]?.subtitle || "Täida vorm ja me võtame sinuga ühendust"}

-
- - -
-
- - -
- -
- - -
- -
- - -
- -
- - -
- - -
-
-
-
- - -
- - -
-
- -
-
-

{$text["hours"]?.title || "Lahtiolekuajad"}

-
-
-
-
- {$text["hours"]?.weekdays || "Esmaspäev - Reede:"} - {$text["hours"]?.weekdaysTime || "10:00 - 16:00"} -
-
- {$text["hours"]?.weekend || "Laupäev - Pühapäev:"} - {$text["hours"]?.weekendTime || "Suletud"} -
-

- {$text["hours"]?.note || "* Soovitame enne külastamist võtta ühendust, et vältida ootamist"} -

-
-
- - -
-
- -
-
-

{$text["location"]?.title || "Kuidas meid leida?"}

-
-
-
-

{$text["location"]?.addressLabel || "Aadress:"} {$text["location"]?.address || "Akadeemia tee 5, 12616 Tallinn"}

-

{$text["location"]?.buildingLabel || "Hoone:"} {$text["location"]?.building || "ICT-teaduskond (Raja 15)"}

-

{$text["location"]?.roomLabel || "Ruum:"} {$text["location"]?.room || "111"}

-

- {$text["location"]?.note || "Asume Tallinna Tehnikaülikooli ICT-teaduskonna hoones. Kui tuled ühistranspordiga, on lähimad peatused \"Mustakivi\" ja \"Tehnikaülikool\"."} -

-
-
-
-
- - -
- - -

{$text["social"]?.title || "Jälgi meid sotsiaalmeedias"}

-
- {#each socialMedia as social} - - - {social.name} - - {/each} -
-
- - -

{$text["organization"]?.title || "MTÜ Lapikud"}

-
- {#each organizationInfo as info} -
- -
-

{info.title}

-

{info.content}

- {#if info.subtitle} -

{info.subtitle}

- {/if} -
-
- {/each} -
-
-
+

In development...

- - diff --git a/src/routes/OurWork.svelte b/src/routes/OurWork.svelte index bcd0c2b..0a065e2 100644 --- a/src/routes/OurWork.svelte +++ b/src/routes/OurWork.svelte @@ -1,242 +1,241 @@
- -
-
-
-

{$text["hero"]?.title || "Ettevõttele"}

-

- {$text["hero"]?.description || "Aitame sinu ideed ellu viia! Meie kogenud tudengid on valmis teie projekte realiseerima."} + + +

+
+

+ {$text["intro"]?.prefix || "Meie tehtud "} +
+ {$text["intro"]?.emphasis || "tööd."} +

+

+ {$text["intro"]?.subtitle || "Valik projekte, mida meie liikmed on teostanud, veebilehtedest mobiilirakendusteni."}

-
-
+ - -
-
-

{$text["services"]?.title || "Mida me pakume?"}

-

{$text["services"]?.subtitle || "Laia valik IT-teenuseid teie ärivajaduste täitmiseks"}

-
- - - {#each services as service} - -
- -
-

{service.title}

-

{service.description}

-
- {/each} -
-
- - -
-
-

{$text["whyUs"]?.title || "Miks meiega koostööd teha?"}

-
- - - {#each whyUs as item} - -
- -
-

{item.title}

-

{item.description}

-
- {/each} -
-
- - -
- - -

{$text["process"]?.title || "Kuidas töötame?"}

-
- {#each $text["process"]?.steps || [] as step, index} -
-
{index + 1}.
-
- {step.title}
- {step.description} -
-
- {/each} + +
+
+
+

+ {$text["cta"]?.title || "Alustame koostööd?"} +

+

+ {$text["cta"]?.description || "Võta ühendust ja arutame, kuidas saame sinu ideed ellu viia!"} +

- - -

{$text["fit"]?.title || "Millal meie sobime?"}

-
- {#each $text["fit"]?.items || [] as item} -

- {item.title} {item.description} -

- {/each} -
-
- -
- - -
-
-

{$text["portfolio"]?.title || "Meie tehtud tööd"}

-

{$text["portfolio"]?.subtitle || "Vaata, mida oleme varem loonud"}

-
- - - {#each projects as project} - - {#if project.photo} -
- {getLangText(project, { - e.target.src = '/assets/ourwork-images/original/' + project.photo; - }} - /> -
- {/if} - -

{getLangText(project, 'title', $currentLang)}

- - {#if project.description} -

{getLangText(project, 'description', $currentLang)}

- {/if} - - {#if project.url} - - {$text["portfolio"]?.projectLink || "Vaata projekti"} - - {/if} -
- {/each} -
-
- - -
-
-
-

{$text["cta"]?.title || "Alustame koostööd?"}

-

- {$text["cta"]?.description || "Võta ühendust ja arutame, kuidas saame sinu ideed ellu viia!"} -

-
-
-
+
+ +
+
+

{$text["portfolio"]?.label || "Tehtud tööd"}

+

{$text["portfolio"]?.title || "Projektid, mis räägivad enda eest."}

+

+ {$text["portfolio"]?.subtitle || "Igal projektil on oma lugu. Siin on valik töödest, mida meie liikmed on aastate jooksul ellu viinud."} +

+
+ + {#if featuredProject} + +
+ {#if featuredProject.photo} + {projectTitle(featuredProject)} handleImageError(event, featuredProject.photo)} + /> + {:else} +
{$text["portfolio"]?.placeholder || "Pilt puudub"}
+ {/if} +
+ +
+

{projectTitle(featuredProject)}

+ {#if projectDescription(featuredProject)} +

{projectDescription(featuredProject)}

+ {/if} + {#if featuredProject.url} + + {$text["portfolio"]?.projectLink || "Vaata projekti"} + + + {/if} +
+
+ {/if} +
+ {#each regularProjects as project} + +
+ {#if project.photo} + {projectTitle(project)} handleImageError(event, project.photo)} + /> + {:else} +
{$text["portfolio"]?.placeholder || "Pilt puudub"}
+ {/if} +
+ +
+

{projectTitle(project)}

+ {#if projectDescription(project)} +

{projectDescription(project)}

+ {:else} +

{$text["portfolio"]?.noDescription || "Kirjeldus lisamisel."}

+ {/if} + + {#if project.url} + + {$text["portfolio"]?.projectLink || "Vaata projekti"} + + + {/if} +
+
+ {/each} +
+
diff --git a/src/routes/Student.svelte b/src/routes/Student.svelte index c73d179..032132b 100644 --- a/src/routes/Student.svelte +++ b/src/routes/Student.svelte @@ -30,6 +30,10 @@ document.getElementById("liitu")?.scrollIntoView({ behavior: "smooth", block: "start" }); }; + const scrollToUnderHero = () => { + document.getElementById("tiimid")?.scrollIntoView({ behavior: "smooth", block: "start" }); + }; + const openJoinForm = () => { window.open(joinFormUrl, "_blank", "noopener,noreferrer"); }; @@ -62,7 +66,7 @@ - {$text["hero"]?.aside || ""} + {$text["hero"]?.aside || ""} diff --git a/src/routes/Workshops.svelte b/src/routes/Workshops.svelte new file mode 100644 index 0000000..e454584 --- /dev/null +++ b/src/routes/Workshops.svelte @@ -0,0 +1,21 @@ + + +
+
+

In development...

+
+
diff --git a/src/routes/index.js b/src/routes/index.js index 1453032..5c8f9ed 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -11,6 +11,7 @@ import Contact from './Contact.svelte' import Managment from './Managment.svelte' import Striim from './Striim.svelte' import Calendar from './Calendar.svelte' +import Workshops from './Workshops.svelte'; // Route mapping for language switching export const routeMap = { @@ -104,8 +105,8 @@ export const routes = { '/contact': Contact, '/juhatus': Managment, '/management': Managment, - '/koolitused': Home, // TODO - '/workshops': Home, // TODO + '/koolitused': Workshops, + '/workshops': Workshops, '/striim': Striim, '/kalender': Calendar, '/calendar': Calendar,