diff --git a/components/cookies-consent/index.tsx b/components/cookies-consent/index.tsx index 3f5c80c..17970b6 100644 --- a/components/cookies-consent/index.tsx +++ b/components/cookies-consent/index.tsx @@ -19,31 +19,27 @@ const CookiesConsentBanner = () => { [setChose] ); - return ( - <> - {chose === 'NA' && ( -
- - This website uses cookies to ensure to gather anonymous data for statistical purposes. If you decline we - will stop to track your session. - -
- - -
-
- )} - - ); + return chose === 'NA' ? ( +
+ + This website uses cookies to ensure to gather anonymous data for statistical purposes. If you decline we will + stop to track your session. + +
+ + +
+
+ ) : null; }; export const CookieConsentProvider = ({ children }: { children: React.ReactNode }) => { diff --git a/pages/index.tsx b/pages/index.tsx index 57bfc02..3753c63 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -37,52 +37,48 @@ const Home: NextPage = ({ about, applications, features, resources, c ))} -
-
- -
{about.about}
-
+
+ +
{about.about}
+
- - {applications.map(({ attributes }) => ( - - ))} - + + {applications.map(({ attributes }) => ( + + ))} + - - {features.map(({ attributes }) => ( - - ))} - + + {features.map(({ attributes }) => ( + + ))} + - - <> -
-

Dicoogle is a free and open source software.

-

The code is available and you can freely contribute to its development.

+ +
+

Dicoogle is a free and open source software.

+

The code is available and you can freely contribute to its development.

-

- Dicoogle source code is under{' '} - - - GNU General Public License v3.0. - - -

-
+

+ Dicoogle source code is under{' '} + + + GNU General Public License v3.0. + + +

+
- {resources.map(({ attributes }) => ( -
-
+ {resources.map(({ attributes }) => ( +