add promo video to hero and reorganize reviews (#36)

* add promo video to hero and reorganize reviews

* update video link

* update video link
This commit is contained in:
Lucy
2024-01-22 09:50:39 -05:00
committed by GitHub
parent cb98387754
commit 689b4ea233
8 changed files with 182 additions and 142 deletions

View File

@@ -4,6 +4,12 @@
<span>sovereign computing</span> <span>sovereign computing</span>
</div> </div>
</section> </section>
<section id="reviews"> <div class="video-container">
<div id= "ap-widget-1" class="ap-widget--carousel" data-options='{"prod_code": "startos", "show": "top" , "theme": "dark", "template_id": "carousel", "text_color": "#F5F5F5" , "bg_color": "transparent" }'></div> <div class="video-wrapper">
</section> <iframe src="https://www.youtube.com/embed/52XMf_NabFA?si=aIlLu0puOOY2_r0b" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
<div class="ratings">
<div id= "ap-widget-2" class="ap-widget--mini" data-options='{"prod_code": "startos", "theme": "dark", "template_id": "mini", "text_color": "#F5F5F5" , "bg_color": "transparent" }'></div>
</div>

View File

@@ -1,9 +1,9 @@
<section id="powered-by"> <section id="powered-by">
<img class="logo" src="/assets/images/logomark.png" alt="Logomark"> <img class="logo" src="/assets/images/logomark.png" alt="Logomark">
<h1>Powered by StartOS</h1> <h1>Powered by StartOS</h1>
<div class="ratings"> <section id="reviews">
<div id= "ap-widget-2" class="ap-widget--mini" data-options='{"prod_code": "startos", "theme": "dark", "template_id": "mini", "text_color": "#F5F5F5" , "bg_color": "transparent" }'></div> <div id= "ap-widget-1" class="ap-widget--carousel" data-options='{"prod_code": "startos", "show": "top" , "theme": "dark", "template_id": "carousel", "text_color": "#F5F5F5" , "bg_color": "transparent" }'></div>
</div> </section>
<p>Just as Windows and macOS made it possible for anyone to own a personal computer, StartOS makes it possible for anyone to own a personal server.</p> <p>Just as Windows and macOS made it possible for anyone to own a personal computer, StartOS makes it possible for anyone to own a personal server.</p>
<p>StartOS facilitates the entire process of discovering, installing, configuring, and using any variety of open-source software from anywhere in the world without trusting anyone.</p> <p>StartOS facilitates the entire process of discovering, installing, configuring, and using any variety of open-source software from anywhere in the world without trusting anyone.</p>
<p> <p>

View File

@@ -1,17 +1,17 @@
@use 'pitch'; @use "pitch";
@use 'products'; @use "products";
@use 'infographics'; @use "infographics";
@use 'bitcoin'; @use "bitcoin";
@use 'be-your-own'; @use "be-your-own";
@use 'powered-by'; @use "powered-by";
@use 'support'; @use "support";
@use 'dev'; @use "dev";
@use 'community'; @use "community";
body { body {
margin: 0; margin: 0;
background: linear-gradient(0deg, var(--c-bkg), var(--c-bkg)), url("/assets/images/bkg.jpg"); background: linear-gradient(0deg, var(--c-bkg), var(--c-bkg)),
url("/assets/images/bkg.jpg");
background-blend-mode: color, normal; background-blend-mode: color, normal;
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
@@ -19,29 +19,29 @@ body {
} }
@supports (-webkit-touch-callout: none) { @supports (-webkit-touch-callout: none) {
/* CSS specific to iOS devices */ /* CSS specific to iOS devices */
body{ body {
background: none; background: none;
position: relative; position: relative;
} }
body::after{ body::after {
content:''; content: "";
position: fixed; position: fixed;
z-index: -1; z-index: -1;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
top:0; top: 0;
left: 0; left: 0;
background: linear-gradient(0deg, var(--c-bkg), var(--c-bkg)), url("/assets/images/bkg.jpg"); background: linear-gradient(0deg, var(--c-bkg), var(--c-bkg)),
url("/assets/images/bkg.jpg");
background-blend-mode: color, normal; background-blend-mode: color, normal;
background-size: auto 100vh; background-size: auto 100vh;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
} }
main { main {
display:flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
@@ -52,25 +52,25 @@ section {
// padding: 0 var(--section-padding); // padding: 0 var(--section-padding);
} }
.subsection{ .subsection {
} }
.line { .line {
padding: 1.8rem 0 1.4rem 0; // padding: 1.8rem 0 1.4rem 0;
padding: 4rem 0 3.8rem 0;
} }
.line-primary path{ .line-primary path {
stroke: var(--c-line-primary); stroke: var(--c-line-primary);
stroke-width: 1px; stroke-width: 1px;
vector-effect: non-scaling-stroke; vector-effect: non-scaling-stroke;
} }
.svg-primary{ .svg-primary {
fill: var(--c-text-primary); fill: var(--c-text-primary);
} }
.svg-secondary{ .svg-secondary {
fill: var(--c-bkg); fill: var(--c-bkg);
} }
@@ -78,26 +78,27 @@ section {
box-shadow: var(--c-shadow-1) 0 3rem 3rem; box-shadow: var(--c-shadow-1) 0 3rem 3rem;
} }
.section--inverse{ .section--inverse {
background-color: var(--c-bkg-light-fade2); background-color: var(--c-bkg-light-fade2);
backdrop-filter: blur(1rem); backdrop-filter: blur(1rem);
h1, p { h1,
p {
color: var(--c-bkg); color: var(--c-bkg);
} }
.svg-primary{ .svg-primary {
fill: var(--c-bkg); fill: var(--c-bkg);
} }
.svg-secondary{ .svg-secondary {
fill: var(--c-text-primary); fill: var(--c-text-primary);
} }
} }
.section--subtle{ .section--subtle {
background-color: var(--c-bkg-dark-fade2); background-color: var(--c-bkg-dark-fade2);
backdrop-filter: blur(1rem); backdrop-filter: blur(1rem);
} }
.line svg{ .line svg {
width: calc(100vw - (2 * 6rem)); width: calc(100vw - (2 * 6rem));
max-width: 40vw; max-width: 40vw;
max-height: 40vh; max-height: 40vh;
@@ -122,7 +123,7 @@ nav {
padding-top: 1rem; padding-top: 1rem;
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; font-weight: 400;
letter-spacing: .1ch; letter-spacing: 0.1ch;
} }
@keyframes fadeIn { @keyframes fadeIn {
0% { 0% {
@@ -134,24 +135,44 @@ nav {
} }
} }
@keyframes fadeIn { @keyframes fadeIn {
0% { opacity: 0; } 0% {
100% { opacity: 1; } opacity: 0;
}
100% {
opacity: 1;
}
} }
@-moz-keyframes fadeIn { @-moz-keyframes fadeIn {
0% { opacity: 0; } 0% {
100% { opacity: 1; } opacity: 0;
}
100% {
opacity: 1;
}
} }
@-webkit-keyframes fadeIn { @-webkit-keyframes fadeIn {
0% { opacity: 0; } 0% {
100% { opacity: 1; } opacity: 0;
}
100% {
opacity: 1;
}
} }
@-o-keyframes fadeIn { @-o-keyframes fadeIn {
0% { opacity: 0; } 0% {
100% { opacity: 1; } opacity: 0;
}
100% {
opacity: 1;
}
} }
@-ms-keyframes fadeIn { @-ms-keyframes fadeIn {
0% { opacity: 0; } 0% {
100% { opacity: 1; } opacity: 0;
}
100% {
opacity: 1;
}
} }
} }
@@ -166,7 +187,7 @@ nav {
h1 { h1 {
font-family: var(--f-hero); font-family: var(--f-hero);
font-size: min(3.8rem,171px); font-size: min(3.8rem, 171px);
//text-transform: uppercase; //text-transform: uppercase;
line-height: 1; line-height: 1;
font-weight: 400; font-weight: 400;
@@ -245,12 +266,12 @@ a.btn {
box-shadow: 0 1rem 1rem -0.5rem var(--c-shadow-3); box-shadow: 0 1rem 1rem -0.5rem var(--c-shadow-3);
border-radius: 34px; border-radius: 34px;
&:hover{ &:hover {
transform: scale(1.03); transform: scale(1.03);
filter: brightness(120%); filter: brightness(120%);
} }
&.btn--subtle{ &.btn--subtle {
color: var(--c-gray3); color: var(--c-gray3);
font-size: 1.2rem; font-size: 1.2rem;
&::before { &::before {
@@ -307,21 +328,26 @@ a.btn {
} }
// flipping some lines horizontally // flipping some lines horizontally
#bitcoin-to-be, #be-to-powered, #powered-to-support, #support-to-dev { #bitcoin-to-be,
#be-to-powered,
#powered-to-support,
#support-to-dev {
transform: scaleX(-1); transform: scaleX(-1);
} }
section#reviews { section#reviews {
padding: 2.5rem 0 1rem 0;
overflow: visible; overflow: visible;
z-index: 6; z-index: 6;
position: relative; position: relative;
width: 90vw; width: 90vw;
p { p {
font-size: 0.9rem; font-size: 0.9rem;
} }
.ap-widget__rev-stars, .ap-widget--carousel__first-row img { .ap-widget__rev-stars,
.ap-widget--carousel__first-row img {
display: unset; display: unset;
width: auto; width: auto;
} }
@@ -334,6 +360,7 @@ section#reviews {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: start;
margin: 0 !important; margin: 0 !important;
padding: 0 !important; padding: 0 !important;
@@ -343,12 +370,13 @@ section#reviews {
} }
} }
.ap-widget__author, .ap-widget__prod-rating-text--carousel { .ap-widget__author,
.ap-widget__prod-rating-text--carousel {
font-size: 0.7rem; font-size: 0.7rem;
color: var(--c-gray3) !important; color: var(--c-gray3) !important;
a { a {
color: var(--c-red1)!important; color: var(--c-red1) !important;
&:hover { &:hover {
font-size: unset; font-size: unset;
@@ -357,7 +385,6 @@ section#reviews {
} }
} }
.glider-track { .glider-track {
display: grid; display: grid;
grid-auto-flow: column; grid-auto-flow: column;
@@ -369,16 +396,71 @@ section#reviews {
} }
.glider-next { .glider-next {
right: -30px!important; right: -30px !important;
} }
.glider-prev { .glider-prev {
left: -30px!important; left: -30px !important;
}
}
.ratings {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 2rem;
&-box {
align-self: end;
}
img {
display: unset;
width: auto;
}
.ap-widget__logo--mini {
display: none;
}
.ap-widget__prod-rating-text--mini {
a {
color: var(--c-red1) !important;
&:hover {
font-size: unset;
font-weight: bold;
}
}
}
}
.video-container {
width: 70vw;
}
.video-wrapper {
position: relative;
padding-bottom: 56.25%;
/* 16:9 */
height: 0;
iframe {
border: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
} }
} }
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
.line svg{ #hero {
margin-bottom: calc(-1 * (21vh - 4.5rem - (min(32.385rem, 58.3vw) / 2)));
}
.line svg {
max-height: 17vh; max-height: 17vh;
} }
@@ -391,10 +473,26 @@ section#reviews {
.ap-widget__prod-rating-text--carousel { .ap-widget__prod-rating-text--carousel {
font-size: 0.8rem; font-size: 0.8rem;
} }
.glider-dot { .glider-dot {
height: 9px; height: 9px;
width: 9px; width: 9px;
} }
} }
.ratings {
&-gh-mobile {
display: block;
}
&-gh-desktop {
display: none;
}
}
}
@media only screen and (max-width: 1100px) {
.video-container {
width: 90vw;
}
} }

