Skip to content

Commit

Permalink
chore: Changed Doc svg width and added new year to copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
ape-fede committed Jan 18, 2023
1 parent a97b242 commit 8c0648d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const Footer: React.FC<FooterProps> = ({
left: ["10px", "auto"],
}}
>
<Text color="primaryBright">{t("©2022 All rights reserved")}</Text>
<Text color="primaryBright">{t(${new Date().getFullYear()} All rights reserved`)}</Text>
<Flex sx={{ alignItems: "center", width: "150px", justifyContent: "center" }}>
<Link href="https://apeswap.finance/terms" target="_blank">
<Text size="12px" color="primaryBright" sx={styles.linkText}>
Expand Down
5 changes: 3 additions & 2 deletions src/components/Svg/Icons/Docs.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/** @jsxImportSource theme-ui */
import React from "react";
import { SvgProps, rotation } from "./types";
import { Flex } from "../../Flex";

const Docs: React.FC<SvgProps> = ({ direction = "right", color = "primaryBright", width, getStyles }) => {
const Docs: React.FC<SvgProps> = ({ direction = "right", color = "primaryBright", getStyles }) => {
const deg: rotation = {
left: 180,
up: 270,
Expand All @@ -15,7 +16,7 @@ const Docs: React.FC<SvgProps> = ({ direction = "right", color = "primaryBright"
});

return (
<svg width={width || "40"} viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" sx={style}>
<svg width="100%" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" sx={style}>
<g clipPath="url(#docs-icon)">
<rect width="40" height="40" rx="20" fill="#FFB300" stroke="#fff" />
<path
Expand Down

0 comments on commit 8c0648d

Please sign in to comment.