Added error messages, styled cards, add bot/add
This commit is contained in:
1 parent
0e9c13914b
commit
f788e4de59
11 files changed
+501
-81
No files matched your search
+19
-20
@@ -1,13 +1,12 @@
|
||||
<%- include("./includes/header.ejs") %>
|
||||
|
||||
<%- include("./includes/header.ejs", { user:user }) %>
|
||||
<div class="bg-blue-color bg-primary-color p-2 pl-10 pr-10" style="position: relative; top: 0px;">
|
||||
<br><br>
|
||||
<div class="container-sm mx-auto px-3 mb-5 mt-1 h-fit p-1">
|
||||
<div class="container-sm mx-auto px-3 mb-5 mt-1 h-fit p-1">
|
||||
<div class="mb-3 mx-auto h-fit">
|
||||
<span style="margin-top: -5%;float: right; margin-right: 10%;" class="logo">
|
||||
<img draggable="false" style="z-index: -1!important;" title="botscord.site" src="../img/logo.png" width="320" alt="Discord Bots | Discord Bot List">
|
||||
<span style="float: right; margin-right: 10%;" class="logo">
|
||||
<img draggable="false" title="botscord.site" src="/img/logo.png" width="320" alt="Discord Bots | Discord Bot List">
|
||||
</span>
|
||||
<h1 class=" text-xl" translate="no" style="font-weight:800;color:#fff">BotsCord</h1>
|
||||
<br><br>
|
||||
<h1 class="text-xl" style="font-weight:800;color:#fff">BotsCord</h1>
|
||||
<p class="content" style="opacity:.6;color:#fff">Find the best Discord Bots for your server with BotsCord!</p>
|
||||
<br>
|
||||
<form class="flex items-center ">
|
||||
@@ -30,23 +29,23 @@
|
||||
|
||||
<a title="BotsCord" href="/tag/Moderation" class="text-white bg-button-primary hover:bg-button-primary focus:ring-4 focus:ring-blue-300 font-bold rounded-lg text-sm px-2 py-2 mb-2 dark:bg-button-primary dark:hover:bg-button-primary focus:outline-none dark:focus:ring-button-primary underline hover:no-underline"><i class="fad fa-magic"></i> Moderation</a>
|
||||
<a title="BotsCord" href="/tag/Fun" class="text-white bg-button-primary hover:bg-button-primary focus:ring-4 focus:ring-blue-300 font-bold rounded-lg text-sm px-2 py-2 mb-2 dark:bg-button-primary dark:hover:bg-button-primary focus:outline-none dark:focus:ring-button-primary underline hover:no-underline"><i class="fad fa-smile"></i> Fun</a>
|
||||
<a title="BotsCord" href="/tag/Moderation" class="text-white bg-button-primary hover:bg-button-primary focus:ring-4 focus:ring-blue-300 font-bold rounded-lg text-sm px-2 py-2 mb-2 dark:bg-button-primary dark:hover:bg-button-primary focus:outline-none dark:focus:ring-button-primary underline hover:no-underline"><i class="fad fa-file"></i></i> Logging</a>
|
||||
<a title="BotsCord" href="/tag/Moderation" class="text-white bg-button-primary hover:bg-button-primary focus:ring-4 focus:ring-blue-300 font-bold rounded-lg text-sm px-2 py-2 mb-2 dark:bg-button-primary dark:hover:bg-button-primary focus:outline-none dark:focus:ring-button-primary underline hover:no-underline"><i class="fad fa-file"></i> Logging</a>
|
||||
<a title="BotsCord" href="/tag/Utility" class="text-white bg-button-primary hover:bg-button-primary focus:ring-4 focus:ring-blue-300 font-bold rounded-lg text-sm px-2 py-2 mb-2 dark:bg-button-primary dark:hover:bg-button-primary focus:outline-none dark:focus:ring-button-primary underline hover:no-underline"><i class="fad fa-cogs"></i> Utility</a>
|
||||
<br><br><br><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bots card with bot info -->
|
||||
<!-- header with Title Promoted Bots -->
|
||||
<div class="mb-3 mx-auto text-center">
|
||||
<h2 class="text-xl text-white" translate="no">Promoted Bots</h2>
|
||||
<p class="content text-white" style="opacity:.6">These bots are featured on BotsCord!</p>
|
||||
<div class=" mx-auto text-center">
|
||||
<br>
|
||||
<h2 class="text-xl text-white text-center"><i class="fa fa-bullhorn" aria-hidden="true"></i> Promoted Bots</h2>
|
||||
<p class="content text-white text-center" style="opacity:.6">These bots are featured on BotsCord!</p>
|
||||
</div>
|
||||
<div class="flex flex-wrap grid-cols-3 items-center container-sm">
|
||||
<div class="max-w-sm rounded overflow-hidden shadow-lg flex-none">
|
||||
<div class="grid columns items-center content-center justify-center grid-cols-1 gap-4 col-auto sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-5 m-8">
|
||||
<div class="transition-shadow ease-in-out duration-300 hover:shadow-blue-900 shadow-2xl rounded-lg max-w-sm bg-blue-color">
|
||||
<img class="w-full rounded-full" src="https://cdn.discordapp.com/avatars/860390761307439114/2845a42b0c7868c3db29ea1996e84320.webp" alt="Sunset in the mountains">
|
||||
<div class="px-6 py-4">
|
||||
<div class="font-bold text-xl mb-2 text-white">The Coldest Sunset</div>
|
||||
<p class="text-white text-base">
|
||||
<p class="text-white text-base">Description
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-6 pt-4 pb-2">
|
||||
@@ -55,11 +54,11 @@
|
||||
<span class="inline-block bg-button-primary rounded-full px-3 py-1 text-sm font-semibold text-white mr-2 mb-2">#winter</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="max-w-sm rounded overflow-hidden shadow-lg flex-none">
|
||||
<div class="transition-shadow ease-in-out duration-300 hover:shadow-blue-900 shadow-2xl rounded-lg max-w-sm bg-blue-color">
|
||||
<img class="w-full rounded-full" src="https://cdn.discordapp.com/avatars/860390761307439114/2845a42b0c7868c3db29ea1996e84320.webp" alt="Sunset in the mountains">
|
||||
<div class="px-6 py-4">
|
||||
<div class="font-bold text-xl mb-2 text-white">The Coldest Sunset</div>
|
||||
<p class="text-white text-base">
|
||||
<p class="text-white text-base">Description
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-6 pt-4 pb-2">
|
||||
@@ -68,11 +67,11 @@
|
||||
<span class="inline-block bg-button-primary rounded-full px-3 py-1 text-sm font-semibold text-white mr-2 mb-2">#winter</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="max-w-sm rounded overflow-hidden shadow-lg flex-none">
|
||||
<div class="transition-shadow ease-in-out duration-300 hover:shadow-blue-900 shadow-2xl rounded-lg max-w-sm bg-blue-color">
|
||||
<img class="w-full rounded-full" src="https://cdn.discordapp.com/avatars/860390761307439114/2845a42b0c7868c3db29ea1996e84320.webp" alt="Sunset in the mountains">
|
||||
<div class="px-6 py-4">
|
||||
<div class="font-bold text-xl mb-2 text-white">The Coldest Sunset</div>
|
||||
<p class="text-white text-base">
|
||||
<p class="text-white text-base">Description
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-6 pt-4 pb-2">
|
||||
|
||||
Reference in new issue
Block a user