Skip to content

Commit

Permalink
feat: reorganize video section and update styles in App component
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Calcote <[email protected]>
  • Loading branch information
leecalcote committed Nov 27, 2024
1 parent 8650f4b commit 5abe4fd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
26 changes: 14 additions & 12 deletions site/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,9 @@ const App = () => {
<p className="desc-text">
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.
</p>
<ReactPlayer
url="https://youtu.be/Do7htKrRzDA"
playing
controls
light={mesheryPlayground}
width="90%"
style={{ margin: "auto" }}
className="embedVideo"
/>
</section>
<section className="playground-btn">

<div>
<div>
<Button className="continue-btn open-playground-btn" style={{ background: "rgb(235, 192, 23)" }} role="button" onClick={openModal}>
Open Playground
</Button>
Expand Down Expand Up @@ -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</p></div>
On clicking the continue button you will be redirected to Meshery Playground.</p></div>
</Modal>
</div>
</section>
<section className="video">
<ReactPlayer
url="https://youtu.be/Do7htKrRzDA"
playing
controls
light={mesheryPlayground}
width="70%"
style={{ margin: "auto" }}
className="embedVideo"
/>
</section>

<div className="community-discuss-wrapper">
<section className="join-community">
<div>
Expand Down
6 changes: 5 additions & 1 deletion site/src/App.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down
4 changes: 2 additions & 2 deletions site/src/components/Faq/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const Faq = (props) => {
<>
<h2
className="category_name"
style={{ paddingBottom: 25, textAlign: "center", fontSize: "1.5rem" }}
style={{ paddingBottom: 25, textAlign: "center", fontSize: "1.5rem", fontWeight: "normal" }}
>
You are about to access Meshery Playground
You are about to access Meshery Playground...
</h2>
{faqs[key].map((faq, index) => (
<AccordionItem key={index}>
Expand Down

0 comments on commit 5abe4fd

Please sign in to comment.