diff --git a/kontakt/index.html b/kontakt/index.html
index 9bddcd6..312dcce 100644
--- a/kontakt/index.html
+++ b/kontakt/index.html
@@ -55,17 +55,22 @@
-
-
-
-
-
+
+
+
+
+
+
@@ -296,6 +301,29 @@
`;
}
+ function showContacts(type) {
+ const mainDiv = document.getElementById('contacts');
+ const internalDiv = document.getElementById('internal-contacts');
+ const mainBtn = document.getElementById('showMainContacts');
+ const internalBtn = document.getElementById('showInternalContacts');
+
+ if (type === 'main') {
+ mainDiv.classList.remove('hidden');
+ internalDiv.classList.add('hidden');
+ mainBtn.classList.add('bg-blue-600', 'text-white');
+ mainBtn.classList.remove('bg-gray-100', 'text-gray-700');
+ internalBtn.classList.remove('bg-blue-600', 'text-white');
+ internalBtn.classList.add('bg-gray-100', 'text-gray-700');
+ } else {
+ mainDiv.classList.add('hidden');
+ internalDiv.classList.remove('hidden');
+ mainBtn.classList.remove('bg-blue-600', 'text-white');
+ mainBtn.classList.add('bg-gray-100', 'text-gray-700');
+ internalBtn.classList.add('bg-blue-600', 'text-white');
+ internalBtn.classList.remove('bg-gray-100', 'text-gray-700');
+ }
+ }
+
async function reloadContacts() {
const btn = document.getElementById('reloadBtn');
const originalText = btn.innerHTML;