2023-01-26 04:12:03 -08:00
import BorrowPage from '@components/borrow/BorrowPage'
import type { NextPage } from 'next'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
2023-12-12 18:58:35 -08:00
import Head from 'next/head'
2023-01-26 04:12:03 -08:00
export async function getStaticProps ( { locale } : { locale : string } ) {
return {
props : {
. . . ( await serverSideTranslations ( locale , [
2023-12-06 19:54:53 -08:00
'account' ,
2023-01-26 04:12:03 -08:00
'borrow' ,
2023-12-02 03:55:19 -08:00
'close-account' ,
2023-01-26 04:12:03 -08:00
'common' ,
2023-04-21 07:23:27 -07:00
'notifications' ,
2023-01-26 04:12:03 -08:00
'onboarding' ,
'profile' ,
'search' ,
'settings' ,
2023-11-08 15:47:05 -08:00
'swap' ,
2023-01-26 04:12:03 -08:00
'token' ,
'trade' ,
] ) ) ,
} ,
}
}
2023-12-12 18:58:35 -08:00
const metaTitle = 'Borrow Crypto on Mango Markets'
const metaDescription =
'Securely borrow your favorite crypto assets to sell or use in DeFi. Mango makes borrowing easy and secure with multiple collateral options and a robust risk engine.'
2023-01-26 04:12:03 -08:00
const Borrow : NextPage = ( ) = > {
return (
2023-12-12 18:58:35 -08:00
< >
< Head >
< title > Borrow | Mango Markets < / title >
< meta name = "description" content = { metaDescription } / >
< meta property = "og:title" content = { metaTitle } / >
< meta name = "og:description" content = { metaDescription } / >
< meta name = "twitter:title" content = { metaTitle } / >
< meta name = "twitter:description" content = { metaDescription } / >
< / Head >
< div className = "pb-20 md:pb-0" >
< BorrowPage / >
< / div >
< / >
2023-01-26 04:12:03 -08:00
)
}
export default Borrow