diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index aa0a67b..0a7d913 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -1,6 +1,6 @@ "use client" -import React from "react"; +import React, { useState } from "react"; import { Text, Button, Paper, TextInput, MantineProvider, Image, Box, Anchor, PasswordInput, Title, Checkbox, Card, Group, Flex, Stack } from "@mantine/core"; import myImage from '@/app/image/ebanking.jpg'; import bgImage from '@/app/image/media.jpg'; @@ -8,7 +8,13 @@ import frontPage from '@/app/image/ib_front_page.jpg' import NextImage from 'next/image'; import { Providers } from "@/app/providers"; -export default function Demo() { +export default function Login() { + const [CIF, SetCIF] = useState(''); + const [psw, SetPsw] = useState(''); + async function handleLogin() { + + + } return (
- + Welcome To KCC Bank Internet Banking

- +
{ + const input =e.currentTarget.value.replace(/\D/g,''); + if(input.length<=11) + { + SetCIF(input); + } + }} + style={{ flex: 1 }} + required />

- {/*

*/} - +