From 7073442cb179ab6f8fce23d5d49a707b3bf3dd08 Mon Sep 17 00:00:00 2001 From: Carlos Azaustre Date: Sun, 11 Jul 2021 17:32:57 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20add=20links=20from=20dashbo?= =?UTF-8?q?ard=20(#9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add button to create links * minor changes * remove host on short url list --- components/Footer.js | 6 +++--- components/Nav.js | 19 +++++++++++++++++++ pages/dashboard.js | 5 +---- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/components/Footer.js b/components/Footer.js index d9d6076..91352cc 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -10,10 +10,10 @@ export function Footer() { justify="center" textAlign="center"> - Powered by{" "} + Made by{" "} ❤️ - {" "} + &{" "} 💻 @@ -21,7 +21,7 @@ export function Footer() { by Carlos Azaustre - Hosted on Vercel &{" "} + Powered by Vercel &{" "} Digital Ocean diff --git a/components/Nav.js b/components/Nav.js index 7cb3e09..ae5aa5c 100644 --- a/components/Nav.js +++ b/components/Nav.js @@ -1,4 +1,5 @@ import { useUser } from "@auth0/nextjs-auth0"; +import { AddIcon } from "@chakra-ui/icons"; import { Flex, LinkBox, LinkOverlay, Text } from "@chakra-ui/react"; export function Nav() { @@ -17,6 +18,23 @@ export function Nav() { justify="flex-end" align="center"> Hi, {user.email}! + + + + + Create Link + + + My Links + - + czstr.link/{link.shortUrl}