seo stuff
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m55s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m55s
This commit is contained in:
parent
4d0ae5286d
commit
1de25a92ba
@ -18,6 +18,7 @@ public class HomeController {
|
|||||||
|
|
||||||
@GetMapping(value = "/")
|
@GetMapping(value = "/")
|
||||||
public String home(Model model) {
|
public String home(Model model) {
|
||||||
|
model.addAttribute("public_url", Config.INSTANCE.getWebPublicUrl());
|
||||||
model.addAttribute("player_example_url", Config.INSTANCE.getWebPublicUrl() + "/player/" + exampleUuid);
|
model.addAttribute("player_example_url", Config.INSTANCE.getWebPublicUrl() + "/player/" + exampleUuid);
|
||||||
model.addAttribute("java_server_example_url", Config.INSTANCE.getWebPublicUrl() + "/server/java/" + exampleServer);
|
model.addAttribute("java_server_example_url", Config.INSTANCE.getWebPublicUrl() + "/server/java/" + exampleServer);
|
||||||
model.addAttribute("mojang_endpoint_status_url", Config.INSTANCE.getWebPublicUrl() + "/mojang/status");
|
model.addAttribute("mojang_endpoint_status_url", Config.INSTANCE.getWebPublicUrl() + "/mojang/status");
|
||||||
|
@ -1,30 +1,46 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
|
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<title>Minecraft Utilities</title>
|
<title>Minecraft Utilities - Wrapper for the Minecraft APIs</title>
|
||||||
|
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
|
||||||
|
<meta name="keywords" content="Minecraft, APIs, wrapper, utility, development">
|
||||||
|
|
||||||
<!-- Discord Meta Tags -->
|
<!-- Discord Meta Tags -->
|
||||||
<meta name="description" content="Wrapper for the Minecraft APIs to make them easier to use.">
|
<meta name="description" content="Minecraft Utilities provides a convenient wrapper for the Minecraft APIs, simplifying their usage for developers.">
|
||||||
<meta name="theme-color" content="#3498DB">
|
<meta name="theme-color" content="#3498DB">
|
||||||
|
|
||||||
|
<!-- Open Graph / Facebook -->
|
||||||
|
<meta property="og:title" content="Minecraft Utilities - Wrapper for the Minecraft APIs">
|
||||||
|
<meta property="og:description" content="Minecraft Utilities provides a convenient wrapper for the Minecraft APIs, simplifying their usage for developers.">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:url" th:content="${public_url}">
|
||||||
|
<meta property="og:image" content="https://git.fascinated.cc/MinecraftUtilities/Assets/raw/branch/master/logo.png">
|
||||||
|
|
||||||
|
<!-- Twitter -->
|
||||||
|
<meta property="twitter:card" content="summary_large_image">
|
||||||
|
<meta property="twitter:url" th:content="${public_url}">
|
||||||
|
<meta property="twitter:title" content="Minecraft Utilities - Wrapper for the Minecraft APIs">
|
||||||
|
<meta property="twitter:description" content="Minecraft Utilities provides a convenient wrapper for the Minecraft APIs, simplifying their usage for developers.">
|
||||||
|
<meta property="twitter:image" content="https://git.fascinated.cc/MinecraftUtilities/Assets/raw/branch/master/logo.png">
|
||||||
|
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white text-center">
|
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white text-center">
|
||||||
<p class="font-bold">Hello!</p>
|
<p class="font-bold">Hello!</p>
|
||||||
<p>Wrapper for the Minecraft APIs to make them easier to use.</p>
|
<p>Wrapper for the Minecraft APIs to make them easier to use.</p>
|
||||||
<p>This page will eventually be replaced with a new one.</p>
|
<p>This page will eventually be replaced with a new one.</p>
|
||||||
<a class="text-blue-600" target=”_blank” href="https://git.fascinated.cc/MinecraftUtilities/Backend">Source Code</a>
|
<a class="text-blue-600" target=”_blank” href="https://git.fascinated.cc/MinecraftUtilities/Backend">Source Code</a>
|
||||||
|
|
||||||
<div class="flex flex-col mt-3">
|
<div class="flex flex-col mt-3">
|
||||||
<p>Player Data: <a class="text-blue-600" target=”_blank” th:href="${player_example_url}" th:text="${player_example_url}">???</a></p>
|
<p>Player Data: <a class="text-blue-600" target=”_blank” th:href="${player_example_url}" th:text="${player_example_url}">???</a></p>
|
||||||
<p>Server Data: <a class="text-blue-600" target=”_blank” th:href="${java_server_example_url}" th:text="${java_server_example_url}">???</a></p>
|
<p>Server Data: <a class="text-blue-600" target=”_blank” th:href="${java_server_example_url}" th:text="${java_server_example_url}">???</a></p>
|
||||||
<p>Mojang Endpoint Status: <a class="text-blue-600" target=”_blank” th:href="${mojang_endpoint_status_url}" th:text="${mojang_endpoint_status_url}">???</a></p>
|
<p>Mojang Endpoint Status: <a class="text-blue-600" target=”_blank” th:href="${mojang_endpoint_status_url}" th:text="${mojang_endpoint_status_url}">???</a></p>
|
||||||
<p>Swagger Docs: <a class="text-blue-600" target=”_blank” th:href="${swagger_url}" th:text="${swagger_url}">???</a></p>
|
<p>Swagger Docs: <a class="text-blue-600" target=”_blank” th:href="${swagger_url}" th:text="${swagger_url}">???</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user