From 90693c7a8df64781d038b18d0e4ab21fea87e726 Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Mon, 16 Oct 2023 14:13:44 -0400 Subject: [PATCH] update apollo widgets --- src/_includes/components/landing/hero.njk | 4 +- .../components/landing/powered-by.njk | 1 + src/assets/styles/landing.scss | 90 ++++++++----------- src/assets/styles/powered-by.scss | 25 +++++- src/index.njk | 5 +- 5 files changed, 64 insertions(+), 61 deletions(-) diff --git a/src/_includes/components/landing/hero.njk b/src/_includes/components/landing/hero.njk index 2607a1f..813f673 100644 --- a/src/_includes/components/landing/hero.njk +++ b/src/_includes/components/landing/hero.njk @@ -4,4 +4,6 @@ sovereign computing -
+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.
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.
diff --git a/src/assets/styles/landing.scss b/src/assets/styles/landing.scss index 8510e5a..aa1fe52 100644 --- a/src/assets/styles/landing.scss +++ b/src/assets/styles/landing.scss @@ -311,35 +311,24 @@ a.btn { transform: scaleX(-1); } -.ap-widget-container { +section#reviews { + overflow: visible; + width: 100%; + z-index: 6; + position: relative; width: 90vw; - text-align: center; - - .glider-next, - .glider-prev { - img { - filter: invert(1); - } + + img { + display: unset; + width: auto; } - a { - color: var(--c-red1); - font-size: 0.7rem !important; + .ap-widget__logo--carousel { + display: none; } - .ap-avg-rat-c { - // font-variant: all-small-caps; - text-transform: none; - font-size: 0.7rem !important; - } - - .glider-slide:hover { - background-color: transparent !important; - opacity: 50%; - } - - .glider-dots { - padding: 1rem; + p { + font-size: 0.9rem; } .glider-track { @@ -349,54 +338,47 @@ a.btn { text-align: left; } - .ap-review { + .glider-dot.active { + background: var(--c-red1); + } + + .ap-widget__review { height: 100% !important; display: flex; flex-direction: column; justify-content: flex-start; margin: 0 !important; padding: 0 !important; + text-align: center; + + &:hover { + font-size: unset; + opacity: 50%; + } } - .glider-dot.active { - background: var(--c-red1); - } - - .glider-contain { - padding-left: 80px; - padding-right: 80px; - } - - .ap-review-author, - .ap-read-more { + .ap-widget__author, .ap-widget__prod-rating-text--carousel { + font-size: 0.7rem; color: var(--c-gray3) !important; - } - .ap-logo-c { - display: none!important; - } + a { + color: var(--c-red1)!important; - .ap-rev-stars { - display: flex; + &:hover { + font-size: unset; + font-weight: bold; + } + } } } @media screen and (max-width: 500px) { - #hero{ - //margin-top: 25vh; - } .line svg{ max-height: 30vh; } - .ap-widget-container { - .ap-logo-c { - width: 65px !important; - border-radius: 2.7rem; - padding: 6px 8px !important; - } - .glider-contain { - padding: 0 40px; - } + .glider-dot { + height: 9px; + width: 9px; } } diff --git a/src/assets/styles/powered-by.scss b/src/assets/styles/powered-by.scss index 1e6f1c6..51d11aa 100644 --- a/src/assets/styles/powered-by.scss +++ b/src/assets/styles/powered-by.scss @@ -76,11 +76,32 @@ svg a:visited { .ratings { display: flex; - flex-direction: row; - gap: 1rem; + flex-direction: column; + gap: 0.5rem; justify-content: center; + 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; + } + } + } + &-mobile { display: none } diff --git a/src/index.njk b/src/index.njk index 3d32b4c..fcf8b64 100644 --- a/src/index.njk +++ b/src/index.njk @@ -4,8 +4,6 @@ layout: layouts/base.njk --- {{ __slinkity.head | safe }} - - {% include "components/landing/hero.njk" %} @@ -55,8 +53,7 @@ layout: layouts/base.njk {% include "components/landing/community.njk" %} - - +