From 4a452e9793a28e71836420f81a7cbed0cdd25bb3 Mon Sep 17 00:00:00 2001 From: v4ltages Date: Mon, 23 Feb 2026 23:06:41 +0200 Subject: [PATCH] Home, card, mentors page update --- src/components/layout/Card.svelte | 32 ++- src/layout/Navbar.svelte | 8 +- src/routes/Home.svelte | 10 +- src/routes/Mentors.svelte | 349 +++++++++++++++++------------- src/routes/Student.svelte | 4 +- 5 files changed, 235 insertions(+), 168 deletions(-) diff --git a/src/components/layout/Card.svelte b/src/components/layout/Card.svelte index e1f2e90..118fcfc 100644 --- a/src/components/layout/Card.svelte +++ b/src/components/layout/Card.svelte @@ -1,6 +1,6 @@ @@ -80,6 +81,35 @@ transform: none; } + .card-blur { + background: rgba(255, 255, 255, 0.68); + backdrop-filter: blur(18px) saturate(160%); + -webkit-backdrop-filter: blur(18px) saturate(160%); + border: 1px solid rgba(255, 255, 255, 0.55); + box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06); + isolation: isolate; + } + + .card-blur::before { + content: ""; + position: absolute; + inset: -12px; + border-radius: calc(var(--radius-lg) + 12px); + background: radial-gradient( + 120% 120% at 50% 50%, + rgba(245, 245, 245, 0.95) 45%, + rgba(245, 245, 245, 0.55) 65%, + rgba(245, 245, 245, 0) 82% + ); + filter: blur(10px); + pointer-events: none; + z-index: -1; + } + + .card-blur:hover { + background: rgba(255, 255, 255, 0.78); + } + @media (max-width: 768px) { .card { padding: var(--space-4); diff --git a/src/layout/Navbar.svelte b/src/layout/Navbar.svelte index 9457dfd..cf793c0 100644 --- a/src/layout/Navbar.svelte +++ b/src/layout/Navbar.svelte @@ -195,11 +195,11 @@ {#if mobileMenuOpen}
- +
-{/if} \ No newline at end of file +{/if} diff --git a/src/routes/Home.svelte b/src/routes/Home.svelte index 3d9c94e..afb3dbb 100644 --- a/src/routes/Home.svelte +++ b/src/routes/Home.svelte @@ -39,7 +39,7 @@
- +
@@ -52,7 +52,7 @@
- +
@@ -65,7 +65,7 @@
- +
@@ -83,11 +83,11 @@
- +

Mida me loome

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.

- +

Keda ja kuidas kaasame

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.

diff --git a/src/routes/Mentors.svelte b/src/routes/Mentors.svelte index 24445a2..33227c2 100644 --- a/src/routes/Mentors.svelte +++ b/src/routes/Mentors.svelte @@ -1,176 +1,213 @@
-
-
-

Meie Mentorid

-

- Kogenud tudengid, kes aitavad sind areneda ja jagavad oma teadmisi -

-
-
+
+
+

Meie Mentorid

+

+ Kogenud tudengid, kes aitavad sind areneda ja jagavad oma + teadmisi +

+
+
-
-

Tutvuge meie mentorite meeskonnaga

-

Igaüks neist on spetsialist omas valdkonnas ja valmis sind aitama

-
- - - {#each mentors as mentor} - -
- - {#if mentor.photo} -
- {mentor.name} { - e.target.src = '/assets/mentors-images/original/' + mentor.photo; - }} - /> +
+

+ Tutvuge meie mentorite meeskonnaga +

+

+ Igaüks neist on spetsialist omas valdkonnas ja valmis sind aitama +

+
+ +
+ {#each mentors as mentor} +
+
+ + {#if mentor.photo} +
+ {mentor.name} { + e.target.src = + "/assets/mentors-images/original/" + + mentor.photo; + }} + /> +
+ {/if} + + +
+

{mentor.name}

+ + {#if mentor.age} +

+ Vanus: {mentor.age} +

+ {/if} + + {#if mentor.speciality} +

+ {getLangText( + mentor, + "speciality", + $currentLang, + )} +

+ {/if} + + {#if mentor.teams && mentor.teams.length > 0} +
+ Meeskonnad: + {mentor.teams.join(", ")} +
+ {/if} + + {#if mentor.term} +

+ Ametiperiood: {mentor.term} + {mentor.term === 1 ? "aasta" : "aastat"} +

+ {/if} + + {#if mentor.description} +

+ Otsin: {getLangText( + mentor, + "description", + $currentLang, + )} +

+ {/if} + + {#if mentor.activities} +

+ {getLangText( + mentor, + "activities", + $currentLang, + )} +

+ {/if} + + + {#if mentor.contactMethods && mentor.contactMethods.length > 0} +
+ {#each mentor.contactMethods as method} + {@const IconComponent = getContactIcon( + method.name, + )} + + + {method.name} + + {/each} +
+ {/if} +
+
- {/if} - - -
-

{mentor.name}

- - {#if mentor.age} -

Vanus: {mentor.age}

- {/if} - - {#if mentor.speciality} -

- {getLangText(mentor, 'speciality', $currentLang)} -

- {/if} - - {#if mentor.teams && mentor.teams.length > 0} -
- Meeskonnad: - {mentor.teams.join(', ')} -
- {/if} - - {#if mentor.term} -

Ametiperiood: {mentor.term} {mentor.term === 1 ? 'aasta' : 'aastat'}

- {/if} - - {#if mentor.description} -

- Otsin: {getLangText(mentor, 'description', $currentLang)} -

- {/if} - - {#if mentor.activities} -

- {getLangText(mentor, 'activities', $currentLang)} -

- {/if} - - - {#if mentor.contactMethods && mentor.contactMethods.length > 0} -
- {#each mentor.contactMethods as method} - {@const IconComponent = getContactIcon(method.name)} - - - {method.name} - - {/each} -
- {/if} -
-
- - {/each} - + {/each} +
-
- -

Taha saada mentoriks?

-

- Kui oled kogenud tudeng ja soovid jagada oma teadmisi ning aidata uusi liikmeid, - siis võta meiega ühendust! -

- -
-
+
+ +

+ Taha saada mentoriks? +

+

+ Kui oled kogenud tudeng ja soovid jagada oma teadmisi ning + aidata uusi liikmeid, siis võta meiega ühendust! +

+ +
+
- diff --git a/src/routes/Student.svelte b/src/routes/Student.svelte index 471ac56..523228f 100644 --- a/src/routes/Student.svelte +++ b/src/routes/Student.svelte @@ -171,7 +171,7 @@ {#if members.senior && members.senior.length > 0}
-

Senior liikmed

+

Vanemliikmed

{#each members.senior as member}
@@ -184,7 +184,7 @@ {#if members.junior && members.junior.length > 0}
-

Junior liikmed

+

Noorliikmed

{#each members.junior as member}