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"}
+{:else if type === "mirrorHR"}
+
+
{:else if type === "mirrorVH"}
+{: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"}
+
+
{: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 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
-
Tule arenda oma oskuseid ja saa ägedaid sõpru! Omanda praktilist kogemust reaalsetest projektidest.
{$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
-
Aitame sinu ideed ellu viia! Meie kogenud tudengid on valmis teie projekte realiseerima.