From a8c821a65f6536047dc92a00dc4b288a30a5d39e Mon Sep 17 00:00:00 2001 From: adithwip Date: Fri, 21 Feb 2020 14:21:45 +0700 Subject: [PATCH] remove next/link --- examples/with-chakra-ui/src/components/CTA.js | 33 ++++++++----------- examples/with-chakra-ui/src/pages/index.js | 32 +++++++----------- 2 files changed, 24 insertions(+), 41 deletions(-) diff --git a/examples/with-chakra-ui/src/components/CTA.js b/examples/with-chakra-ui/src/components/CTA.js index 3708173066d32e8..060ca6e5dccbd79 100644 --- a/examples/with-chakra-ui/src/components/CTA.js +++ b/examples/with-chakra-ui/src/components/CTA.js @@ -1,4 +1,3 @@ -import Link from 'next/link' import { Link as ChakraLink, Button } from '@chakra-ui/core' import { Container } from './Container' @@ -12,27 +11,21 @@ export const CTA = () => ( maxWidth="48rem" py={2} > - - - - - - + + + + - - - - + + ) diff --git a/examples/with-chakra-ui/src/pages/index.js b/examples/with-chakra-ui/src/pages/index.js index d3a585ec4047725..7d0144e2313b1fd 100644 --- a/examples/with-chakra-ui/src/pages/index.js +++ b/examples/with-chakra-ui/src/pages/index.js @@ -1,5 +1,4 @@ import React from 'react' -import Link from 'next/link' import { withTheme } from 'emotion-theming' import { Link as ChakraLink, @@ -29,29 +28,20 @@ const Index = () => ( - - - Chakra UI - - + + Chakra UI + - - - Next.js - - + + Next.js +