final fix plz?

This commit is contained in:
xhyrom 2021-12-22 19:25:44 +01:00
parent 1844b3743b
commit e33b11021b
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,6 @@
{
"extends": "next/core-web-vitals"
"extends": "next/core-web-vitals",
"rules": {
"@next/next/no-sync-scripts": "off"
}
}

View file

@ -8,6 +8,11 @@ export default function Home() {
<title>Roles Bot</title>
<link rel="icon" href="logo.ico" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/default.min.css" />
<script src="https://kit.fontawesome.com/5acf4d9e80.js" crossOrigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</Head>
<section className="flex-container">
<div className="container animate__animated animate__fadeIn">
@ -22,10 +27,6 @@ export default function Home() {
</div>
</section>
<Script src="https://kit.fontawesome.com/5acf4d9e80.js" crossOrigin="anonymous"></Script>
<Script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></Script>
<Script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></Script>
<Script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></Script>
<Script src="script.js"></Script>
<Script id='hljs'>hljs.initHighlightingOnLoad();</Script>
</div>