From 49b5a4e03d0056e9df54d36891af7cc2ff7a8caa Mon Sep 17 00:00:00 2001
From: physcik <mynameisgennadiy@vk.com>
Date: Sat, 11 Apr 2026 19:06:22 +0500
Subject: Side panel rework

---
 front/src/Emelents/SidebarElement.tsx | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 front/src/Emelents/SidebarElement.tsx

(limited to 'front/src/Emelents/SidebarElement.tsx')

diff --git a/front/src/Emelents/SidebarElement.tsx b/front/src/Emelents/SidebarElement.tsx
new file mode 100644
index 0000000..b7994e5
--- /dev/null
+++ b/front/src/Emelents/SidebarElement.tsx
@@ -0,0 +1,22 @@
+import { useContext } from 'react';
+import { LanguageContext } from '../Locales/Context';
+import { GetLocalizedString } from '../Locales/Locales';
+
+type ElementProps = {
+    Href: string;
+    Text: string;
+};
+
+function SidebarListElement({Href, Text}: ElementProps) {
+    var lang = useContext(LanguageContext);
+    return (
+        <li> 
+            <span>
+                <a href={Href}> {GetLocalizedString(Text, lang)} </a> 
+                <span> ....................................................... </span>
+            </span>
+        </li>
+    );
+}
+
+export default SidebarListElement;
-- 
cgit v1.3

