diff --git a/frontend/src/lib/components/pill.svelte b/frontend/src/lib/components/pill.svelte
index b85c544..3d2a648 100644
--- a/frontend/src/lib/components/pill.svelte
+++ b/frontend/src/lib/components/pill.svelte
@@ -13,6 +13,16 @@
export let shadow_color = null;
export let show_tooltip = false;
export let tooltip_data = [];
+ export let text;
+
+ // Special data on pill
+ import st_misc from "$lib/misc/special_tooltip.json";
+ for (const st in st_misc) {
+ if (st == name)
+ tooltip_data.push({
+ title: text[st_misc[st]],
+ });
+ }
const white = shouldColorBeWhite(color.slice(1));
let style =
@@ -140,6 +150,7 @@
{#each tooltip_data as td}
{td.title}
+ {#if td.project_id != null}
+ {/if}
{/each}
diff --git a/frontend/src/lib/lang/en.json b/frontend/src/lib/lang/en.json
index 6970b31..449dcbf 100644
--- a/frontend/src/lib/lang/en.json
+++ b/frontend/src/lib/lang/en.json
@@ -23,5 +23,8 @@
"popup_description": "Description",
"popup_dl_app": "Download App",
"popup_dl_arc": "Download Archive",
- "popup_dl_rep": "See Report"
+ "popup_dl_rep": "See Report",
+
+ "backend": "This backend",
+ "frontend": "This website"
}
\ No newline at end of file
diff --git a/frontend/src/lib/lang/fr.json b/frontend/src/lib/lang/fr.json
index 48d9067..cf8f4fc 100644
--- a/frontend/src/lib/lang/fr.json
+++ b/frontend/src/lib/lang/fr.json
@@ -23,5 +23,8 @@
"popup_description": "Description",
"popup_dl_app": "Application",
"popup_dl_arc": "Archive ZIP",
- "popup_dl_rep": "Voir le Rapport"
+ "popup_dl_rep": "Voir le Rapport",
+
+ "backend": "Ce serveur",
+ "frontend": "Ce site web"
}
\ No newline at end of file
diff --git a/frontend/src/lib/misc/special_tooltip.json b/frontend/src/lib/misc/special_tooltip.json
new file mode 100644
index 0000000..d73cd3c
--- /dev/null
+++ b/frontend/src/lib/misc/special_tooltip.json
@@ -0,0 +1,11 @@
+{
+ "Rust": "backend",
+ "PostgresSQL": "backend",
+ "CSS": "frontend",
+ "HTML": "frontend",
+ "Svelte": "frontend",
+ "JavaScript": "frontend",
+ "VS Codium": "frontend",
+ "Github": "frontend",
+ "DBeaver": "backend"
+}
\ No newline at end of file
diff --git a/frontend/src/routes/lang=[lang]/+page.svelte b/frontend/src/routes/lang=[lang]/+page.svelte
index be4b098..3de2c4e 100644
--- a/frontend/src/routes/lang=[lang]/+page.svelte
+++ b/frontend/src/routes/lang=[lang]/+page.svelte
@@ -147,6 +147,7 @@
color={pilldata.color}
show_tooltip={true}
tooltip_data={cv.project_programming[index]}
+ {text}
/>
{/each}
{/if}
@@ -162,6 +163,7 @@
color={pilldata.color}
show_tooltip={true}
tooltip_data={cv.project_software[index]}
+ {text}
/>
{/each}
{/if}