feat: Set up RTK query for the statemanagement

This commit is contained in:
2025-03-25 17:48:15 +05:30
parent 7e204690d3
commit 914501036d
70 changed files with 141275 additions and 205 deletions
+1 -7
View File
@@ -41,13 +41,7 @@ export const HeroSecn = () => {
<button
type="button"
className="text-black w-auto max-w-lg bg-white hover:bg-purple-200 font-medium rounded-full text-sm py-2 px-4 text-center"
>
{isLoggedIn ? (
<Link to={"/user/dashboard"}>Start Managing Your Farm</Link>
) : (
<Link to={"/user/login"}>Log In</Link>
)}
</button>
></button>
</div>
<div className="w-full md:w-4/5 object-contain flex justify-center items-center">
<img
+1 -1
View File
@@ -112,7 +112,7 @@ const Testimonial = () => {
symptoms.
</p>
<a
href="/predict"
href="/ai"
className="inline-flex font-medium items-center text-blue-600 hover:underline"
>
Check Out