From f6493f9800b013c22ec0e0bfcdd13c4ad5a49bd0 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Fri, 25 Feb 2022 22:00:51 +0100 Subject: [PATCH] update navigation padding --- src/components/layout/{BrandHeader.tsx => Navigation.tsx} | 4 ++-- src/views/SearchView.tsx | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) rename src/components/layout/{BrandHeader.tsx => Navigation.tsx} (90%) diff --git a/src/components/layout/BrandHeader.tsx b/src/components/layout/Navigation.tsx similarity index 90% rename from src/components/layout/BrandHeader.tsx rename to src/components/layout/Navigation.tsx index 9ff2a410..1f8b78f9 100644 --- a/src/components/layout/BrandHeader.tsx +++ b/src/components/layout/Navigation.tsx @@ -3,9 +3,9 @@ import { Icons } from "components/Icon"; import { DISCORD_LINK, GITHUB_LINK } from "mw_constants"; import { BrandPill } from "./BrandPill"; -export function BrandHeader() { +export function Navigation() { return ( -
+
diff --git a/src/views/SearchView.tsx b/src/views/SearchView.tsx index fa71e329..fef0dc72 100644 --- a/src/views/SearchView.tsx +++ b/src/views/SearchView.tsx @@ -2,7 +2,6 @@ import { WatchedMediaCard } from "components/media/WatchedMediaCard"; import { SearchBarInput } from "components/SearchBar"; import { MWMassProviderOutput, - MWMedia, MWMediaType, MWQuery, SearchProviders, @@ -17,7 +16,7 @@ import { Title } from "components/text/Title"; import { useDebounce } from "hooks/useDebounce"; import { useLoading } from "hooks/useLoading"; import { IconPatch } from "components/buttons/IconPatch"; -import { BrandHeader } from "components/layout/BrandHeader"; +import { Navigation } from "components/layout/Navigation"; function SearchLoading() { return ; @@ -142,7 +141,7 @@ export function SearchView() { return ( <> - + {/* input section */}