Skip to content

Commit

Permalink
Merge pull request #5239 from layer5io/redirect-link
Browse files Browse the repository at this point in the history
Redirecting of top promotional banner
  • Loading branch information
ritiksaxena124 authored Dec 27, 2023
2 parents adc9e21 + 1eedb4c commit a8e36f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/TopPromotionalBanner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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" />Soar to New Heights with Meshery v0.7.0 <a href="https://play.meshery.io/" rel="noreferrer" target="_blank">Try it now &rarr;</a></p></a>
</TopBannercontainer>
</>
);
Expand Down
3 changes: 2 additions & 1 deletion src/components/TopPromotionalBanner/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ export const TopBannercontainer = styled.div`
margin-right: 0.5rem;
}
& > span {
& > a {
font-weight: 700;
margin-left: 0.5rem;
color: ${props => props.theme.body};
&:hover {
text-decoration: underline;
}
Expand Down

0 comments on commit a8e36f8

Please sign in to comment.