2024-03-27 20:10:58 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>{{.Title}}</title>
|
2024-05-02 19:14:10 +00:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
2024-05-19 16:24:27 +00:00
|
|
|
href="/static/assets/highlightjs.css"
|
2024-05-02 19:14:10 +00:00
|
|
|
/>
|
2024-08-21 11:10:09 +00:00
|
|
|
<script defer src="/static/assets/highlightjs.js"></script>
|
2024-05-02 19:14:10 +00:00
|
|
|
<script
|
|
|
|
defer
|
2024-05-19 16:24:27 +00:00
|
|
|
src="/static/assets/alpine.js"
|
2024-05-02 19:14:10 +00:00
|
|
|
></script>
|
|
|
|
<script
|
|
|
|
defer
|
2024-05-19 16:24:27 +00:00
|
|
|
src="/static/assets/marked.js"
|
2024-05-02 19:14:10 +00:00
|
|
|
></script>
|
|
|
|
<script
|
|
|
|
defer
|
2024-05-19 16:24:27 +00:00
|
|
|
src="/static/assets/purify.js"
|
2024-05-02 19:14:10 +00:00
|
|
|
></script>
|
|
|
|
|
|
|
|
<link href="/static/general.css" rel="stylesheet" />
|
2024-05-19 16:24:27 +00:00
|
|
|
<link href="/static/assets/font1.css" rel="stylesheet">
|
2024-04-23 07:22:58 +00:00
|
|
|
<link
|
2024-05-19 16:24:27 +00:00
|
|
|
href="/static/assets/font2.css"
|
2024-04-23 07:22:58 +00:00
|
|
|
rel="stylesheet" />
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
2024-05-19 16:24:27 +00:00
|
|
|
href="/static/assets/tw-elements.css" />
|
|
|
|
<script src="/static/assets/tailwindcss.js"></script>
|
2024-04-23 07:22:58 +00:00
|
|
|
<script>
|
|
|
|
tailwind.config = {
|
|
|
|
darkMode: "class",
|
|
|
|
theme: {
|
|
|
|
fontFamily: {
|
|
|
|
sans: ["Roboto", "sans-serif"],
|
|
|
|
body: ["Roboto", "sans-serif"],
|
|
|
|
mono: ["ui-monospace", "monospace"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
corePlugins: {
|
|
|
|
preflight: false,
|
|
|
|
},
|
|
|
|
};
|
2024-08-19 17:58:17 +00:00
|
|
|
function copyClipboard(token) {
|
|
|
|
navigator.clipboard.writeText(token)
|
|
|
|
.then(() => {
|
|
|
|
console.log('Text copied to clipboard:', token);
|
|
|
|
alert('Text copied to clipboard!');
|
|
|
|
})
|
|
|
|
.catch(err => {
|
|
|
|
console.error('Failed to copy token:', err);
|
|
|
|
});
|
|
|
|
}
|
2024-04-23 07:22:58 +00:00
|
|
|
</script>
|
2024-08-19 16:05:02 +00:00
|
|
|
<link href="/static/assets/fontawesome/css/fontawesome.css" rel="stylesheet" />
|
|
|
|
<link href="/static/assets/fontawesome/css/brands.css" rel="stylesheet" />
|
|
|
|
<link href="/static/assets/fontawesome/css/solid.css" rel="stylesheet" />
|
2024-11-06 17:25:59 +00:00
|
|
|
<script src="/static/assets/flowbite.min.js"></script>
|
2024-08-19 16:05:02 +00:00
|
|
|
<script src="/static/assets/htmx.js" crossorigin="anonymous"></script>
|
|
|
|
<!-- P2P Animation START -->
|
|
|
|
<style>
|
|
|
|
.animation-container {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 25vh;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
text-align: center;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<!-- P2P Animation END -->
|
|
|
|
<!-- Flask and node animation -->
|
|
|
|
<style>
|
|
|
|
.fa-circle-nodes {
|
|
|
|
/* font-size: 100px; /* Adjust the size as needed */
|
|
|
|
animation: rotateCircleNodes 8s linear infinite; /* Slow and fluid rotation */
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotateCircleNodes {
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
100% { transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
/* Animation for the warning box */
|
|
|
|
.fa-flask {
|
|
|
|
/* font-size: 100px; /* Adjust the size as needed */
|
|
|
|
animation: shakeFlask 3s ease-in-out infinite; /* Smooth easing and longer duration for fluidity */
|
|
|
|
transform-origin: bottom center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes shakeFlask {
|
|
|
|
0%, 10% { transform: rotate(0deg); } /* Start and end still */
|
|
|
|
20% { transform: rotate(-10deg); } /* Smooth transition to left */
|
|
|
|
30% { transform: rotate(10deg); } /* Smooth transition to right */
|
|
|
|
40% { transform: rotate(-8deg); } /* Smooth transition to left */
|
|
|
|
50% { transform: rotate(8deg); } /* Smooth transition to right */
|
|
|
|
60% { transform: rotate(-5deg); } /* Smooth transition to left */
|
|
|
|
70% { transform: rotate(5deg); } /* Smooth transition to right */
|
|
|
|
80% { transform: rotate(-2deg); } /* Smooth transition to left */
|
|
|
|
90% { transform: rotate(2deg); } /* Smooth transition to right */
|
|
|
|
100% { transform: rotate(0deg); } /* Return to center */
|
|
|
|
}
|
|
|
|
</style>
|
2024-11-06 17:25:59 +00:00
|
|
|
|
|
|
|
<!-- https://stackoverflow.com/questions/76051980/flowbite-component-not-working-when-loaded-via-htmx-django-project -->
|
|
|
|
<script>
|
|
|
|
htmx.onLoad(function(content) {
|
|
|
|
initFlowbite();
|
|
|
|
})
|
|
|
|
</script>
|
2024-03-27 20:10:58 +00:00
|
|
|
</head>
|