2022-10-07 19:51:47 +03:00
{{ define "main" }}
< section class = "tea-cli" >
2022-10-13 00:13:55 +03:00
< div class = "container tea-cli-container" >
2022-10-07 19:51:47 +03:00
< div class = "row" >
2022-10-07 22:17:20 +03:00
< div class = "col my-auto" >
2022-10-07 19:51:47 +03:00
< h1 > TEA CLI< / h1 >
< p class = "lead" > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.< / p >
< / div >
< / div >
< / div >
< / section >
2022-10-17 18:57:23 +03:00
< hr >
2022-10-18 00:16:50 +03:00
< div class = "row button-container" >
< input class = "one-liner" type = "text" value = "$ sh <(curl tea.xyz) install {{- .Title -}}" id = "myInput" readonly >
2022-10-17 18:57:23 +03:00
2022-10-18 00:16:50 +03:00
<!-- The button used to copy the text -->
2022-10-18 01:51:50 +03:00
< button class = "clipboard-copy" onclick = "myFunction()" data-bs-toggle = "modal" data-bs-target = "#exampleModal" > < i class = "icon-clipboard" > < / i > < / button >
2022-10-18 00:16:50 +03:00
< / div >
< hr >
2022-10-17 18:57:23 +03:00
2022-10-18 01:51:50 +03:00
{{- partial "clipboard-modal.html" -}}
2022-10-17 18:57:23 +03:00
< style >
2022-10-18 00:37:39 +03:00
@media only screen and (min-width: 768px) {
2022-10-18 00:16:50 +03:00
.one-liner{
width: 85%;
2022-10-18 00:37:39 +03:00
padding: 2.455vw 4.185vw;
2022-10-18 00:16:50 +03:00
border-radius: 0px;
border: none;
background-color: #1a1a1a !important;
font-family: "pp-neue-machina";
color:#4d4d4d;
2022-10-18 00:37:39 +03:00
font-size: 2vw;
2022-10-18 00:16:50 +03:00
border-left: 2px solid #949494;
border-right: 2px solid #949494;
}
.one-liner:focus{
border:none;
outline: none;
border-left: 2px solid #949494;
border-right: 2px solid #949494;
}
.clipboard-copy{
height: 8.371vw;
width: 14%;
font-family: "pp-neue-machina";
color:#4d4d4d;
font-size: 2.1vw;
float:right;
background-color: #1a1a1a !important;
border: none;
border-right: 2px solid #949494;
transition: 0.2s linear;
}
.clipboard-copy:hover{
background-color: #00ffd0 !important;
color: #1a1a1a !important;
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
}
}
@media only screen and (min-width: 576px) and (max-width: 768px) {
.one-liner{
width: 85%;
2022-10-18 00:37:39 +03:00
padding: 5vw 4vw;
2022-10-18 00:16:50 +03:00
border-radius: 0px;
border: none;
background-color: #1a1a1a !important;
font-family: "pp-neue-machina";
color:#4d4d4d;
2022-10-18 00:37:39 +03:00
font-size: 3.5vw;
2022-10-18 00:16:50 +03:00
border-left: 2px solid #949494;
border-right: 2px solid #949494;
}
.one-liner:focus{
border:none;
outline: none;
border-left: 2px solid #949494;
border-right: 2px solid #949494;
}
.clipboard-copy{
2022-10-18 00:37:39 +03:00
padding: 5vw 4vw;
2022-10-18 00:16:50 +03:00
width: 14%;
font-family: "pp-neue-machina";
color:#4d4d4d;
2022-10-18 00:37:39 +03:00
font-size: 3.5vw;
2022-10-18 00:16:50 +03:00
float:right;
background-color: #1a1a1a !important;
border: none;
border-right: 2px solid #949494;
transition: 0.2s linear;
}
.clipboard-copy:hover{
background-color: #00ffd0 !important;
color: #1a1a1a !important;
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
}
2022-10-17 18:57:23 +03:00
}
2022-10-18 00:16:50 +03:00
@media only screen and (max-width: 576px) {
.one-liner{
2022-10-18 00:37:39 +03:00
width: 100%;
padding: 7.5vw 7.5vw !important;
2022-10-18 00:16:50 +03:00
border-radius: 0px;
border: none;
background-color: #1a1a1a !important;
font-family: "pp-neue-machina";
color:#4d4d4d;
2022-10-18 00:37:39 +03:00
text-align: center !important;
font-size: 4vw;
2022-10-18 00:16:50 +03:00
border-left: 2px solid #949494;
border-right: 2px solid #949494;
}
.one-liner:focus{
border:none;
outline: none;
border-left: 2px solid #949494;
border-right: 2px solid #949494;
}
.clipboard-copy{
2022-10-18 00:37:39 +03:00
display: none;
2022-10-18 00:16:50 +03:00
}
2022-10-17 18:57:23 +03:00
}
< / style >
< script >
2022-10-18 00:16:50 +03:00
2022-10-17 18:57:23 +03:00
function myFunction() {
// Get the text field
var copyText = document.getElementById("myInput");
// Select the text field
copyText.select();
copyText.setSelectionRange(0, 99999); // For mobile devices
// Copy the text inside the text field
navigator.clipboard.writeText(copyText.value);
2022-10-18 01:51:50 +03:00
/* Alert the copied text
alert("Copied " + copyText.value + " to clipboard");*/
2022-10-17 18:57:23 +03:00
}
2022-10-18 00:16:50 +03:00
2022-10-17 18:57:23 +03:00
< / script >
2022-10-07 22:17:20 +03:00
2022-10-07 20:31:47 +03:00
< section class = "teal-bg" >
2022-10-13 00:13:55 +03:00
< div class = "container tea-cli-container" >
2022-10-07 20:31:47 +03:00
< div class = "row" >
< div class = "col" >
< p class = "black text-center" > TOTAL DOWNLOADS< / p >
2022-10-07 20:54:44 +03:00
< p class = "black text-center tea-cli-data" > < span id = "tea-cli-downloads" > 612,085< / span > < / p >
2022-10-07 20:31:47 +03:00
< / div >
< div class = "col" >
2022-10-07 20:54:44 +03:00
< p class = "black text-center" > FOR THIS VERSION< / p >
< p class = "black text-center tea-cli-data" > < span id = "tea-cli-ver-downloads" > 612,085< / span > < / p >
2022-10-07 20:31:47 +03:00
< / div >
< / div >
< / div >
< / section >
2022-10-07 20:54:44 +03:00
< style >
.tea-cli-data{
font-size: 6.138vw;
font-family: "pp-neue-machina";
}
< / style >
2022-10-07 20:31:47 +03:00
< section >
< div class = "container" >
2022-10-18 02:29:21 +03:00
< div class = "row" >
< h3 > The new foundation of the internet.< / h3 >
< / div >
< div class = "row" >
< div class = "col" >
< h4 > Lorem ipsum dolor sit amet.< / h4 >
< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.< / p >
< / div >
< div class = "col" >
< h4 > Lorem ipsum dolor sit amet.< / h4 >
< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.< / p >
< / div >
< div class = "col" >
< h4 > Lorem ipsum dolor sit amet.< / h4 >
< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.< / p >
< / div >
< / div >
< div class = "row" >
< div class = "col" >
< h4 > Lorem ipsum dolor sit amet.< / h4 >
< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.< / p >
< / div >
< div class = "col" >
< h4 > Lorem ipsum dolor sit amet.< / h4 >
< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.< / p >
< / div >
< div class = "col" >
< h4 > Lorem ipsum dolor sit amet.< / h4 >
< p > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.< / p >
< / div >
< / div >
2022-10-07 20:31:47 +03:00
< / div >
< / section >
2022-10-07 19:51:47 +03:00
{{ end }}