feat: Implemented page for quick pay and send to beneficiary feature for own and outside bank

ci: Modify the design of login page
ci : modify the logic of home page, If no account is present then statement button change to apply now
This commit is contained in:
2025-07-21 17:57:16 +05:30
parent d997c961ed
commit e621f10824
7 changed files with 1390 additions and 98 deletions

View File

@@ -0,0 +1,30 @@
"use client";
import React, { useEffect, useRef, useState } from "react";
import { Button, Group, Modal, Paper, Radio, ScrollArea, Select, Stack, Text, TextInput, Title } from "@mantine/core";
import { notifications } from "@mantine/notifications";
import { useRouter } from "next/navigation";
export default function ViewBeneficiary() {
const router = useRouter();
const [authorized, setAuthorized] = useState<boolean | null>(null);
useEffect(() => {
const token = localStorage.getItem("access_token");
if (!token) {
setAuthorized(false);
router.push("/login");
} else {
setAuthorized(true);
}
}, []);
if (!authorized) return null;
return (
<Paper shadow="sm" radius="md" p="md" withBorder h={400}>
<Text>View beneficiary feature coming soon.</Text>
</Paper>
);
}