one line cmd
All checks were successful
Deploy App / deploy (push) Successful in 16s

This commit is contained in:
valere
2025-10-22 22:56:14 +02:00
parent 3038bb7a14
commit 298a7645e3
2 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
const isClicked = ref(false)
const copyToClipBoard = () => {
navigator.clipboard
.writeText('curl -sL getdweb.valere.dev | sudo bash')
.writeText('curl -sL https://raw.githubusercontent.com/docker-web/docker-web/master/install.sh | sudo bash')
.then(() => {
isClicked.value = true
setTimeout(() => {
@@ -15,8 +15,9 @@ const copyToClipBoard = () => {
<template>
<section class="py-4 sm:flex justify-center items-center">
<div
class="font-mono bg-neutral-900 text-neutral-50 rounded-xl flex justify-between items-center p-4 border border-transparent text-base shadow-primary-700 relative">
<span class="select-all"> curl -L https://raw.githubusercontent.com/docker-web/docker-web/master/install.sh | sudo
class="overflow-hidden font-mono bg-neutral-900 text-neutral-50 rounded-xl flex justify-between items-center p-4 border border-transparent text-base shadow-primary-700 relative">
<span class="max-w-72 whitespace-nowrap overflow-hidden select-all"> curl -L
https://raw.githubusercontent.com/docker-web/docker-web/master/install.sh | sudo
bash </span>
<SvgClipboard class="bg-red ml-4 cursor-pointer" :class="{ 'animate-ping': isClicked }"
@click="copyToClipBoard" />