How to use the rebass.Banner.extend function in rebass

To help you get started, we’ve selected a few rebass examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microlinkhq / www / src / components / Hero / index.js View on Github external
import React from 'react'
import {Flex, Banner, Heading, Subhead} from 'rebass'
import {textGradient} from '../../theme'

import Logo from '../Logo'
import SearchBox from './SearchBox'

const CustomBanner = Banner.extend`min-height: 100vh;`

const CustomSubhead = Subhead.extend`
  ${textGradient} text-align: center;
  font-weight: normal;
  max-width: 40rem;
`

export default () => (
  
    
      
      
        Microlink
      
      
        Extract beautiful information from any link