Compare commits
No commits in common. '613bd9c4fe4bb261ec65558132b5e07bcf255cb3' and 'eda0b2f9e8d755e5c3885bc361ea03883db98fb8' have entirely different histories.
613bd9c4fe
...
eda0b2f9e8
@ -1,5 +0,0 @@ |
|||||||
# Loneliness |
|
||||||
|
|
||||||
Again this feeling of a place that never was, I remember there was a word for that in portuguese, but it escapes my mind all the time. |
|
||||||
|
|
||||||
I wonder. |
|
@ -1,27 +0,0 @@ |
|||||||
// Function to inject HTML and CSS
|
|
||||||
function injectTopLeftImage() { |
|
||||||
// Create style element
|
|
||||||
const style = document.createElement('style'); |
|
||||||
style.textContent = ` |
|
||||||
.top-left-image { |
|
||||||
position: fixed; |
|
||||||
top: 0; |
|
||||||
left: 0; |
|
||||||
z-index: 9999; |
|
||||||
} |
|
||||||
`;
|
|
||||||
document.head.appendChild(style); |
|
||||||
|
|
||||||
// Create HTML element
|
|
||||||
const container = document.createElement('div'); |
|
||||||
container.innerHTML = ` |
|
||||||
<a href="/home"> |
|
||||||
<img src="/static/site/logo.png" alt="Top-Left Image" class="top-left-image"> |
|
||||||
</a> |
|
||||||
`;
|
|
||||||
document.body.appendChild(container); |
|
||||||
} |
|
||||||
|
|
||||||
// Ensure the function runs after the page loads
|
|
||||||
window.addEventListener('DOMContentLoaded', injectTopLeftImage); |
|
||||||
|
|
Loading…
Reference in new issue