From 5abe4fd747fea30a672b85dda25d9ea6df72e38d Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Wed, 27 Nov 2024 14:44:55 -0600 Subject: [PATCH] feat: reorganize video section and update styles in App component Signed-off-by: Lee Calcote --- site/src/App.js | 26 ++++++++++++++------------ site/src/App.style.js | 6 +++++- site/src/components/Faq/index.js | 4 ++-- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/site/src/App.js b/site/src/App.js index f9874b9..a0cb9cd 100644 --- a/site/src/App.js +++ b/site/src/App.js @@ -42,19 +42,9 @@ const App = () => {

Explore the Cloud Native Computing Foundation's graduated, incubation, and sandbox projects as well as many other popular open source projects. Use Meshery Playground to explore a new way of DevOps - visual and collaborative configuration management for your infrastructure.

-
- -
+
@@ -89,10 +79,22 @@ const App = () => { color: `${props => props.theme.text}`, marginTop: "0.5rem" }}> - On clicking the continue button you will be redirected to Meshery Playground

+ On clicking the continue button you will be redirected to Meshery Playground.

+
+ +
+
diff --git a/site/src/App.style.js b/site/src/App.style.js index 837e8b2..cb3bb50 100644 --- a/site/src/App.style.js +++ b/site/src/App.style.js @@ -210,7 +210,11 @@ export const Main = styled.main` .desc-text { margin: 0 0 3rem; } - + section.video { + margin: 4rem auto; + display: flex; + justify-content: center; + } .embedVideo { height: 44vw !important; border-radius: 2.5%; diff --git a/site/src/components/Faq/index.js b/site/src/components/Faq/index.js index 52e3ca9..2230326 100644 --- a/site/src/components/Faq/index.js +++ b/site/src/components/Faq/index.js @@ -50,9 +50,9 @@ const Faq = (props) => { <>

- You are about to access Meshery Playground + You are about to access Meshery Playground...

{faqs[key].map((faq, index) => (