This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
const isClicked = ref(false)
|
const isClicked = ref(false)
|
||||||
const copyToClipBoard = () => {
|
const copyToClipBoard = () => {
|
||||||
navigator.clipboard
|
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(() => {
|
.then(() => {
|
||||||
isClicked.value = true
|
isClicked.value = true
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@@ -15,8 +15,9 @@ const copyToClipBoard = () => {
|
|||||||
<template>
|
<template>
|
||||||
<section class="py-4 sm:flex justify-center items-center">
|
<section class="py-4 sm:flex justify-center items-center">
|
||||||
<div
|
<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">
|
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="select-all"> curl -L https://raw.githubusercontent.com/docker-web/docker-web/master/install.sh | sudo
|
<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>
|
bash </span>
|
||||||
<SvgClipboard class="bg-red ml-4 cursor-pointer" :class="{ 'animate-ping': isClicked }"
|
<SvgClipboard class="bg-red ml-4 cursor-pointer" :class="{ 'animate-ping': isClicked }"
|
||||||
@click="copyToClipBoard" />
|
@click="copyToClipBoard" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<svg class="MuiBox-root css-15p9n5u" fill="#ffffff" data-darkreader-inline-fill="" version="1.1"
|
<svg class="MuiBox-root css-15p9n5u mt-4" fill="#ffffff" data-darkreader-inline-fill="" version="1.1"
|
||||||
viewBox="0 0 195 194.57" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#"
|
viewBox="0 0 195 194.57" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#"
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||||
<g transform="translate(16.659 8.322)">
|
<g transform="translate(16.659 8.322)">
|
||||||
|
|||||||
Reference in New Issue
Block a user