@@ -0,0 +1,25 @@
|
||||
import CookieConsent from "react-cookie-consent";
|
||||
|
||||
import React, { Component } from 'react';
|
||||
|
||||
|
||||
class Cookies extends Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<CookieConsent
|
||||
location="bottom"
|
||||
buttonText="Okay!!"
|
||||
cookieName="cookieConsent"
|
||||
style={{ background: "#2B373B" }}
|
||||
buttonStyle={{ background: "white", color: "#4EAF47", fontSize: "1rem" }}
|
||||
expires={150}
|
||||
>
|
||||
This website uses cookies to enhance the user experience.{" "}
|
||||
</CookieConsent>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
export default Cookies;
|
||||
Reference in New Issue
Block a user