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 @@
\ 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(); }); - - 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 @@ 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 @@ + + + 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,