Files
vf_react/src/views/Authentication/SignUp/SignUpCover.js
2025-10-11 16:16:02 +08:00

235 lines
6.5 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
=========================================================
* Argon Dashboard Chakra PRO - v1.0.0
=========================================================
* Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro
* Copyright 2022 Creative Tim (https://www.creative-tim.com/)
* Designed and Coded by Simmmple & Creative Tim
=========================================================
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/
// Chakra imports
import {
Button,
Flex,
FormControl,
FormLabel,
HStack,
Icon,
Input,
Link,
Switch,
Text,
useColorModeValue,
} from "@chakra-ui/react";
// Assets
import CoverImage from "assets/img/CoverImage.png";
import React from "react";
import { FaApple, FaFacebook, FaGoogle } from "react-icons/fa";
import AuthCover from "layouts/AuthCover";
function SignUpCover() {
// Chakra color mode
const textColor = useColorModeValue("gray.400", "white");
const bgForm = useColorModeValue("white", "navy.800");
const titleColor = useColorModeValue("gray.700", "blue.500");
const colorIcons = useColorModeValue("gray.700", "white");
const bgIcons = useColorModeValue("trasnparent", "navy.700");
const bgIconsHover = useColorModeValue("gray.50", "whiteAlpha.100");
return (
<AuthCover image={CoverImage}>
<Flex
w="100%"
h="100%"
alignItems="center"
justifyContent="center"
mb="60px"
mt={{ base: "60px", md: "160px" }}
>
<Flex
zIndex="2"
direction="column"
w="445px"
background="transparent"
borderRadius="15px"
p="40px"
mx={{ base: "100px" }}
mb={{ base: "20px", md: "auto" }}
bg={bgForm}
boxShadow={useColorModeValue(
"0px 5px 14px rgba(0, 0, 0, 0.05)",
"unset"
)}
>
<Text
fontSize="xl"
color={textColor}
fontWeight="bold"
textAlign="center"
mb="22px"
>
Sign In with
</Text>
<HStack spacing="15px" justify="center" mb="22px">
<Flex
justify="center"
align="center"
w="75px"
h="75px"
borderRadius="8px"
border={useColorModeValue("1px solid", "0px")}
borderColor="gray.200"
cursor="pointer"
transition="all .25s ease"
bg={bgIcons}
_hover={{ bg: bgIconsHover }}
>
<Link href="#">
<Icon as={FaFacebook} color={colorIcons} w="30px" h="30px" />
</Link>
</Flex>
<Flex
justify="center"
align="center"
w="75px"
h="75px"
borderRadius="8px"
border={useColorModeValue("1px solid", "0px")}
borderColor="gray.200"
cursor="pointer"
transition="all .25s ease"
bg={bgIcons}
_hover={{ bg: bgIconsHover }}
>
<Link href="#">
<Icon
as={FaApple}
color={colorIcons}
w="30px"
h="30px"
_hover={{ filter: "brightness(120%)" }}
/>
</Link>
</Flex>
<Flex
justify="center"
align="center"
w="75px"
h="75px"
borderRadius="8px"
border={useColorModeValue("1px solid", "0px")}
borderColor="gray.200"
cursor="pointer"
transition="all .25s ease"
bg={bgIcons}
_hover={{ bg: bgIconsHover }}
>
<Link href="#">
<Icon
as={FaGoogle}
color={colorIcons}
w="30px"
h="30px"
_hover={{ filter: "brightness(120%)" }}
/>
</Link>
</Flex>
</HStack>
<Text
fontSize="lg"
color="gray.400"
fontWeight="bold"
textAlign="center"
mb="22px"
>
or
</Text>
<FormControl>
<FormLabel ms="4px" fontSize="sm" fontWeight="normal">
Name
</FormLabel>
<Input
variant="auth"
fontSize="sm"
ms="4px"
type="text"
placeholder="Your full name"
mb="24px"
size="lg"
/>
<FormLabel ms="4px" fontSize="sm" fontWeight="normal">
Email
</FormLabel>
<Input
variant="auth"
fontSize="sm"
ms="4px"
type="email"
placeholder="Your full email adress"
mb="24px"
size="lg"
/>
<FormLabel ms="4px" fontSize="sm" fontWeight="normal">
Password
</FormLabel>
<Input
variant="auth"
fontSize="sm"
ms="4px"
type="password"
placeholder="Your password"
mb="24px"
size="lg"
/>
<FormControl display="flex" alignItems="center" mb="24px">
<Switch id="remember-login" colorScheme="blue" me="10px" />
<FormLabel htmlFor="remember-login" mb="0" fontWeight="normal">
Remember me
</FormLabel>
</FormControl>
<Button
fontSize="10px"
variant="dark"
fontWeight="bold"
w="100%"
h="45"
mb="24px"
>
SIGN IN
</Button>
</FormControl>
<Flex
flexDirection="column"
justifyContent="center"
alignItems="center"
maxW="100%"
mt="0px"
>
<Text color={textColor} fontWeight="medium">
Dont have an account?
<Link
color={titleColor}
as="span"
ms="5px"
href="#"
fontWeight="bold"
>
Sign up
</Link>
</Text>
</Flex>
</Flex>
</Flex>
</AuthCover>
);
}
export default SignUpCover;