diff --git a/public/assets/image.png b/public/assets/home-page-images/about_us.png similarity index 100% rename from public/assets/image.png rename to public/assets/home-page-images/about_us.png diff --git a/public/assets/hero.jpg b/public/assets/home-page-images/hero.jpg similarity index 100% rename from public/assets/hero.jpg rename to public/assets/home-page-images/hero.jpg diff --git a/public/assets/home-page-images/temp.png b/public/assets/home-page-images/temp.png new file mode 100644 index 0000000..78df594 Binary files /dev/null and b/public/assets/home-page-images/temp.png differ diff --git a/src/components/Svg.svelte b/src/components/Svg.svelte index 2efef8d..21d407c 100644 --- a/src/components/Svg.svelte +++ b/src/components/Svg.svelte @@ -1,17 +1,43 @@ + + {#if type === "connector"} +{:else if type === "connector_2"} + + + + + {:else if type === "mirrorV"} @@ -28,6 +54,12 @@ +{:else if type === "mirrorHR"} + + + + + {:else if type === "mirrorVH"} @@ -36,6 +68,12 @@ +{:else if type === "connectorHL"} + + + + + {:else if type === "branch"} +{:else if type === "straight_tiny"} + + + + + +{:else if type === "straightH"} + + + + + +{:else if type === "straightHS"} + + + + + +{:else if type === "straightL_connectorL"} + + + + + + + +{:else if type === "straight_connector"} + + + + + + + + + + {:else if type === "instagram"} @@ -69,6 +144,8 @@ + + {:else}
Unknown type: {type}
{/if} \ No newline at end of file diff --git a/src/lib/locales/en/Home.json b/src/lib/locales/en/Home.json index 0599ca9..bee0b5f 100644 --- a/src/lib/locales/en/Home.json +++ b/src/lib/locales/en/Home.json @@ -1,9 +1,43 @@ { - "homeAbout": { + "hero": { + "imageAlt": "Lapikud homepage background image", + "logoAlt": "Lapikud NGO", + "description": "Lapikud is TalTech's software development club, bringing together current and former students interested in IT.", + "joinButton": "Join LAPikud!" + }, + "services": { + "student": { + "title": "For students", + "description": "Develop your skills, make great friends, and gain practical experience through real projects.", + "imageAlt": "For students image" + }, + "helpdesk": { + "title": "Helpdesk", + "description": "HELPDESK is a computer support service provided by Lapikud for students, lecturers, and everyone interested.", + "imageAlt": "Helpdesk image" + }, + "company": { + "title": "For companies", + "description": "We help bring your ideas to life. Our experienced students are ready to deliver your projects.", + "imageAlt": "For companies image" + } + }, + "aboutSection": { "title": "About us", "description": "Our main goal is to create professional added value for TalTech IT students. We involve students in practical solutions where ideas can be implemented in real life and technical skills can be used in meaningful ways. Our projects often grow into useful and exciting thesis topics with clear practical value.", "moreInfo": "More info", "contact": "Contact", "imageAlt": "Lapikud students working on a project" + }, + "whatWeDo": { + "title": "What we do", + "description": "We help companies and organizations bring ideas to life by building modern digital and software solutions. Our student-led team works on real projects to deliver practical value while developing the next generation of IT talent.", + "moreInfo": "More info", + "contact": "Contact", + "imageAlt": "Digital solutions created by Lapikud" + }, + "partners": { + "title": "Partners", + "moreInfo": "More info about partnerships" } } diff --git a/src/lib/locales/est/Home.json b/src/lib/locales/est/Home.json index 0e90baa..72cf457 100644 --- a/src/lib/locales/est/Home.json +++ b/src/lib/locales/est/Home.json @@ -1,9 +1,43 @@ { - "homeAbout": { + "hero": { + "imageAlt": "Lapikute avalehe taustapilt", + "logoAlt": "MTÜ Lapikud", + "description": "MTÜ Lapikud on Tallinna Tehnikaülikooli Tarkvaraarendusklubi, mis ühendab endisi ja praegusi IT huvilisi tudengeid.", + "joinButton": "Liitu LAPikutega!" + }, + "services": { + "student": { + "title": "Tudengile", + "description": "Tule arenda oma oskuseid ja saa ägedaid sõpru! Omanda praktilist kogemust reaalsetest projektidest.", + "imageAlt": "Tudengile pilt" + }, + "helpdesk": { + "title": "Helpdesk", + "description": "HELPDESK on MTÜ Lapikute poolt pakutav arvutiabiteenus. Teenus on suunatud tudengitele, õppejõududele ning kõikidele huvilistele.", + "imageAlt": "Helpdeski pilt" + }, + "company": { + "title": "Ettevõttele", + "description": "Aitame sinu ideed ellu viia! Meie kogenud tudengid on valmis teie projekte realiseerima.", + "imageAlt": "Ettevõttele pilt" + } + }, + "aboutSection": { "title": "Meist", "description": "Meie põhieesmärgiks on Tallinna Tehnikaülikooli IT tudengitele erialase lisandväärtuse loomine. Kaasame tudengeid praktilistesse lahendustesse, kus saab ideid reaalselt ellu viia ja oma oskusi päriselt kasutada. Meie projektidest kasvavad välja huvitavad ja tarvilikud lõputööd, millel on selge praktiline väärtus.", "moreInfo": "Rohkem infot", "contact": "Kontakt", "imageAlt": "Lapikute tudengid projekti kallal" + }, + "whatWeDo": { + "title": "Keda ja kuidas kaasame", + "description": "Pakume nutikatele ja motiveeritud tudengitele võimalust saada meie juures esimene töökogemus ning arendada end meeskonnas töötades. Lapikud ei ole ainult IT-tudengite organisatsioon, kaasame projektidesse ka majandusteaduskonna tudengeid, et tehniliste lahenduste kõrval oleks esindatud ka äriline vaade.", + "moreInfo": "Rohkem infot", + "contact": "Liitu meiega", + "imageAlt": "Lapikud parandamas riistvara" + }, + "partners": { + "title": "Koostööpartnerid", + "moreInfo": "Rohkem infot partnerluste kohta" } } diff --git a/src/routes/Home.svelte b/src/routes/Home.svelte index 26ec11a..e5bde42 100644 --- a/src/routes/Home.svelte +++ b/src/routes/Home.svelte @@ -6,9 +6,16 @@ import yaml from 'js-yaml'; import ArrowRight from "lucide-svelte/icons/arrow-right"; + import ArrowLeft from "lucide-svelte/icons/arrow-left"; // Partners data let partners = []; + let textData = {}; + + // Subscribe to text store updates + text.subscribe(value => { + textData = value; + }); onMount(async () => { const response = await fetch('/_data/partners.yml'); @@ -22,8 +29,8 @@
- MTÜ Lapikud + {$text["hero"]?.logoAlt

- MTÜ Lapikud on Tallinna Tehnikaülikooli Tarkvaraarendusklubi, mis ühendab endisi - ja praegusi IT huvilisi tudengeid. + {$text["hero"]?.description || "MTÜ Lapikud on Tallinna Tehnikaülikooli Tarkvaraarendusklubi, mis ühendab endisi ja praegusi IT huvilisi tudengeid."}

@@ -72,11 +78,11 @@ @@ -86,14 +92,14 @@ Tudengile Pilt
-

Tudengile

-

Tule arenda oma oskuseid ja saa ägedaid sõpru! Omanda praktilist kogemust reaalsetest projektidest.

+

{$text["services"]?.student?.title || "Tudengile"}

+

{$text["services"]?.student?.description || "Tule arenda oma oskuseid ja saa ägedaid sõpru! Omanda praktilist kogemust reaalsetest projektidest."}

@@ -101,14 +107,14 @@ Helpdesk Pilt
-

Helpdesk

-

HELPDESK on MTÜ Lapikute poolt pakutav arvutiabiteenus. Teenus on suunatud tudengitele, õppejõududele ning kõikidele huvilistele.

+

{$text["services"]?.helpdesk?.title || "Helpdesk"}

+

{$text["services"]?.helpdesk?.description || "HELPDESK on MTÜ Lapikute poolt pakutav arvutiabiteenus. Teenus on suunatud tudengitele, õppejõududele ning kõikidele huvilistele."}

@@ -116,14 +122,14 @@ Ettevõttele Pilt -

Ettevõttele

-

Aitame sinu ideed ellu viia! Meie kogenud tudengid on valmis teie projekte realiseerima.

+

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

+

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

@@ -150,10 +156,10 @@

- {$text["homeAbout"]?.title || "Meist"} + {$text["aboutSection"]?.title || "Meist"}

- {$text["homeAbout"]?.description || "Viga teksti laadimisel. Palun proovi lehte uuesti laadida."} + {$text["aboutSection"]?.description || "Viga teksti laadimisel. Palun proovi lehte uuesti laadida."}

@@ -162,7 +168,7 @@ class="rounded-md border-3 border-orange-500 bg-transparent px-10 py-2 transition-colors hover:bg-orange-500/10" onClick={() => navigate($currentLang === "en" ? "/aboutus" : "/lapikutest")} > - {$text["homeAbout"]?.moreInfo || "Rohkem infot"} + {$text["aboutSection"]?.moreInfo || "Rohkem infot"}
@@ -170,7 +176,7 @@ class="rounded-md border-orange-500 bg-orange-500 px-20 py-2 transition-colors hover:border-orange-300 hover:bg-orange-300" onClick={() => navigate($currentLang === "en" ? "/contact" : "/kontakt")} > - {$text["homeAbout"]?.contact || "Kontakt"} + {$text["aboutSection"]?.contact || "Kontakt"}
@@ -181,8 +187,8 @@
{$text["homeAbout"]?.imageAlt -
+
+ + + + + + + + + + + + + + + + +
+
+ {$text["whatWeDo"]?.imageAlt +
+
+ +
+
+
+

+ {$text["whatWeDo"]?.title || "Mida teeme"} +

+

+ {$text["whatWeDo"]?.description || "Viga teksti laadimisel. Palun proovi lehte uuesti laadida."} +

+
+ +
+ + +
+ + +
+
+
+
+

- Koostööpartnerid + {$text["partners"]?.title || "Koostööpartnerid"}

@@ -262,7 +382,7 @@ class="rounded-md border-orange-500 bg-transparent px-20 py-3 transition-colors hover:bg-orange-500/10" onClick={() => navigate("/partners")} > - Rohkem infot partnerluste kohta + {$text["partners"]?.moreInfo || "Rohkem infot partnerluste kohta"}
diff --git a/src/stories/Svg.stories.svelte b/src/stories/Svg.stories.svelte index 43cd5f3..bd5838f 100644 --- a/src/stories/Svg.stories.svelte +++ b/src/stories/Svg.stories.svelte @@ -8,9 +8,16 @@ }); + + + + + + +