import React from 'react'
import { Row, Text } from '@nextui-org/react'
import { upper } from '../../init'

const Title = ({title, preTitle}) => {
  return (
    <>
    <Row align='center' css={{ pb: '1rem' }} >
        <Text b> {upper(`${preTitle}:`)} </Text>
        <Text color='#ffa200' css={{ pl: '1rem' }} b> {upper(title)} </Text>
    </Row>
    </>
  )
}

export default Title