www/src/layouts/page/tea-cli.html

217 lines
7.1 KiB
HTML
Raw Normal View History

{{ define "main" }}
<section class="tea-cli">
2022-10-13 00:13:55 +03:00
<div class="container tea-cli-container">
<div class="row">
2022-10-07 22:17:20 +03:00
<div class="col my-auto">
<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&nbsp;{{- .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
<section class="teal-bg two-boxes">
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">
2022-10-18 21:37:41 +03:00
<h3 class="black text-center">Oh @#$%... the documentation <em>is</em> the script!?"</h3>
2022-10-19 00:07:30 +03:00
<p class="black text-center">tea drinker; re: the <strong>Executable Markdown</strong><sup style="font-size:12px;">TM</sup></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 two-boxes">
2022-10-19 03:08:37 +03:00
<div class="row one-box-down">
2022-10-18 02:29:21 +03:00
<h3>The new foundation of the internet.</h3>
</div>
<div class="row">
2022-10-19 03:08:37 +03:00
<div class="col-xxl-4 col-xl-4 col-lg-6 col-md-6 col-sm-12 col-12 one-box-down">
2022-10-18 02:37:51 +03:00
<h4>teaxyz/cmd</h4>
<p>Homebrew was a massive success for 5 reasons, a big one was “viral contribution” this is a new form of viral contribution. tea is a packaging primitive. We are making it super easy and viral for people to create new tools on top of tea and to satisfy that “I'm a part of this” urge that open source vitality plays up.</p>
2022-10-18 02:29:21 +03:00
</div>
2022-10-19 03:08:37 +03:00
<div class="col-xxl-4 col-xl-4 col-lg-6 col-md-6 col-sm-12 col-12 one-box-down">
2022-10-18 02:37:51 +03:00
<h4>executable markdown</h4>
<p>Markdown has become the ultimate documentation file format (white paper is written in it). Every project has comprehensive readmes. Every dev team documents their internal workspaces with markdown. Were iterating the format by making it able to execute itself.</p>
2022-10-18 02:29:21 +03:00
</div>
2022-10-19 03:08:37 +03:00
<div class="col-xxl-4 col-xl-4 col-lg-6 col-md-6 col-sm-12 col-12 one-box-down">
2022-10-18 02:37:51 +03:00
<h4>universal interpreter</h4>
<p>Making a PM or tool that uses other packages sucks RN. This has led to self contained ecosystems where people make a packaging tool (eg. npm) and then everybody can only use tools within that ecosystem because everything else is too much friction. tea changes this.</p>
2022-10-18 02:29:21 +03:00
</div>
2022-10-19 03:08:37 +03:00
<div class="col-xxl-4 col-xl-4 col-lg-6 col-md-6 col-sm-12 col-12 one-box-down">
2022-10-18 02:37:51 +03:00
<h4>virtual environment</h4>
<p>devshops and open source projects need specific versions of tools and they need the whole team to be on those tools. Currently you either cross your fingers or use Docker. Docker sucks and slows down dev and hinders innovation. Docker is great for deployment but it sucks for dev. tea ensures that checking out a project uses the exact versions of things that project needs whatever platform they are developing on.</p>
2022-10-18 02:29:21 +03:00
</div>
2022-10-19 03:08:37 +03:00
<div class="col-xxl-4 col-xl-4 col-lg-6 col-md-6 col-sm-12 col-12 one-box-down">
2022-10-18 02:37:51 +03:00
<h4>pantries</h4>
2022-10-18 02:29:21 +03:00
<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>
2022-10-19 03:08:37 +03:00
<div class="col-xxl-4 col-xl-4 col-lg-6 col-md-6 col-sm-12 col-12 one-box-down">
<h4>Executable Blog Posts</h4>
<p>Every blog post and tutorial on dev starts with brew install foo in teas future they will instead do sh <(curl tea.xyz) [<http://blog-post.com/article-url/>](<http://blog-post.com/article-url/>) (we will also release web-buttons that activate tea if installed or install it first otherwise).
</p>
2022-10-18 02:29:21 +03:00
</div>
</div>
2022-10-07 20:31:47 +03:00
</div>
</section>
{{ end }}