diff --git a/src/app/stories/components.tsx b/src/app/stories/components.tsx index e21443c..b6c76ff 100644 --- a/src/app/stories/components.tsx +++ b/src/app/stories/components.tsx @@ -255,7 +255,11 @@ function FilteringHandler({ data-item="search-button" onClick={() => { setShowSearch((cur) => { - input.current?.focus(); + if (!cur) { + input.current?.focus(); + } else { + input.current?.blur(); + } if (cur && !input.current?.value && search) { router.push('/stories'); router.refresh(); diff --git a/src/components/footer/autobacklink.tsx b/src/components/footer/autobacklink.tsx index 7bf9745..5fab728 100644 --- a/src/components/footer/autobacklink.tsx +++ b/src/components/footer/autobacklink.tsx @@ -27,9 +27,9 @@ function AutoBacklinks() { .map((_, i) => (
-
+
-
+
{item.label}
diff --git a/src/components/footer/footer.tsx b/src/components/footer/footer.tsx index 33b3389..374f9f0 100644 --- a/src/components/footer/footer.tsx +++ b/src/components/footer/footer.tsx @@ -21,7 +21,9 @@ function Footer() { className="justify-center flex-col items-start text-base flex" >
Links
- +
+ +
Check Also -
+