Slight fixes

This commit is contained in:
Simon Cambier 2023-11-25 12:46:12 +01:00
parent 073c6e402e
commit 74730206bf
4 changed files with 12 additions and 10 deletions

View File

@ -4,9 +4,9 @@
This is a rewrite of https://nopaste.boris.sh/, which is a rewrite of https://topaz.github.io/paste/
[More information on this self-hosted "about" page](https://paste.scambier.xyz/?l=md#G0oEIKySx5UfTkdu1XoEsNFTBka+1+MnKOMEeLUaweWLc/oYlbttJz93QOgIkhdODeUmDs/+u3T5RANkM7+ktGLRxbTN0WIKyb2AWJbsnIoNDvzMtbcgQpsQYPWXPwUeRkuMWOXIEYIfzvnjqY85WNtT9Rjq3Y4/qHB1+mjzCQsTvr9UIfLbq28+i4joe5i/F2SQCTO9G/SlgnojZOKr9BSbIq0EPVBnVgg9T8+zls2Ezgg67tZTjX8pVB70RIghiwfFeqn/ZMQv9VGcbEWDIHnUlL52CL4FeCQ6DMJ4OOtVWk9jWI3i1CRvzxbmHudPlk1iA4pD9wHgOOILFPKQUAntulosi6VRhJ9eeSmViKpbloonQX9cDQVUkg8rzdkoBllTTfnVcYwDRsMS3UjTv/I+befAQeNMiRc7ESFegwUd6yEFPyVJG8RCXcgvw1QfdBe93uXQ9qGBL6BhLpjlpqxjmf9fwkKHFYClXmn7yaZrc/HrW6YH5F6Ei9MGKMvY5be++/noh6TJ5MeGgDzeJgNr0rjvcltZrDRS8wumbWpseMjTY1bz/rp/fJVQxwy/Rd+kXjlGrMJLZsVVwED5b0Jr26wUAm85shUyLX50kklq6ZIRfnzNX4LWrnl72vWR1YaTr/3n+Cp+6IBEliYA)
[More information on this self-hosted "about" page](https://paste.scambier.xyz/?l=md#G1kEQCwPuDPLA5HZei/6YuLXI4CNnhokMPJdPX6CMk6AV6sRXN4KLSpfl7bVV9K+gXfaZ7V2MvAN0QZxE4en1XIehfAI5ZLNUVqTdXzdO/VgUeYHhcd0qVJe7X4xDduM5NzWwDg+EJj3ekXABlhqhM5CK+tLOS3PdcEsjGiTldkr3nCbBOg4yVND30EgE7TqErXwMg+BHW6IFplIC5n+anoPN0ChZlYsmC6kBy3EcBcS2586pAasFog++QYxh3UJ2TIKX7jGA+wD0BVx5amWAyX631A90A6synh4xP8J4euj0JF2uZewQuWgCXjQyWe/7QzxEEba6qG3g2cu9pFaJSXZ3JE+M0qmFl4Vo+sZ+pCB9PNSrY1YLoQZcTVDjpXepdLTN+PUeXgB1jSkV8ONR0GQTdOaozBrzPBaOJNz9rS7kIW9agQr7vEI2Q+WfRQyGjUhgr+V+TtQGILv8Nor7GkbT1yBBmcJkKqGmMBEDfSNzCU56GIHxuKj4vUgJG70sVZnFwVnpfN62HhUa2Gw9hL5CH3ybuCivf6sgNV/tD2NY0G9R7NI+OB85upexroYIJX5l4zDWRyO/9PeJaUB0vZ1Pw5fTiwyrpPHTIoiHVZAqx44zIhpjCS3rWYO+5NuASdaqsc+ZmkLMg==)
## Maximum sizes for links
## Maximum lengths for links
NoPaste is great for sharing code snippets on various platforms.

View File

@ -122,7 +122,7 @@
</button>
<!-- Switch to readonly view -->
<button class="button" on:click={goToPreview}>
<button class="button" on:click={goToPreview} title="Switch to read-only view">
<Icon class="text-xl" icon="fluent:eye-12-regular" />
</button>
</div>

View File

@ -1,15 +1,14 @@
<script>
import { aboutUrl } from '$lib/utils'
</script>
<div
class="flex flex-wrap justify-between items-center px-3 py-1 text-sm w-full z-10 shadow-md gap-2 font-mono bg-gray-700"
>
<div class="flex items-center">
<h1 class="text-xl">Paste</h1>
<h1 class="text-xl"><a href="/editor" title="Create a new note">Paste</a></h1>
<span class="ml-8 text-xs">
<a
href="/?l=md#G44EgKwOeI4yftHdG1GcYD0C2OgpAyPf6/ETlHECvFqN4PKltfWVNNq/dxrd9ewVthcNrRISpdBi1XTRGItQbvfun9ZUSnWU0lQGCcpkEJbBdA0TP9vjSaAFsO2p4LH9Adeibgx4TX7JBFZmhsOj7P6S8zax1FrwAo6ThHI9QsENX5XxzPeWwayeTAn2aH0JfzJBI06twNrEUJCGmyQ/QSTQ7RnOHAcRZsWhKwg8TWX1D6q/JyngVmhCYuxN6kMC+iX1DekfSKS0p+gLeM0nTMX64lnL3WfeDIHcoIFFW7lAc0Dc/G/MpzYT8CznnlTx5xQf/+t7UkXNNrbIqehgqM3BIp/9mypDdR2Zpwexg32yXST1ZrbTPIurASmrD1OYNrYwRJ8BV3e0WqOyQog/U258yp0VYvgQK3OWt4AAgFrTYw27HSWh9LkmD5lAtakv6/n0fj/z+tyTqEaU5PdchoyhVqKyqjEJ2/cXe+kD01BMTd/zor4kfwAE1jaN5RiLwagKFfibyqw1SXed+Ywf1urDGbT92ILFgpZ+4VpQg0yY1RwBbgVZwqmsUFbcfNLLJIticha+GM6vi5k9FHqXND1s57VyV1Q5IhAP4zRimzipR2rEkKpHjeRpAoJIa0qLaLkNfN8HgcCA0gec+bDZ206cfvqtdJqnkvNWhsTFGQw="
target="_blank"
>
About
</a>
<a href={aboutUrl}>About</a>
<a class="ml-4" href="https://git.scambier.xyz/scambier/paste" target="_blank">Source</a>
</span>
</div>

View File

@ -36,3 +36,6 @@ export const byId = (id: string) => document.getElementById(id)
export const staticMetaDescription =
'Paste is a client-side paste service with no database, and no back-end code. The data is stored entirely in the shared link'
export const aboutUrl =
'/?l=md#G1kEQCwPuDPLA5HZei/6YuLXI4CNnhokMPJdPX6CMk6AV6sRXN4KLSpfl7bVV9K+gXfaZ7V2MvAN0QZxE4en1XIehfAI5ZLNUVqTdXzdO/VgUeYHhcd0qVJe7X4xDduM5NzWwDg+EJj3ekXABlhqhM5CK+tLOS3PdcEsjGiTldkr3nCbBOg4yVND30EgE7TqErXwMg+BHW6IFplIC5n+anoPN0ChZlYsmC6kBy3EcBcS2586pAasFog++QYxh3UJ2TIKX7jGA+wD0BVx5amWAyX631A90A6synh4xP8J4euj0JF2uZewQuWgCXjQyWe/7QzxEEba6qG3g2cu9pFaJSXZ3JE+M0qmFl4Vo+sZ+pCB9PNSrY1YLoQZcTVDjpXepdLTN+PUeXgB1jSkV8ONR0GQTdOaozBrzPBaOJNz9rS7kIW9agQr7vEI2Q+WfRQyGjUhgr+V+TtQGILv8Nor7GkbT1yBBmcJkKqGmMBEDfSNzCU56GIHxuKj4vUgJG70sVZnFwVnpfN62HhUa2Gw9hL5CH3ybuCivf6sgNV/tD2NY0G9R7NI+OB85upexroYIJX5l4zDWRyO/9PeJaUB0vZ1Pw5fTiwyrpPHTIoiHVZAqx44zIhpjCS3rWYO+5NuASdaqsc+ZmkLMg=='