Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember Me and Forgot Password Functionality with its Backend Logic #283

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 9 additions & 28 deletions client/src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import lang from "../../utils/langaugeConstant";
import { useSelector } from "react-redux";

const Footer = () => {

const langKey=useSelector((store)=>store.config.lang)
const langKey = useSelector((store) => store.config.lang);

return (
<footer className="bg-white dark:bg-gray-900">
Expand All @@ -20,52 +19,34 @@ const Footer = () => {
</Link>
<ul className="flex flex-wrap items-center mb-6 text-sm font-medium text-gray-500 sm:mb-0 dark:text-gray-400">
<li>

<Link to="/about" className="hover:underline me-4 md:me-6">
About
</Link>

<a href="/about" className="hover:underline me-4 md:me-6">
{lang[langKey].About}
</a>

</Link>
</li>
<li>
<Link
to="/privacy-policy"
className="hover:underline me-4 md:me-6"
>
Privacy Policy
{lang[langKey].PrivacyPolicy}
</Link>
</li>
<li>
<Link to="/licensing" className="hover:underline me-4 md:me-6">
Licensing
{lang[langKey].Licensing}
</Link>
</li>
<li>
<Link to="/contact" className="hover:underline">
Contact
</Link>
{lang[langKey].PrivacyPolicy}
</a>
</li>
<li>
<a href="/licensing" className="hover:underline me-4 md:me-6">
{lang[langKey].Licensing}
</a>
</li>
<li>
<a href="/contact" className="hover:underline">
{lang[langKey].Contact}
</a>
</Link>
</li>
</ul>
</div>
<hr class="my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8" />
<span class="block text-sm text-gray-500 sm:text-center dark:text-gray-400">
© {new Date().getFullYear()}
<Link to="/" class="hover:underline">
<hr className="my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8" />
<span className="block text-sm text-gray-500 sm:text-center dark:text-gray-400">
© {new Date().getFullYear()}{" "}
<Link to="/" className="hover:underline">
ExamTime
</Link>
. All Rights Reserved.
Expand Down
Loading