import React, { useState } from 'react' import styled from 'styled-components' import { useTranslation } from 'contexts/Localization' import { Flex, Button, Modal, Image } from '@pancakeswap/uikit' import TextFlex from './TextFlex' import FlexCom from './FlexCom' const ModalDiv = styled(Modal)` & > .jCXCIB { border-bottom: none; text-align: center; & > .hMvvbb { justify-content: center; } } ` const InfoDiv = styled.div` box-sizing: border-box; padding: 30px 26px; /* width: calc(100% - 280px); */ margin-left: 2rem; box-shadow: 0px 1px 8px rgba(15, 161, 146, 0.28); ` const UpBtn = styled(Button)` width: 40%; margin: 20px auto 0px auto; border-radius: 50px; /* background: ${({ theme }) => theme.colors.gradients.violet}; */ background: linear-gradient(180deg, #7be0fc 0%, #ac7bf1 100%); border: none; ` export default function BuyNftModal() { const { t } = useTranslation() const onDismiss = () => { console.log('aaa') } return ( {t('Buy It Now')} ) }