Template for starting apps, powered by Next.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

42 lines
623 B

  1. import Link from '../Link'
  2. import styled from 'styled-components'
  3. const BrandBase = styled(Link)({
  4. display: 'block',
  5. textDecoration: 'none',
  6. fontSize: '1.5rem',
  7. fontWeight: 'bold',
  8. fontStretch: '75%',
  9. textTransform: 'uppercase',
  10. width: '2rem',
  11. textAlign: 'center',
  12. '@media (min-width: 720px)': {
  13. width: '8rem',
  14. textAlign: 'left',
  15. },
  16. })
  17. const Hide = styled('span')({
  18. display: 'none',
  19. '@media (min-width: 720px)': {
  20. display: 'inline',
  21. },
  22. })
  23. const Brand = () => {
  24. return (
  25. <BrandBase
  26. href={{
  27. pathname: '/',
  28. }}
  29. >
  30. B
  31. <Hide>
  32. rand
  33. </Hide>
  34. </BrandBase>
  35. )
  36. }
  37. export default Brand