mars-v2-frontend/src/components/Earn/Farm/FarmIntro.tsx
Linkie Link a507e9060c
Merge branch 'main' of https://github.com/mars-protocol/mars-v2-frontend into develop
# Conflicts:
#	src/components/Trade/TradeChart/OsmosisTheGraphDataFeed.ts
2023-10-14 18:09:22 +02:00

38 lines
931 B
TypeScript

import Button from 'components/Button'
import { PlusSquared } from 'components/Icons'
import Intro from 'components/Intro'
import { DocURL } from 'types/enums/docURL'
export default function FarmIntro() {
return (
<Intro
text={
<>
<span className='text-white'>Farm</span> the fields of Mars. Proceed with caution fellow
farmer. Riches and ruins lie ahead.
</>
}
bg='farm'
>
<Button
text='Read more about Mars'
leftIcon={<PlusSquared />}
onClick={(e) => {
e.preventDefault()
window.open(DocURL.DOCS_URL, '_blank')
}}
color='secondary'
/>
<Button
text='Learn how to Farm'
leftIcon={<PlusSquared />}
onClick={(e) => {
e.preventDefault()
window.open(DocURL.FARM_INTRO_URL, '_blank')
}}
color='secondary'
/>
</Intro>
)
}