Update index.html
tooltip
This commit is contained in:
parent
5dd935e6fc
commit
d49832780e
1 changed files with 16 additions and 4 deletions
20
index.html
20
index.html
|
|
@ -262,8 +262,12 @@
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer id="footer" class="animate-on-load absolute bottom-4 text-center w-full text-sm text-gray-500 dark:text-gray-400">
|
<footer id="footer" class="animate-on-load absolute bottom-4 text-center w-full text-sm text-gray-500 dark:text-gray-400">
|
||||||
<p data-translate-key="copyright">© 2025 Paulina i Paweł Orzech. Wszelkie prawa zastrzeżone.</p>
|
<p class="flex items-center justify-center">
|
||||||
<p class="mt-2"><a href="https://github.com/pawelorzech/orzech.me" target="_blank" rel="noopener noreferrer" class="github-link hover:text-blue-600 dark:hover:text-blue-400 transition-colors duration-300" data-translate-key="github_link">View on GitHub</a></p>
|
<span data-translate-key="copyright">© 2025 Paulina i Paweł Orzech. Wszelkie prawa zastrzeżone.</span>
|
||||||
|
<span class="mx-2">|</span>
|
||||||
|
<a href="https://github.com/pawelorzech/orzech.me" target="_blank" rel="noopener noreferrer" class="github-link hover:text-blue-600 dark:hover:text-blue-400 transition-colors duration-300" data-translate-key="github_link">GitHub</a>
|
||||||
|
<span class="ml-1">🌰</span>
|
||||||
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -277,7 +281,8 @@
|
||||||
page_title: "Paulina i Paweł Orzech",
|
page_title: "Paulina i Paweł Orzech",
|
||||||
time_format: "HH:mm",
|
time_format: "HH:mm",
|
||||||
time_prefix: "Hej, aktualnie jest",
|
time_prefix: "Hej, aktualnie jest",
|
||||||
github_link: "GitHub"
|
github_link: "GitHub",
|
||||||
|
paulina_tooltip: "Paulina jeszcze nie ma strony, ale może kiedyś będzie miała"
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
title: "Paulina & Paweł Orzech",
|
title: "Paulina & Paweł Orzech",
|
||||||
|
|
@ -287,7 +292,8 @@
|
||||||
page_title: "Paulina & Paweł Orzech",
|
page_title: "Paulina & Paweł Orzech",
|
||||||
time_format: "h:mm A",
|
time_format: "h:mm A",
|
||||||
time_prefix: "Hey, it's currently",
|
time_prefix: "Hey, it's currently",
|
||||||
github_link: "GitHub"
|
github_link: "GitHub",
|
||||||
|
paulina_tooltip: "Paulina doesn't have a page yet, but maybe she will someday."
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -344,6 +350,12 @@
|
||||||
}, 300); // Wait for fade-out to complete
|
}, 300); // Wait for fade-out to complete
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Update tooltip for Paulina's page
|
||||||
|
const paulinaPageDiv = document.querySelector('div > span[data-translate-key="paulina_page"]').parentNode;
|
||||||
|
if (paulinaPageDiv) {
|
||||||
|
paulinaPageDiv.title = translations[lang].paulina_tooltip;
|
||||||
|
}
|
||||||
|
|
||||||
// Update time display when language changes
|
// Update time display when language changes
|
||||||
updateTimeDisplay();
|
updateTimeDisplay();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue