-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gaurav Chadha <[email protected]>
- Loading branch information
Showing
3 changed files
with
140 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
const MesheryWrapper = styled.div` | ||
.blocks { | ||
display: flex; | ||
padding-bottom: 5rem; | ||
} | ||
.block { | ||
min-height: 100px; | ||
width: 50%; | ||
width: calc(60% + 2rem); | ||
} | ||
} | ||
.block--left { | ||
background-color: BLACK; | ||
h1, p{ | ||
text-align: center; | ||
color: white; | ||
} | ||
p{ | ||
padding: 1.1rem 2rem 0 4rem; | ||
} | ||
img{ | ||
width: 89%; | ||
padding: 1rem 0 1rem 12rem; | ||
} | ||
} | ||
.block--right { | ||
background-color: #00b39f; | ||
height: 20rem; | ||
h1, p{ | ||
text-align: center; | ||
color: white; | ||
} | ||
p{ | ||
padding: 1.1rem 2rem 0 4rem; | ||
} | ||
img{ | ||
width: 89%; | ||
padding: 1rem 0 1rem 12rem; | ||
} | ||
} | ||
p.caption { | ||
margin: 0rem 0rem 2rem 0rem; | ||
font-style: normal ; | ||
} | ||
.firstheading { | ||
text-align: center; | ||
padding-top:0; | ||
margin-top:0; | ||
background-color: black; | ||
} | ||
.heading{ | ||
text-align: center; | ||
padding: 1rem 0; | ||
text-transform: uppercase; | ||
} | ||
@media screen and (max-width: 991px) { | ||
.block--left, .block--right { | ||
width: 50%; | ||
margin: 0; | ||
clip-path: none; | ||
h1{ | ||
text-align: center; | ||
color: white; | ||
} | ||
p{ | ||
color: white; | ||
width: 100%; | ||
padding: 1rem; | ||
} | ||
img{ | ||
width: 95%; | ||
padding-left: 0; | ||
display: block; | ||
margin: 0 auto; | ||
} | ||
} | ||
} | ||
.modes-image{ | ||
margin: 0 0 2rem; | ||
} | ||
@media only screen and (max-width: 768px) { | ||
.mobile-modes{ | ||
display: block; | ||
} | ||
} | ||
`; | ||
|
||
const MesheryAction = () => { | ||
return ( | ||
<MesheryWrapper> | ||
<h2 className="heading">Watch Meshery In Action</h2> | ||
<p className="caption"> | ||
Everything for service mesh in one place. | ||
</p> | ||
<div className="mobile-modes"> | ||
|
||
</div> | ||
|
||
<div className="blocks"> | ||
<div className="block block--right"> | ||
<h1>Service MeshCon 22</h1> | ||
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/yvqn6ckO7BI" loading="lazy" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen ></iframe> | ||
</div> | ||
<div className="block block--left"> | ||
<h1>DockerCon 22</h1> | ||
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/3DPZafR8VWM" loading="lazy" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen ></iframe> | ||
</div> | ||
</div> | ||
</MesheryWrapper > | ||
); | ||
}; | ||
|
||
export default MesheryAction; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters