mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-08-08 21:29:14 +00:00
fix(mentors): retain inactive refactor profiles
Keep Karina Reisel’s exact refactor profile in the shared mentor dataset while marking it inactive. Filter inactive records in Vue so master’s current public roster remains authoritative without deleting historical profile data.
This commit is contained in:
@@ -66,6 +66,27 @@
|
|||||||
|
|
||||||
Minuga ei hakka kunagi igav, sest mul on alati mõni naljakas tähelepanek või põnev lugu varuks.
|
Minuga ei hakka kunagi igav, sest mul on alati mõni naljakas tähelepanek või põnev lugu varuks.
|
||||||
|
|
||||||
|
- name: Karina Reisel
|
||||||
|
active: false
|
||||||
|
age: 22
|
||||||
|
photo: karina_reisel_mentor
|
||||||
|
speciality: Riistvara arendus ja programmeerimine
|
||||||
|
teams: ['Kultuur', 'Tarkvara']
|
||||||
|
term: 4
|
||||||
|
contactMethods:
|
||||||
|
- name: Discord
|
||||||
|
value: rinsan5781
|
||||||
|
- name: Messenger
|
||||||
|
value: https://m.me/karina.reisel
|
||||||
|
description: >
|
||||||
|
Ootan ägedaid pixleid. Kes soovivad lapi ürituste turundamisega tegutseda.
|
||||||
|
Kirjanikud, disainerid, fotograafid jne. Õpihimulised.
|
||||||
|
Lapiga liitumiseks ei ole tarvis olla proff.
|
||||||
|
Ootan kõiki, kes tahavad aktiivselt Lapis tegutseda.
|
||||||
|
activities: >
|
||||||
|
Ma olen jube tegus inimene. Tõenäoliselt näed sa mind tihti ülikooli ja Lapi üritustel 🤟
|
||||||
|
Mulle meeldib käsitööga tegeleda: kudumine, heegeldamine, kunst, õmblus, tikkand jms.
|
||||||
|
|
||||||
|
|
||||||
- name: Katri Lotamõis
|
- name: Katri Lotamõis
|
||||||
age: 29
|
age: 29
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { Section, Container } from "../components/index.js";
|
import { Section, Container } from "../components/index.js";
|
||||||
import { onMounted, ref } from 'vue';
|
import { computed, onMounted, ref } from 'vue';
|
||||||
import { loadYaml } from '../lib/yaml.js';
|
import { loadYaml } from '../lib/yaml.js';
|
||||||
import { currentLang, getLangText, usePageText } from "../lib/index.js";
|
import { currentLang, getLangText, usePageText } from "../lib/index.js";
|
||||||
import { getOptimisedImagePath, getOptimisedImageFallback } from "../lib/imageHelpers.js";
|
import { getOptimisedImagePath, getOptimisedImageFallback } from "../lib/imageHelpers.js";
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
import { User } from "@lucide/vue";
|
import { User } from "@lucide/vue";
|
||||||
|
|
||||||
const mentors = ref([]);
|
const mentors = ref([]);
|
||||||
|
const activeMentors = computed(() => mentors.value.filter((mentor) => mentor.active !== false));
|
||||||
const text = usePageText("Mentors");
|
const text = usePageText("Mentors");
|
||||||
|
|
||||||
|
|
||||||
@@ -72,7 +73,7 @@
|
|||||||
<!-- Mentors Grid -->
|
<!-- Mentors Grid -->
|
||||||
<Section>
|
<Section>
|
||||||
<div class="flex flex-col gap-8">
|
<div class="flex flex-col gap-8">
|
||||||
<template v-for="mentor in mentors">
|
<template v-for="mentor in activeMentors" :key="mentor.name">
|
||||||
<div>
|
<div>
|
||||||
<div class="flex flex-col md:flex-row gap-6 m-3">
|
<div class="flex flex-col md:flex-row gap-6 m-3">
|
||||||
<!-- Mentor Photo -->
|
<!-- Mentor Photo -->
|
||||||
|
|||||||
Reference in New Issue
Block a user