-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First attempt at new link to Moderne
Related: #317
- Loading branch information
1 parent
5ff80db
commit d55ad54
Showing
5 changed files
with
75 additions
and
7 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 @@ | ||
import React from 'react'; | ||
import ExternalSVG from './External.svg'; | ||
import ZoomableImage from '../theme/MDXComponents/Img'; | ||
import Styles from './button.module.css'; | ||
|
||
export default function RecipeCallout({children, link}) { | ||
return ( | ||
<div className={Styles.container}> | ||
<div className={Styles.subContainer}> | ||
<p className={Styles.heading}> | ||
Run this recipe on OSS repos at scale with the Moderne SaaS. | ||
</p> | ||
<div> | ||
<a href={link} className={Styles.link}> | ||
Run this recipe here <ExternalSVG /> | ||
</a> | ||
</div> | ||
</div> | ||
<div> | ||
<ZoomableImage src={require('../../static/img/run-at-scale.png').default} /> | ||
</div> | ||
</div> | ||
); | ||
} |
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,40 @@ | ||
.container { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
border: 1px solid #2546F0; | ||
padding: 30px; | ||
gap: 15px; | ||
margin: 16px 0; | ||
} | ||
|
||
.subContainer { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
} | ||
|
||
.heading { | ||
font-weight: 500; | ||
font-size: 18px; | ||
line-height: 23px; | ||
color: #FBFDFF; | ||
} | ||
|
||
.link { | ||
font-weight: 400; | ||
font-size: 16px; | ||
line-height: 23px; | ||
background-color: #2546F0; | ||
padding: 8px; | ||
align-items: center; | ||
border-radius: 6px; | ||
color: #FBFDFF; | ||
display: inline-flex; | ||
gap: 8px; | ||
} | ||
|
||
.link:hover { | ||
background-color: #2546F080; | ||
color: #FBFDFF; | ||
text-decoration: none; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.