Skip to content

Commit

Permalink
Merge branch 'master' into mod
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiksaxena124 committed Dec 28, 2023
2 parents 0a76a54 + 1828b75 commit 1544609
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
26 changes: 13 additions & 13 deletions src/components/CommonForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,28 +160,28 @@ const CommonForm = ({ form, title, submit_title, submit_body }) => {
<label htmlFor="role" className="form-name">What role best identifies you? <span className="required-sign">*</span></label>
{validateRole && <p style={{ margin: "0px", color: "red", fontSize: "16px" }}>{errorRole}</p>}
<div role="group" className="formRight" aria-labelledby="select">
<Field as="select" name="role" >
<Field as="select" name="role">
<option defaultValue hidden className="custom-arrow">Select your role</option>
<option value="Frontend Engineer">Frontend Engineer</option>
<option value="Backend Engineer">Backend Engineer</option>
<option value="Fullstack Engineer">Fullstack Engineer</option>
<option value="Architect">Architect</option>
<option value="Developer">Developer</option>
<option value="DevOps Engineer">DevOps Engineer / SysAdmin</option>
<option value="Platform Engineer">Platform Engineer</option>
<option value="Site Reliability Engineer">Site Reliability Engineer</option>
<option value="Backend Engineer">Backend Engineer</option>
<option value="Business Operations">Business Operations</option>
<option value="Data Analyst">Data Analyst</option>
<option value="Designer">Designer</option>
<option value="Manager">Manager</option>
<option value="Developer">Developer</option>
<option value="DevOps Engineer">DevOps Engineer / SysAdmin</option>
<option value="Executive">Executive</option>
<option value="Frontend Engineer">Frontend Engineer</option>
<option value="Fullstack Engineer">Fullstack Engineer</option>
<option value="IT Operations">IT Operations</option>
<option value="Manager">Manager</option>
<option value="Marketing">Marketing</option>
<option value="Sales">Sales</option>
<option value="Sales Engineer">Sales Engineer</option>
<option value="Business Operations">Business Operations</option>
<option value="Product Manager">Product Manager</option>
<option value="Media/Analyst">Media/Analyst</option>
<option value="Platform Engineer">Platform Engineer</option>
<option value="Professor/Academic">Professor/Academic</option>
<option value="Product Manager">Product Manager</option>
<option value="Sales">Sales</option>
<option value="Sales Engineer">Sales Engineer</option>
<option value="Site Reliability Engineer">Site Reliability Engineer</option>
<option value="Student">Student</option>
<option value="Other">Other</option>
</Field>
Expand Down
3 changes: 2 additions & 1 deletion src/components/TopPromotionalBanner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const TopPromotionalBanner = () => {
return (
<>
<TopBannercontainer>
<a href="https://play.meshery.io/" rel="noreferrer" target="_blank"><p className="content"><img src={Rocket} alt="Five on rocket" />Soar to New Heights with Meshery v0.7.0 <span>Try it now &rarr;</span></p></a>
<a href="https://meshery.io/blog/meshery-v07-release-announcement" rel="noreferrer" target="_blank"><p className="content"><img src={Rocket} alt="Five on rocket" /><span>Soar to New Heights with Meshery v0.7.0 &rarr;</span>{/* <span>Try it now &rarr;</span> */}
</p></a>
</TopBannercontainer>
</>
);
Expand Down
13 changes: 10 additions & 3 deletions src/components/TopPromotionalBanner/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,31 @@ import styled from "styled-components";
export const TopBannercontainer = styled.div`
background: ${props => props.theme.saffronColor};
position: sticky;
a {
color: #000 !important,
}
.content {
display: flex;
align-items: center;
justify-content: center;
padding: 0 1rem;
font-weight: 500;
line-height: 1.1875rem;
color: ${props => props.theme.body};
color: #000 !important;
/* color: ${props => props.theme.body}; */
padding: 0.75rem 1rem;
&:hover {
text-decoration: underline;
}
& > img {
width: 3rem;
margin-right: 0.5rem;
}
& > span {
font-weight: 700;
font-weight: normal;
margin-left: 0.5rem;
color: ${props => props.theme.body};
&:hover {
text-decoration: underline;
}
Expand Down

0 comments on commit 1544609

Please sign in to comment.