Skip to content

Commit c710b95

Browse files
authored
Merge pull request #155 from HackYourFutureProjects/FE/privacy_policy
feat: add privacy policy, terms and conditions, and return policy pages
2 parents 27d7655 + cefa7fe commit c710b95

8 files changed

Lines changed: 565 additions & 18 deletions

File tree

client/package-lock.json

Lines changed: 26 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/src/components/footer/Footer.tsx

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,44 @@
1+
import { Link } from "react-router-dom";
2+
import { publicRoutesVariables } from "../../router/routesVariables/pathVariables";
3+
14
export default function Footer({ className }: { className?: string }) {
25
return (
36
<footer
47
className={
58
className || "relative bg-[#1a161f] backdrop-blur-md w-full py-8 pl-6"
69
}
710
>
8-
<div className="max-w-7xl mx-auto px-4 flex flex-col lg:flex-row justify-between items-start lg:items-center text-white gap-8 lg:gap-0">
9-
<div className="max-w-sm w-full lg:w-auto">
10-
<h3 className="font-bold text-2xl mb-4">StudyBridge</h3>
11-
<p className="text-sm opacity-65 leading-6">
11+
<div className="flex lg:flex-row flex-col justify-between items-start lg:items-center gap-8 lg:gap-0 mx-auto px-4 max-w-7xl text-white">
12+
<div className="w-full lg:w-auto max-w-sm">
13+
<h3 className="mb-4 font-bold text-2xl">StudyBridge</h3>
14+
<p className="opacity-65 text-sm leading-6">
1215
Our platform offers an easy-to-use learning experience with video
1316
lessons, live video calls, and fast, secure payments — all in one
1417
place.
1518
</p>
1619
</div>
1720

1821
<div className="w-full lg:w-36">
19-
<h4 className="text-sm opacity-65 mb-4">Legal</h4>
20-
<div className="text-base space-y-2">
21-
<p>Privacy Policy</p>
22-
<p>Terms & Conditions</p>
23-
<p>Return Policy</p>
22+
<h4 className="opacity-65 mb-4 text-sm">Legal</h4>
23+
<div className="space-y-2 text-base">
24+
<Link
25+
to={publicRoutesVariables.privacyPolicy}
26+
className="block hover:text-gray-300 hover:underline transition-colors cursor-pointer"
27+
>
28+
Privacy Policy
29+
</Link>
30+
<Link
31+
to={publicRoutesVariables.termsAndConditions}
32+
className="block hover:text-gray-300 hover:underline transition-colors cursor-pointer"
33+
>
34+
Terms & Conditions
35+
</Link>
36+
<Link
37+
to={publicRoutesVariables.returnPolicy}
38+
className="block hover:text-gray-300 hover:underline transition-colors cursor-pointer"
39+
>
40+
Return Policy
41+
</Link>
2442
</div>
2543
</div>
2644
</div>

0 commit comments

Comments
 (0)