mirror of
https://github.com/miljegen/miljegen-website.git
synced 2025-04-04 07:25:07 +00:00
Compare commits
5 Commits
pre-releas
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
c5fb51add5 | ||
9591089b42 | |||
|
805c7694bb | ||
|
71f351b2a4 | ||
|
833f0c47f6 |
4
Makefile
Normal file
4
Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
images/%.png: %.png.64
|
||||
base64 -d $< > $@
|
||||
|
||||
out: images/test-milje.png
|
13
index.html
13
index.html
@ -3,9 +3,20 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<style>
|
||||
#test-milje {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 1000;
|
||||
}
|
||||
</style>
|
||||
<script async src="milje-main.js"></script>
|
||||
<title>миљеген</title>
|
||||
</head>
|
||||
<body>
|
||||
<img id="test-milje" src="test-milje.png" alt="не би требало да видиш ову слику...">
|
||||
<h1>миљеген</h1>
|
||||
<h2>званична страница</h2>
|
||||
<p>бојлерплејт хихи</p>
|
||||
|
6
milje-main.js
Normal file
6
milje-main.js
Normal file
@ -0,0 +1,6 @@
|
||||
window.addEventListener("message", (event) => {
|
||||
if (event.data.extensionDetected) {
|
||||
const elementToHide = document.getElementById("test-milje");
|
||||
if (elementToHide) elementToHide.style.display = "none";
|
||||
}
|
||||
});
|
9287
test-milje.png.64
Normal file
9287
test-milje.png.64
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user