From 7409e7b9be78e1bf6294a05448ecd0df0a774d48 Mon Sep 17 00:00:00 2001 From: pheralb Date: Sat, 5 Mar 2022 17:03:33 +0000 Subject: [PATCH] Design improvements and bug fixes --- animations/tap.js | 2 +- components/header/index.js | 7 ++++++- components/search/modal.js | 42 ++++++++++++++++++++++++++++++++++++++ components/svg/index.js | 22 ++++---------------- data/icons.js | 7 +++++++ pages/_app.js | 3 +-- pages/svg/[id].js | 13 ++++++++++-- public/library/framer.svg | 7 +++++++ styles/globals.css | 4 ++-- 9 files changed, 81 insertions(+), 26 deletions(-) create mode 100644 components/search/modal.js create mode 100644 public/library/framer.svg diff --git a/animations/tap.js b/animations/tap.js index f7e0410..153215b 100644 --- a/animations/tap.js +++ b/animations/tap.js @@ -3,7 +3,7 @@ import { motion } from "framer-motion"; const Tap = ({ children }) => { return ( - + {children} ); diff --git a/components/header/index.js b/components/header/index.js index 038ccad..018e089 100644 --- a/components/header/index.js +++ b/components/header/index.js @@ -24,6 +24,8 @@ import Hover from "animations/tap"; import Show from "animations/show"; import { svgl } from "components/svg"; import HEADER_LINKS from "./links"; +import Search from "components/search"; +import ModalSearch from "components/search/modal"; const Header = () => { const mobileNav = useDisclosure(); @@ -78,7 +80,8 @@ const Header = () => { ))} - + + { passHref >