From 8c0648d8dd80f834d9bbb4e90c19e4f4c5300c5a Mon Sep 17 00:00:00 2001 From: Ape Fede <75544302+ape-fede@users.noreply.github.com> Date: Wed, 18 Jan 2023 15:58:35 -0300 Subject: [PATCH] chore: Changed Doc svg width and added new year to copyright --- src/components/Footer/Footer.tsx | 2 +- src/components/Svg/Icons/Docs.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index a6aaf2fb..99351218 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -255,7 +255,7 @@ const Footer: React.FC = ({ left: ["10px", "auto"], }} > - {t("©2022 All rights reserved")} + {t(`©${new Date().getFullYear()} All rights reserved`)} diff --git a/src/components/Svg/Icons/Docs.tsx b/src/components/Svg/Icons/Docs.tsx index 51ef0ab0..656db012 100644 --- a/src/components/Svg/Icons/Docs.tsx +++ b/src/components/Svg/Icons/Docs.tsx @@ -1,8 +1,9 @@ /** @jsxImportSource theme-ui */ import React from "react"; import { SvgProps, rotation } from "./types"; +import { Flex } from "../../Flex"; -const Docs: React.FC = ({ direction = "right", color = "primaryBright", width, getStyles }) => { +const Docs: React.FC = ({ direction = "right", color = "primaryBright", getStyles }) => { const deg: rotation = { left: 180, up: 270, @@ -15,7 +16,7 @@ const Docs: React.FC = ({ direction = "right", color = "primaryBright" }); return ( - +