From 752f5d431c8421dcb8aa6e255a27b84a3dc1b2c9 Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Fri, 3 Feb 2023 13:08:59 -0500 Subject: [PATCH] Reconfigured mobile hero section, broke desktop anomation, will fix --- src/layouts/index.html | 37 +++++++++++++------ .../partials/hero-terminal-animation.html | 2 +- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/src/layouts/index.html b/src/layouts/index.html index 0d810f6..6d19262 100644 --- a/src/layouts/index.html +++ b/src/layouts/index.html @@ -56,25 +56,31 @@ } @media only screen and (max-width: 768px) { - .mobile-ctas{ + .mobile-ctas, + .mobile-term-loc{ visibility: visible; } - .desktop-ctas{ + .desktop-ctas, + .boilerplate, + .hero-description, + .hero-lead, + .desktop-term-loc{ display:none; } - .boilerplate{ - display:none; - } - .hero-description{ - display:none; + .hero-text, + .mobile-lead{ + text-align:center; } } @media only screen and (min-width: 768px) { - .mobile-ctas{ + .mobile-ctas, + .mobile-lead, + .mobile-term-loc{ display:none; } - .desktop-ctas{ + .desktop-ctas, + .desktop-term-loc{ visibility: visible; } } @@ -85,16 +91,23 @@
-

Invisible yet powerful

-

Upgrade to Tea - the revolutionary, cross-platform package manager. Say goodbye to slow & clunky, and say hello to fast & smooth updates. From the creator of Brew.

+

Invisible yet powerful

+

Upgrade to Tea - the revolutionary, cross-platform package manager. Say goodbye to slow & clunky, and say hello to fast & smooth updates. From the creator of Brew.

+

tea/cli... from the creator of brew

Introducing tea, the cross-platform package manager of the future. Say goodbye to slow package managers. With tea, simply type commands and it takes care of the rest. Get the latest version easily and support specific tool versions for different projects. Encoding dependencies in the README makes it readable by humans and tea, providing easier access for users. Experience better package management with tea.

+
+ {{- partial "hero-terminal-animation.html" -}} +
+

Dev tools are best domonstrated on desktop. But we get it... you're out and about (or in the loo), so drop us your email or follow us on Twitter so you can be reminded when you're back at your desk.

{{- partial "main-ctas.html" -}}

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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

- {{- partial "hero-terminal-animation.html" -}} +
+ {{- partial "hero-terminal-animation.html" -}} +
diff --git a/src/layouts/partials/hero-terminal-animation.html b/src/layouts/partials/hero-terminal-animation.html index f936592..34e3782 100644 --- a/src/layouts/partials/hero-terminal-animation.html +++ b/src/layouts/partials/hero-terminal-animation.html @@ -10,7 +10,7 @@ -
+