diff --git a/frontend/components/languages/language-card-item.tsx b/frontend/components/languages/language-card-item.tsx index f55afad..7c39ed7 100644 --- a/frontend/components/languages/language-card-item.tsx +++ b/frontend/components/languages/language-card-item.tsx @@ -11,7 +11,7 @@ const LanguageCardItem = ({ data }: LanguageCardItemProps) => { const { author, company, icon, link, name, predecessors, yearOfCreation } = data; return ( -
+
{icon} diff --git a/frontend/components/languages/language-card.tsx b/frontend/components/languages/language-card.tsx index 434f95f..8c906a5 100644 --- a/frontend/components/languages/language-card.tsx +++ b/frontend/components/languages/language-card.tsx @@ -66,7 +66,7 @@ const languages: LightLanguage[] = [ const LanguageCard = () => { return ( -
+
{languages.map((language) => ( ))} diff --git a/frontend/components/layout/public/header.tsx b/frontend/components/layout/public/header.tsx index 706d10d..1cd4af2 100644 --- a/frontend/components/layout/public/header.tsx +++ b/frontend/components/layout/public/header.tsx @@ -26,26 +26,17 @@ const PublicHeader = () => {
- + Home - + Documentation - + GraphQL @@ -76,26 +67,16 @@ const PublicHeader = () => { {isMenuOpened && (
- - Home - + Home - - Documentation - + Documentation - - GraphQL - + GraphQL - + GitHub Repository diff --git a/frontend/hooks/useAxios.ts b/frontend/hooks/useAxios.ts index 55b4425..f0250dd 100644 --- a/frontend/hooks/useAxios.ts +++ b/frontend/hooks/useAxios.ts @@ -25,9 +25,9 @@ export const useAxios = (apiPath?: string) => { }; export const usePublicClient = () => { - return useAxios('api'); + return useAxios(); }; export const usePrivateClient = () => { return useAxios('private'); -}; \ No newline at end of file +}; diff --git a/frontend/styles/globals.css b/frontend/styles/globals.css index 003f61f..0105605 100644 --- a/frontend/styles/globals.css +++ b/frontend/styles/globals.css @@ -21,4 +21,10 @@ a { .wp-45 { width: 45%; +} +.navbar-link { + @apply text-black hover:text-gray-800 dark:hover:text-white px-3 py-2 rounded-md text-base font-light +} +.mobile-navbar-link { + @apply text-gray-800 hover:text-gray-300 block px-3 py-2 rounded-md text-base font-medium } \ No newline at end of file