Fixed service link copy buttons and updated the version

This commit is contained in:
ngn 2024-02-04 22:44:36 +03:00
parent eb97ceaef1
commit f34da81b7e
6 changed files with 9 additions and 1029 deletions

View File

@ -1,6 +1,6 @@
{
"name": "website",
"version": "4.0.0",
"version": "4.4.0",
"private": true,
"scripts": {
"dev": "vite dev",

View File

@ -24,7 +24,7 @@
<p>{desc}</p>
</div>
<div>
<a on:click={copy} href="#">{@html icon}</a>
<button on:click={copy}>{@html icon}</button>
<a href="{url}"><i class="nf nf-oct-link_external"></i></a>
</div>
</main>
@ -57,15 +57,18 @@ div p {
font-size: 20px;
}
a {
a, button {
text-align: center;
font-size: 30px;
text-decoration: none;
color: white;
border: none;
background: none;
outline: none;
cursor: pointer;
}
a:hover {
a:hover, button:hover{
animation-name: colorAnimation;
animation-duration: 5s;
animation-iteration-count: infinite;

View File

@ -93,7 +93,7 @@
</main>
<div class="version">
<p>v4.3</p>
<p>v4.4</p>
</div>
<style>

View File

@ -96,6 +96,7 @@
<meta content="{data.content.substring(0, 100)}..." property="og:description" />
<meta content="https://ngn.tf" property="og:url" />
<meta content="#000000" data-react-helmet="true" name="theme-color" />
<link href="https://files.ngn.tf/markdown.css" rel="stylesheet">
</svelte:head>
<Header>

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,4 @@
@import "./font.css";
@import "./github.css";
:root {
--white: white;