+ Cookies are small text files that are stored on your device when you visit websites.
+ They are used to remember information about you, such as your login details, preferences, and browsing history.
+ Cookies help enhance your browsing experience by allowing websites to remember your actions and preferences over time,
+ ensuring that you don’t have to re-enter information each time you visit a site.
+ They also help website owners analyze traffic and user behavior to improve their services.
+ Read our Privacy Policy for more details
+
+ These cookies are essential for the website to function properly.
+ They enable basic functions like page navigation, secure login,
+ and access to protected areas of the site. Without these cookies,
+ the website cannot perform properly.
+
+ );
+};
+
+const CookieSettings: React.FC = () => {
+ const [expandedIndex, setExpandedIndex] = useState(null);
+ const [checkedStates, setCheckedStates] = useState<{ [key: string]: boolean }>({});
+
+ const cookieSettings = [
+ {
+ title: "Performance Cookies",
+ id: "pc",
+ description: "These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site."
+ },
+ {
+ title: "Functional Cookies",
+ id: "fc",
+ description: "These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages."
+ },
+ {
+ title: "Targeting Cookies",
+ id: "tc",
+ description: "These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites."
+ }
+ ];
+
+ const handleToggle = (index: number) => {
+ setExpandedIndex(expandedIndex === index ? null : index);
+ };
+
+ const handleCheckChange = (id: string, checked: boolean) => {
+ setCheckedStates(prev => ({ ...prev, [id]: checked }));
+ };
+
+ return (
+