Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions src/main/resources/templates/commands.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Commands - MangoBot</title>
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/main.css?v=${.now?long}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<div class="nav-container">
<a href="/home" class="nav-logo">
Expand All @@ -32,10 +31,13 @@
</svg>
Join Discord
</a>
<button class="nav-toggle" aria-label="Toggle menu">
<span></span>
<span></span>
<span></span>
</button>
</div>
</nav>

<!-- Page Header -->
<div class="page-header">
<div class="container">
<div class="header-content">
Expand All @@ -47,8 +49,6 @@
</div>
</div>
</div>

<!-- Commands Content -->
<div class="commands-content">
<div class="container">
<#list commandDataList as data>
Expand Down Expand Up @@ -94,8 +94,6 @@
</#list>
</div>
</div>

<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
Expand All @@ -106,13 +104,9 @@
<span class="logo-text">MangoBot</span>
</div>
<p class="footer-text">Developed with passion by MangoRage</p>
<div class="footer-links">
<#list headers as header>
<a href="${header.page()}">${header.text()}</a>
</#list>
</div>
</div>
</div>
</footer>
<script src="js/main.js" defer></script>
</body>
</html>
</html>
7 changes: 1 addition & 6 deletions src/main/resources/templates/guilds.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guilds - MangoBot</title>
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/main.css?v=${.now?long}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -163,11 +163,6 @@
<span class="logo-text">MangoBot</span>
</div>
<p class="footer-text">Developed with passion by MangoRage</p>
<div class="footer-links">
<#list headers as header>
<a href="${header.page()}">${header.text()}</a>
</#list>
</div>
</div>
</div>
</footer>
Expand Down
6 changes: 1 addition & 5 deletions src/main/resources/templates/home.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MangoBot - Discord Bot</title>
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/main.css?v=${.now?long}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -240,10 +240,6 @@
<span class="logo-text">MangoBot</span>
</div>
<p class="footer-text">Developed with passion by MangoRage</p>
<div class="footer-links">
<#list headers as header>
<a href="${header.page()}">${header.text()}</a>
</#list>
</div>
</div>
</div>
Expand Down
15 changes: 5 additions & 10 deletions src/main/resources/templates/tricks.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${trick.getName()!"Trick"} - MangoBot</title>
<title>MangoBot - Discord Bot</title>
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/main.css?v=${.now?long}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<script src="js/main.js" defer></script>
<meta name="og:title" content="${trick.getName()!"Trick"} - MangoBot">
<meta name="og:description" content="View trick details for ${trick.getName()!"this trick"} on MangoBot.">
<meta name="og:title" content="MangoBot">
<meta name="og:description" content="The Official MangoBot Discord Bot.">
<meta name="og:image" content="https://mangobot.mangorage.org/pink-sheep.png">
<meta name="og:url" content="https://mangobot.mangorage.org/trick?guildId=${guildId!""}&trickId=${trick.getId()!""}">
<meta name="og:url" content="https://mangobot.mangorage.org/">
<meta name="og:type" content="website">
</head>
<body>
Expand Down Expand Up @@ -147,11 +147,6 @@
<span class="logo-text">MangoBot</span>
</div>
<p class="footer-text">Developed with passion by MangoRage</p>
<div class="footer-links">
<#list headers as header>
<a href="${header.page()}">${header.text()}</a>
</#list>
</div>
</div>
</div>
</footer>
Expand Down