-
- This website uses cookies to enhance the user experience. if you
- are interested to know about our cookie policy then{" "}
-
- check out
- {" "}
- here
-
+
);
};
diff --git a/ui/src/pages/Footer/CookieConsent/utils/constants.ts b/ui/src/pages/Footer/CookieConsent/utils/constants.ts
new file mode 100644
index 00000000..a3a40ebd
--- /dev/null
+++ b/ui/src/pages/Footer/CookieConsent/utils/constants.ts
@@ -0,0 +1,24 @@
+const GOOGLE_ANALYTICS_ID = "G-9K8N22TZZS";
+const GOOGLE_ANALYTICS_COOKIES = ["_ga", "_gat", "_gid"];
+const HIT_TYPE = "pageview";
+
+const COOKIE_CONSENT_STYLES = {
+ maxWidth: "350px",
+ margin: "20px",
+ borderRadius: "10px",
+ fontSize: "17px",
+};
+
+const BUTTON_STYLES = {
+ padding: "8px 20px",
+ fontSize: "17px",
+ borderRadius: "2px",
+};
+
+export {
+ GOOGLE_ANALYTICS_ID,
+ GOOGLE_ANALYTICS_COOKIES,
+ HIT_TYPE,
+ COOKIE_CONSENT_STYLES,
+ BUTTON_STYLES,
+};
diff --git a/ui/src/pages/PrivacyPolicy/PrivacyPolicy.module.scss b/ui/src/pages/Footer/PrivacyPolicy/PrivacyPolicy.module.scss
similarity index 100%
rename from ui/src/pages/PrivacyPolicy/PrivacyPolicy.module.scss
rename to ui/src/pages/Footer/PrivacyPolicy/PrivacyPolicy.module.scss
diff --git a/ui/src/pages/PrivacyPolicy/index.tsx b/ui/src/pages/Footer/PrivacyPolicy/index.tsx
similarity index 100%
rename from ui/src/pages/PrivacyPolicy/index.tsx
rename to ui/src/pages/Footer/PrivacyPolicy/index.tsx
diff --git a/ui/src/pages/Terms/Terms.module.scss b/ui/src/pages/Footer/Terms/Terms.module.scss
similarity index 100%
rename from ui/src/pages/Terms/Terms.module.scss
rename to ui/src/pages/Footer/Terms/Terms.module.scss
diff --git a/ui/src/pages/Terms/index.tsx b/ui/src/pages/Footer/Terms/index.tsx
similarity index 100%
rename from ui/src/pages/Terms/index.tsx
rename to ui/src/pages/Footer/Terms/index.tsx
diff --git a/ui/src/pages/Routes/utils/constant.tsx b/ui/src/pages/Routes/utils/constant.tsx
index 8d4ce91d..5ef8e90b 100644
--- a/ui/src/pages/Routes/utils/constant.tsx
+++ b/ui/src/pages/Routes/utils/constant.tsx
@@ -29,6 +29,7 @@ import {
Pixel,
Platform,
Plugin,
+ PrivacyPolicy,
QRcode,
ShadesAndTints,
Sorting,
@@ -42,7 +43,6 @@ import {
UiUx,
YouTube,
} from "pages/pages";
-import PrivacyPolicy from "pages/PrivacyPolicy";
export const routes: Route[] = [
{
@@ -314,6 +314,7 @@ export const routes: Route[] = [
title: "About",
description: "All the juicy details about us.",
component: About,
+ isFeature: false,
},
{
id: "feedback",
@@ -321,6 +322,7 @@ export const routes: Route[] = [
title: "Feedback",
description: "We're all ears for your cheers or jeers.",
component: Feedback,
+ isFeature: false,
},
{
id: "terms",
@@ -328,6 +330,7 @@ export const routes: Route[] = [
title: "",
description: "",
component: Terms,
+ isFeature: false,
},
{
id: "privacypolicy",
@@ -335,6 +338,7 @@ export const routes: Route[] = [
title: "",
description: "",
component: PrivacyPolicy,
+ isFeature: false,
},
{
id: "pagenotfound",
@@ -342,6 +346,7 @@ export const routes: Route[] = [
title: "Page Not Found",
description: "",
component: PageNotFound,
+ isFeature: false,
},
];
diff --git a/ui/src/pages/pages.ts b/ui/src/pages/pages.ts
index 164afedc..292a240c 100644
--- a/ui/src/pages/pages.ts
+++ b/ui/src/pages/pages.ts
@@ -5,8 +5,8 @@ const News = lazy(() => import("pages/Newsfeed"));
const About = lazy(() => import("pages/About"));
const Feedback = lazy(() => import("pages/Feedback"));
const PageNotFound = lazy(() => import("pages/PageNotFound"));
-const Terms = lazy(() => import("pages/Terms"));
-const PrivacyPolicy = lazy(() => import("pages/PrivacyPolicy"));
+const Terms = lazy(() => import("pages/Footer/Terms"));
+const PrivacyPolicy = lazy(() => import("pages/Footer/PrivacyPolicy"));
const ColorPicker = lazy(() => import("pages/Colors/ColorPicker"));
const ShadesAndTints = lazy(() => import("pages/Colors/ShadesAndTints"));