diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index a157e1d..dce00e5 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -69,28 +69,29 @@ const Header = () => { $home.className = "text-primary dark:text-white" $features.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" $contact.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" - $apiDoc.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" + $apiDoc.className = "flex items-center text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" break; } case "features": { $home.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" $features.className = "text-primary dark:text-white" $contact.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" - $apiDoc.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" + $apiDoc.className = "flex items-center text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" break; } case "contact": { $home.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" $features.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" $contact.className = "text-primary dark:text-white" - $apiDoc.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" + $apiDoc.className = "flex items-center text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" break; } case "apiDoc": { $home.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" $features.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" $contact.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" - $apiDoc.className = "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" + // "flex items-center py-2 text-lg lg:mr-0 lg:inline-flex lg:px-0 lg:py-6 transition-transform cursor-pointer" + $apiDoc.className = "flex items-center text-dark hover:text-primary dark:text-white/70 dark:hover:text-white" break; } default: { @@ -185,8 +186,13 @@ const Header = () => { id={"apiDoc_"} href="/api-doc" target="_blank" - className="flex py-2 text-lg lg:mr-0 lg:inline-flex lg:px-0 lg:py-6 transition-transform cursor-pointer" - >API Doc + className="flex items-center py-2 text-lg lg:mr-0 lg:inline-flex lg:px-0 lg:py-6 transition-transform cursor-pointer" + >API Doc