Skip to content

Commit

Permalink
Merge pull request #1770 from wackerow/w/callout#1768
Browse files Browse the repository at this point in the history
Adds component import/exports to templates [Fixes #1768]
  • Loading branch information
samajammin committed Nov 11, 2020
2 parents 3b5b65d + 1afdf06 commit fc0725a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ title="How can I get more involved in Eth2?">
</ul>
</ExpandableCard>

## More on Staking and Eth2
## More on Staking and Eth2 {#more-on-staking-and-eth2}

<CardContainer>
<Card title="Staking" description="Learn more about staking. Where you can do it, what you need, and the potential risks and rewards." emoji=":money_bag:"><ButtonLink to="/eth2/staking/">More on staking</ButtonLink></Card>
Expand Down
2 changes: 2 additions & 0 deletions src/templates/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {
Header4,
H5,
ListItem,
CardContainer,
} from "../components/SharedStyledComponents"
import Emoji from "../components/Emoji"

Expand Down Expand Up @@ -118,6 +119,7 @@ const components = {
TranslationsInProgress,
Emoji,
ExpandableCard,
CardContainer,
}

const StaticPage = ({ data: { mdx } }) => {
Expand Down

0 comments on commit fc0725a

Please sign in to comment.