|
| 1 | +import { Link } from "react-router-dom"; |
| 2 | +import { publicRoutesVariables } from "../../router/routesVariables/pathVariables"; |
| 3 | + |
1 | 4 | export default function Footer({ className }: { className?: string }) { |
2 | 5 | return ( |
3 | 6 | <footer |
4 | 7 | className={ |
5 | 8 | className || "relative bg-[#1a161f] backdrop-blur-md w-full py-8 pl-6" |
6 | 9 | } |
7 | 10 | > |
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"> |
12 | 15 | Our platform offers an easy-to-use learning experience with video |
13 | 16 | lessons, live video calls, and fast, secure payments — all in one |
14 | 17 | place. |
15 | 18 | </p> |
16 | 19 | </div> |
17 | 20 |
|
18 | 21 | <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> |
24 | 42 | </div> |
25 | 43 | </div> |
26 | 44 | </div> |
|
0 commit comments