Skip to content
Snippets Groups Projects
Commit 53bf4829 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

show cookie banner always

parent 198c79b6
No related branches found
No related tags found
1 merge request!275Resolve "cookie banner for matomo"
...@@ -35,7 +35,7 @@ export const CookieBanner = (): React.ReactNode => { ...@@ -35,7 +35,7 @@ export const CookieBanner = (): React.ReactNode => {
); );
}; };
if (!visible || accepted || !cookiePolicyUrl) { if (!visible || accepted) {
return null; return null;
} }
...@@ -43,11 +43,15 @@ export const CookieBanner = (): React.ReactNode => { ...@@ -43,11 +43,15 @@ export const CookieBanner = (): React.ReactNode => {
<div className="absolute bottom-8 left-1/2 z-10 -translate-x-1/2 rounded-lg bg-white p-6 drop-shadow"> <div className="absolute bottom-8 left-1/2 z-10 -translate-x-1/2 rounded-lg bg-white p-6 drop-shadow">
<h4 className="text-2xl font-bold">We use cookies!</h4> <h4 className="text-2xl font-bold">We use cookies!</h4>
<p className="my-4 leading-loose"> <p className="my-4 leading-loose">
Minerva platform uses essential cookies to ensure its proper operation. For any queries in Minerva platform uses essential cookies to ensure its proper operation.
relation to our policy on cookies and your choices, please{' '} {cookiePolicyUrl && (
<Link href={cookiePolicyUrl} className="font-semibold text-[#1C00DE]"> <p>
read here For any queries in relation to our policy on cookies and your choices, please{' '}
</Link> <Link href={cookiePolicyUrl} className="font-semibold text-[#1C00DE]">
read here
</Link>
</p>
)}
</p> </p>
<Button <Button
className="h-10 w-36 justify-center" className="h-10 w-36 justify-center"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment