From db7c106516e2ff926f2e7ca7b4daecf18b2d4bd6 Mon Sep 17 00:00:00 2001 From: qt-coder Date: Tue, 29 Jun 2021 12:59:43 +0800 Subject: [PATCH] Added banner --- components/Banner/Banner.js | 26 ++++++++++++++++++++++++++ components/Banner/BannerLink.js | 19 +++++++++++++++++++ pages/_app.js | 2 ++ 3 files changed, 47 insertions(+) create mode 100644 components/Banner/Banner.js create mode 100644 components/Banner/BannerLink.js diff --git a/components/Banner/Banner.js b/components/Banner/Banner.js new file mode 100644 index 0000000..90b4479 --- /dev/null +++ b/components/Banner/Banner.js @@ -0,0 +1,26 @@ +import { Box, HStack, Stack, Text, useColorModeValue } from '@chakra-ui/react' +import * as React from 'react' +import { BannerLink } from './BannerLink' + +export const Banner = () => ( + + + + + Cath's dashboard is still in testing phase. It is not stated to release soon. + + + + Learn More + + + +) \ No newline at end of file diff --git a/components/Banner/BannerLink.js b/components/Banner/BannerLink.js new file mode 100644 index 0000000..7e6f2e0 --- /dev/null +++ b/components/Banner/BannerLink.js @@ -0,0 +1,19 @@ +import { chakra } from '@chakra-ui/react' +import * as React from 'react' + +export const BannerLink = (props) => ( + +) diff --git a/pages/_app.js b/pages/_app.js index 3211eac..46d70c8 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -5,6 +5,7 @@ import { ChakraProvider } from "@chakra-ui/react" import Header from '../components/Nav/Header' import theme from '../chakra_config/theme' import { ColorModeScript } from "@chakra-ui/react" +import { Banner } from '../components/Banner/Banner' function MyApp({ Component, pageProps }) { return ( @@ -16,6 +17,7 @@ function MyApp({ Component, pageProps }) {
+