Skip to content

Commit

Permalink
Remove CodeSandbox Example
Browse files Browse the repository at this point in the history
Reviewed By: alunyov

Differential Revision: D53676326

fbshipit-source-id: 2e773900e654f24134413248239a66afeaefa93d
  • Loading branch information
captbaritone authored and facebook-github-bot committed Feb 12, 2024
1 parent c428c40 commit 1256e73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
12 changes: 0 additions & 12 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -508,18 +508,6 @@ pre.outerPre {
border-radius: var(--ifm-button-border-radius);
}

.try-it {
padding-top: 10px;
}

.try-it a.button {
color: #f9f6ef;
border-color: #EAEAE2;
border-style: solid;
border-width: var(--ifm-button-border-width);
border-radius: var(--ifm-button-border-radius);
}

a.hash-link {
margin-left: 0;
}
Expand Down
29 changes: 0 additions & 29 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,6 @@ const HomeSplash = () => {
<small>{siteConfig.tagline}</small>
<small>{siteConfig.subtagline}</small>
</h2>
<div className="try-it">
<h3>
<a
className="button"
href="https://codesandbox.io/s/relay-sandbox-nxl7i?file=/src/TodoApp.tsx"
target="_blank">
Explore an example
</a>
</h3>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -590,25 +580,6 @@ export default function ArtistCard(props) {
]}
/>
</Container>
<Container className="textSection graphqlSection" background="dark">
<h2>Explore CodeSandbox Example</h2>
<div
id="iframe-wrapper"
style={{height: 500, width: '100%', marginTop: 40}}>
<iframe
src={`https://codesandbox.io/embed/relay-sandbox-nxl7i?&module=%2Fsrc%2FTodoApp.tsx&fontsize=14&hidenavigation=1&hidedevtools=1&theme=${
isDarkTheme ? 'dark' : 'light'
}`}
style={{
width: '100%',
height: 500,
border: 0,
borderRadius: 4,
}}
title="relay-sandbox"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"></iframe>
</div>
</Container>
<Container className="textSection" background="light">
<h2>Proudly Used Elsewhere</h2>
<p>
Expand Down

0 comments on commit 1256e73

Please sign in to comment.