View File

@@ -477,7 +477,7 @@ nav {
line-height: 1.4; line-height: 1.4;
} }
.center { .center-content {
width: fit-content; width: fit-content;
align-self: center; align-self: center;
} }

View File

@@ -533,26 +533,6 @@ section#creators {
} }
} }
.video-container {
width: 70vw;
}
.video-wrapper {
position: relative;
padding-bottom: 56.25%;
/* 16:9 */
height: 0;
iframe {
border: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
a.btn { a.btn {
position: relative; position: relative;
padding: 0.7rem 1.7rem; padding: 0.7rem 1.7rem;
@@ -572,7 +552,7 @@ a.btn {
} }
} }
.center { .text-center {
text-align: center; text-align: center;
} }
@@ -673,12 +653,6 @@ section#faq {
} }
} }
@media only screen and (max-width: 1100px) {
.video-container {
width: 90vw;
}
}
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
section { section {
--width: 40ch; --width: 40ch;

View File

@@ -8,7 +8,7 @@ section#powered-by {
h1 { h1 {
margin-bottom: 16px; margin-bottom: 16px;
display: inline-block; display: inline-block;
max-width: min(16ch,64vw); max-width: min(16ch, 64vw);
} }
.logo { .logo {
@@ -17,10 +17,10 @@ section#powered-by {
margin: auto; margin: auto;
} }
.inline+p { .inline + p {
margin-top: -1.5rem; margin-top: -1.5rem;
} }
svg { svg {
--width: min(45rem, (100vw - 12rem)); --width: min(45rem, (100vw - 12rem));
width: --width; width: --width;
@@ -30,7 +30,7 @@ section#powered-by {
height: calc((679 / 843) * var(--width)); // forcing aspect ratio for iOS height: calc((679 / 843) * var(--width)); // forcing aspect ratio for iOS
} }
a.source-link{ a.source-link {
margin-top: 5rem; margin-top: 5rem;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -40,28 +40,27 @@ section#powered-by {
line-height: 1; line-height: 1;
gap: 1rem; gap: 1rem;
margin-bottom: -2rem; margin-bottom: -2rem;
img{ img {
width: 10rem; width: 10rem;
} }
span{ span {
background-color: var(--c-text-accent); background-color: var(--c-text-accent);
border-radius: 999px; border-radius: 999px;
padding: .15em .6em; padding: 0.15em 0.6em;
transition: var(--t-simple); transition: var(--t-simple);
white-space: nowrap; white-space: nowrap;
} }
&:hover{ &:hover {
transform: scale(1.05); transform: scale(1.05);
span{ span {
background-color: var(--c-text-primary); background-color: var(--c-text-primary);
color: var(--c-text-accent); color: var(--c-text-accent);
} }
} }
&.source-link--floated{ &.source-link--floated {
position: absolute; position: absolute;
} }
} }
} }
svg a:link, svg a:link,
svg a:visited { svg a:visited {
@@ -74,48 +73,11 @@ svg a:visited {
justify-content: center; justify-content: center;
} }
.ratings {
display: flex;
flex-direction: column;
align-items: center;
margin: 1rem;
img {
display: unset;
width: auto;
}
.ap-widget__logo--mini {
display: none;
}
.ap-widget__prod-rating-text--mini {
a {
color: var(--c-red1) !important;
&:hover {
font-size: unset;
font-weight: bold;
}
}
}
}
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
.container { .container {
width: 100vw; width: 100vw;
} }
.ratings {
&-gh-mobile {
display: block;
}
&-gh-desktop {
display: none;
}
}
section#powered-by .inline img { section#powered-by .inline img {
padding-bottom: 4.7rem; padding-bottom: 4.7rem;
} }

