2022-06-08 02:18:10 +03:00
{{ define "main" }}
<!-- Hero Section -->
2022-10-13 23:55:46 +03:00
< div class = "section" >
< div class = "container" >
< div class = "row" >
< div class = "col" >
< h1 > White Paper< / h1 >
< p > Open‐ source is about the many coming together to create something great. In the spirit of that, we’ re inviting developers, speculators, and enthusiasts alike to contribute to our white paper and help brew the future of the internet. This is our revolutionary undertaking to create equitable open‐ source for web3, and we want you to be a part of laying its groundwork.< / p >
< / div >
< / div >
2022-09-09 17:26:55 +03:00
< div class = "row" >
2022-09-09 18:04:36 +03:00
< div class = "col mb-4 mt-3" >
< h4 > Our white paper is available in multiple languages< / h4 >
2022-09-09 20:26:15 +03:00
< p > Thanks to the tea community's generosity and time, our white paper is available in several world languages. Select your preferred language from the dropdown menu.< / p >
2022-09-09 18:04:36 +03:00
< div class = "dropdown" >
< button class = "btn btn-secondary dropdown-toggle languages" type = "button" data-bs-toggle = "dropdown" aria-expanded = "false" >
Choose a Language
< / button >
2022-09-13 01:32:41 +03:00
< ul class = "dropdown-menu" id = "language-selector" > < / ul >
2022-09-09 18:04:36 +03:00
< / div >
2022-09-09 17:26:55 +03:00
< / div >
2022-09-13 01:32:41 +03:00
< / div >
2022-10-13 23:55:46 +03:00
< / div >
< / div >
{{- partial "full-width-cta-split.html" -}}
2022-06-08 02:18:10 +03:00
2022-09-13 01:32:41 +03:00
< script >
const versions = [
['English', ''],
2022-09-21 23:14:30 +03:00
['Bahasa Indonesia', '_id'],
['беларускі', '_be'],
2022-10-04 21:43:56 +03:00
['български', '_bg'],
2022-10-07 18:03:15 +03:00
['Deutsch', '_de'],
2022-10-04 21:43:56 +03:00
['Русский', '_ru'],
['українська', '_uk'],
2022-10-07 18:03:15 +03:00
['官话', '_zh']
2022-09-13 01:32:41 +03:00
];
document.addEventListener('DOMContentLoaded', function () {
for (const lang of versions) {
$('#language-selector').append("< li > < a class = \"dropdown-item\" onclick = \"go(\'" + lang [ 1 ] + " ' ) \ " > " + lang[0] + "< / a > < / li > ");
}
}, false);
function go(suffix) {
const url = 'https://tea.xyz/tea.white-paper' + suffix + '.pdf';
document.getElementById('wp-iframe').setAttribute('src', url + '#toolbar=0&navpanes=0&view=fitH');
document.getElementById('mobile-wp-download').setAttribute('href', url);
}
< / script >
2022-09-09 19:56:50 +03:00
2022-09-09 18:04:36 +03:00
< style >
.languages{
border: 2px solid white;
border-radius: 30px;
width:240px;
background-color:#1C1E21;
}
.languages:hover{
background-color:#23282c;
}
.languages:focus{
background-color:#1C1E21;
}
.dropdown-menu{
width:240px;
background-color:#23282c;
color:white;
}
.dropdown-item{
color:white;
}
.dropdown-item:hover{
background-color: #54BAAB;
}
< / style >
2022-10-13 23:41:38 +03:00
<!-- Start PDF
2022-06-08 02:18:10 +03:00
< div class = "container pdf-iframe"
style="margin-bottom:100px; overflow:auto; -webkit-overflow-scrolling:touch; z-index:2;">
2022-09-09 19:56:50 +03:00
< iframe id = "wp-iframe" src = "https://tea.xyz/tea.white-paper.pdf#toolbar=0&navpanes=0&view=fitH" width = "100%" height = "800px" >
2022-06-08 02:18:10 +03:00
< / iframe >
< / div >
< div class = "container mobile-pdf" style = "margin-bottom:100px;" >
< div class = "row" >
< div class = "col" >
< div class = "card" >
< div style = "display:flex; flex-direction:column; background-color:#23282C;" class = "card-body pt-5 pb-5" >
< div style = "margin-top:auto; margin-bottom:auto;" >
< p class = "text-center" > Mobile browsers can be finicky, so please view our white paper via the button
below.< / p >
2022-09-09 20:26:15 +03:00
< a id = "mobile-wp-download" style = "display:block; margin-left:auto; margin-right:auto;" class = "btn btn-primary mb-3"
2022-06-08 02:18:10 +03:00
href="https://tea.xyz/tea.white-paper.pdf" role="button">Download our White Paper< / a >
< / div >
< / div >
< / div >
< / div >
< / div >
2022-10-13 23:41:38 +03:00
< / div > -->
2022-06-08 02:18:10 +03:00
{{ end }}