mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:35:06 +03:00
Merge branch 'main' into link-to-package-yml
This commit is contained in:
commit
bca44c97fa
7 changed files with 217 additions and 15 deletions
8
.github/build-package-pages.sh
vendored
8
.github/build-package-pages.sh
vendored
|
@ -6,14 +6,16 @@ for row in $(jq -r '.[] | @base64' < "$1"); do
|
|||
_jq() {
|
||||
echo "${row}" | base64 --decode | jq -r "${1}"
|
||||
}
|
||||
full_name=$(_jq '.full_name')
|
||||
full_name=$(_jq '.full_name' | sed 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/')
|
||||
|
||||
if [[ "$full_name" == *\/* ]] || [[ "$full_name" == *\\* ]]
|
||||
then
|
||||
mkdir -p "$2/+$full_name"
|
||||
# remove last folder
|
||||
rm -rf "$2/+$full_name"
|
||||
fi
|
||||
touch "$2"/"+$(_jq '.full_name')".md
|
||||
|
||||
touch "$2"/"+$full_name".md
|
||||
content="---
|
||||
type: page
|
||||
title: \"$(_jq '.name')\"
|
||||
|
@ -21,5 +23,5 @@ maintainer: \"$(_jq '.maintainer')\"
|
|||
Description: \"$(_jq '.desc' | tr '\"' "'")\"
|
||||
layout: \"package-detail\"
|
||||
---"
|
||||
echo "$content" > "$2"/"+$(_jq '.full_name')".md
|
||||
echo "$content" > "$2"/"+$full_name".md
|
||||
done
|
|
@ -8,14 +8,15 @@
|
|||
<div class="container hero-container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1 class="impact" style="z-index:3; position: relative;">Keep <span class="white">what</span><br><span class="hero-float" style="float:right;"><span class="white">is</span> yours.</span></h1>
|
||||
<h1 class="impact" style="z-index:3; position: relative;">TEA <span class="white">CLI</span><br><span class="hero-float" style="float:right;"><span class="white">is</span> HERE.</span></h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
|
||||
<div class="lead-text-container animated-25 animatedFadeInUp fadeInUp black-bg p-4" style="z-index:3; position: relative;">
|
||||
<p class="lead" style="margin-bottom: 0px;">The open-source revolution is here. We’re calling on all devs to build with our powerful, new unified package manager.</p>
|
||||
<p class="lead" style="margin-bottom: 0px;"><a href="https://github.com/teaxyz/cli">Visit GitHub</a> to check out our README, and ⭐ the repository. You can install tea by running the one‐liner in your terminal.</p>
|
||||
</div>
|
||||
{{- partial "purple-btn-large.html" -}}
|
||||
<img class="mobile-grid-element mt-5" src="/Images/mobile-grid-element-3-rows.svg" alt="grid">
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
width:57vw;
|
||||
height: 19.3vw;
|
||||
left: 6.8vw;
|
||||
margin-top:164vw;
|
||||
margin-top:173vw;
|
||||
z-index: 1;
|
||||
background-image: url("/Images/gen-art/orange-pattern.jpg");
|
||||
background-position: center;
|
||||
|
@ -18,7 +18,7 @@
|
|||
width:36vw;
|
||||
height: 19.3vw;
|
||||
right: 6.8vw;
|
||||
margin-top:154vw;
|
||||
margin-top:183vw;
|
||||
z-index: 3;
|
||||
background-image: url("/Images/gen-art/gen-art-_0010_DALL·E 2022-09-01 10.48.33 - bright blue and green _It’s time we stop robbing Peter to pay Mark and Jeff._.jpg");
|
||||
background-position: center;
|
||||
|
@ -32,7 +32,7 @@
|
|||
height: 18vw;
|
||||
border-radius:200px;
|
||||
right: 40vw;
|
||||
margin-top:167vw;
|
||||
margin-top:170vw;
|
||||
z-index: 3;
|
||||
background-image: url("/Images/gen-art/gen-art-_0002_DALL·E 2022-09-01 09.50.45 - rainbow oil spill on pavement.png.jpg");
|
||||
background-position: center;
|
||||
|
@ -46,7 +46,7 @@
|
|||
width:36vw;
|
||||
height: 12vw;
|
||||
right: 50vw;
|
||||
margin-top:180vw;
|
||||
margin-top:190vw;
|
||||
z-index: 2;
|
||||
background-image: url("/Images/gen-art/gen-art-_0011_DALL·E 2022-09-01 10.52.27 - neon pink colored subway wall painted in the style of keith haring.png.jpg");
|
||||
background-position: center;
|
||||
|
@ -100,6 +100,7 @@
|
|||
|
||||
</style>
|
||||
|
||||
|
||||
<div class="gen-art-mobile animated-25 animatedFadeInUp fadeInUp" id="m-home-gen-art-1"></div>
|
||||
<div class="gen-art-mobile animated-5 animatedFadeInUp fadeInUp" id="m-home-gen-art-2"></div>
|
||||
<div class="gen-art-mobile" id="m-home-gen-art-3"></div>
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
<span class="package-install-no">>{{- .installs -}} installs</span> -->
|
||||
</p>
|
||||
</div>
|
||||
<a href="/+{{- .full_name -}}/">
|
||||
<a href="/+{{- lower .full_name -}}/">
|
||||
{{- partial "detail-btn.html" . -}}
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body thumbnail-body-mobile">
|
||||
<a href="/+{{- .full_name -}}/">
|
||||
<a href="/+{{- lower .full_name -}}/">
|
||||
<button class="detail-btn-mobile"><i class="icon-enter-arrow"></i>details</button>
|
||||
</a>
|
||||
</div>
|
||||
|
|
198
src/layouts/partials/purple-btn-large.html
Normal file
198
src/layouts/partials/purple-btn-large.html
Normal file
|
@ -0,0 +1,198 @@
|
|||
<a href="https://github.com/teaxyz/cli">
|
||||
<button class="purple-btn-large"><i class="icon-enter-arrow"></i>VISIT GITHUB</button>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
|
||||
/* Detail Button - Large */
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
|
||||
.purple-btn-large{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
font-size: 16px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: #fff;
|
||||
padding-top: 0.279vw;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
width: 20.925vw;
|
||||
height: 4.185vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover{
|
||||
background-color: #8000ff;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.335vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
/* Icon Styling */
|
||||
|
||||
.purple-btn-large .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-right: 0.558vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
transform: rotate(-45deg) !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
||||
|
||||
.purple-btn-large{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
font-size: 16px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: #fff;
|
||||
padding-top: 0.279vw;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
width: 30vw;
|
||||
height: 5vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
margin-bottom: 1vw;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover{
|
||||
background-color: #8000ff;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.335vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
/* Icon Styling */
|
||||
|
||||
.purple-btn-large .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-right: 0.558vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
transform: rotate(-45deg) !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
||||
|
||||
.purple-btn-large{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
font-size: 14px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: #fff;
|
||||
padding-top: 0.279vw;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
width: 30vw;
|
||||
height: 5.141vw;
|
||||
margin-bottom: 1vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover{
|
||||
box-shadow: inset 0vw 0vw 0vw 0.335vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
/* Icon Styling */
|
||||
|
||||
.purple-btn-large .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-right: 0.558vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
transform: rotate(-45deg) !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
||||
|
||||
.purple-btn-large{
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
font-size: 14px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: #fff;
|
||||
padding-top: 0.279vw;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
width: 33.85vw;
|
||||
height: 6.77vw;
|
||||
margin-bottom: 2.5vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover{
|
||||
background-color: #8000ff;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.335vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
/* Icon Styling */
|
||||
|
||||
.purple-btn-large .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-right: 0.558vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
transform: rotate(-45deg) !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
||||
.purple-btn-large{
|
||||
display:inline-block;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
font-size: 3vw;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: #fff;
|
||||
padding-top: 0.279vw;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
width: 100%;
|
||||
height: 14vw;
|
||||
margin-top: 5vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover{
|
||||
background-color: #8000ff;
|
||||
box-shadow: inset 0vw 0vw 0vw 1.25vw #1a1a1a !important;
|
||||
}
|
||||
|
||||
/* Icon Styling */
|
||||
|
||||
.purple-btn-large .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-right: 2vw;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.purple-btn-large:hover .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
transform: rotate(-45deg) !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
Binary file not shown.
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 407 KiB |
|
@ -247,7 +247,7 @@ mark{
|
|||
align-items: center;
|
||||
height: 15vw;
|
||||
margin-top: 0.4vw;
|
||||
margin-bottom: 1vw;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.package_before{
|
||||
|
@ -303,7 +303,7 @@ mark{
|
|||
align-items: center;
|
||||
height: 15vw;
|
||||
margin-top: 1.1vw;
|
||||
margin-bottom: 1vw;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.package_before{
|
||||
|
@ -358,8 +358,8 @@ mark{
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 20.2vw;
|
||||
margin-top: 1.3vw;
|
||||
margin-bottom: 2.5vw;
|
||||
margin-top: .5vw;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.metric-block{
|
||||
|
|
Loading…
Reference in a new issue