View File

@@ -49,7 +49,7 @@ layout: layouts/peripheral.njk
<h4>Benefits</h4> <h4>Benefits</h4>
<p>Do what you love. Get paid in Bitcoin. Get early access to the bleeding edge of Sovereign Computing.</p> <p>Do what you love. Get paid in Bitcoin. Get early access to the bleeding edge of Sovereign Computing.</p>
<a href="{{ site.contribute.techDetails }}" class="btn center" rel="noopener noreferrer" target="_blank">More details</a> <a href="{{ site.contribute.techDetails }}" class="btn center-content" rel="noopener noreferrer" target="_blank">More details</a>
</section> </section>
<section id="creators"> <section id="creators">
<h2>Creators</h2> <h2>Creators</h2>

View File

@@ -9,7 +9,7 @@ layout: layouts/peripheral.njk
<img class="img-shadow" src="/assets/images/jobs-hero.png" alt=""/> <img class="img-shadow" src="/assets/images/jobs-hero.png" alt=""/>
</div> </div>
<div id="logo"> <div id="logo">
<h1 class="center"> <h1 class="text-center">
<span>Jobs</span> <span>Jobs</span>
</h1> </h1>
</div> </div>
@@ -52,11 +52,11 @@ layout: layouts/peripheral.njk
</ul> </ul>
{% endif %} {% endif %}
{% if jobs|length == 0 %} {% if jobs|length == 0 %}
<p class="center"> <p class="text-center">
There are no open positions at Start9 at this time. There are no open positions at Start9 at this time.
</p> </p>
<br/> <br/>
<p class="center"> <p class="text-center">
Check back soon! Check back soon!
</p> </p>
{% endif %} {% endif %}