mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
feat: add version number
This commit is contained in:
@@ -21,7 +21,6 @@ export async function DeleteWhatsNew() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function OpenMinecraftServerPopup() {
|
export function OpenMinecraftServerPopup() {
|
||||||
|
|
||||||
if (!document.querySelector('link[href*="minecraftia"]')) {
|
if (!document.querySelector('link[href*="minecraftia"]')) {
|
||||||
const fontLink = document.createElement("link");
|
const fontLink = document.createElement("link");
|
||||||
fontLink.href = "https://fonts.cdnfonts.com/css/minecraftia";
|
fontLink.href = "https://fonts.cdnfonts.com/css/minecraftia";
|
||||||
@@ -48,7 +47,8 @@ export function OpenMinecraftServerPopup() {
|
|||||||
imagecont.classList.add("whatsnewImgContainer");
|
imagecont.classList.add("whatsnewImgContainer");
|
||||||
|
|
||||||
let img = document.createElement("img");
|
let img = document.createElement("img");
|
||||||
img.src = "https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/server-image.png";
|
img.src =
|
||||||
|
"https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Plus/main/src/resources/server-image.png";
|
||||||
img.classList.add("whatsnewImg");
|
img.classList.add("whatsnewImg");
|
||||||
|
|
||||||
imagecont.appendChild(img);
|
imagecont.appendChild(img);
|
||||||
@@ -77,7 +77,8 @@ export function OpenMinecraftServerPopup() {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 0.8em;
|
margin-top: 0.5em;
|
||||||
|
margin-bottom: 0.1em;
|
||||||
text-shadow:
|
text-shadow:
|
||||||
-1px -1px 0 #000,
|
-1px -1px 0 #000,
|
||||||
1px -1px 0 #000,
|
1px -1px 0 #000,
|
||||||
@@ -85,6 +86,21 @@ export function OpenMinecraftServerPopup() {
|
|||||||
1px 1px 0 #000;
|
1px 1px 0 #000;
|
||||||
">
|
">
|
||||||
mc.betterseqta.org
|
mc.betterseqta.org
|
||||||
|
</p>
|
||||||
|
<p style="
|
||||||
|
font-family: 'Minecraftia', sans-serif;
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 12px;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 0;
|
||||||
|
text-shadow:
|
||||||
|
-1px -1px 0 #000,
|
||||||
|
1px -1px 0 #000,
|
||||||
|
-1px 1px 0 #000,
|
||||||
|
1px 1px 0 #000;
|
||||||
|
">
|
||||||
|
Version: 1.21.4
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
`).firstChild;
|
`).firstChild;
|
||||||
@@ -121,7 +137,13 @@ export function OpenMinecraftServerPopup() {
|
|||||||
let exitbutton = document.createElement("div");
|
let exitbutton = document.createElement("div");
|
||||||
exitbutton.id = "whatsnewclosebutton";
|
exitbutton.id = "whatsnewclosebutton";
|
||||||
|
|
||||||
container.append(header, imagecont, text as HTMLElement, footer as HTMLElement, exitbutton);
|
container.append(
|
||||||
|
header,
|
||||||
|
imagecont,
|
||||||
|
text as HTMLElement,
|
||||||
|
footer as HTMLElement,
|
||||||
|
exitbutton,
|
||||||
|
);
|
||||||
|
|
||||||
background.append(container);
|
background.append(container);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user