mirror of
https://github.com/Amperra-Group/xcs.git
synced 2025-08-17 05:42:13 -06:00
Add new images, update Footer and Home components, and enhance navigation with Storefront links
This commit is contained in:
parent
0c2a28063e
commit
77922dcfe3
BIN
public/images/_95b8f045-1e51-438c-b82f-497af3764144.jpg
Normal file
BIN
public/images/_95b8f045-1e51-438c-b82f-497af3764144.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 179 KiB |
BIN
public/images/earlyAdopter.png
Normal file
BIN
public/images/earlyAdopter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
Binary file not shown.
Before Width: | Height: | Size: 429 KiB |
BIN
public/images/home-hero.png
Normal file
BIN
public/images/home-hero.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 224 KiB |
BIN
public/images/login4.png
Normal file
BIN
public/images/login4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
|
@ -22,6 +22,8 @@ export default function Footer({ type = 'platform' }: { type?: 'public' | 'platf
|
||||||
align={'center'}
|
align={'center'}
|
||||||
justify={'center'}
|
justify={'center'}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<Flex align={'center'} justify={'center'} fontSize={'sm'}>
|
||||||
<Text>
|
<Text>
|
||||||
<Text
|
<Text
|
||||||
as={'span'}
|
as={'span'}
|
||||||
|
@ -32,16 +34,23 @@ export default function Footer({ type = 'platform' }: { type?: 'public' | 'platf
|
||||||
</Text>{' '}
|
</Text>{' '}
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
</Text>
|
</Text>
|
||||||
|
<Divider
|
||||||
|
orientation={'vertical'}
|
||||||
|
mx={2}
|
||||||
|
h={'1rem'}
|
||||||
|
borderColor={useColorModeValue('gray.300', 'gray.700')}
|
||||||
|
/>
|
||||||
<Text>
|
<Text>
|
||||||
System hosted by
|
System hosted and forked by{' '}
|
||||||
<Text
|
<Text
|
||||||
as={'span'}
|
as={'span'}
|
||||||
fontWeight={'bold'}
|
fontWeight={'bold'}
|
||||||
letterSpacing={'tight'}
|
letterSpacing={'tight'}
|
||||||
>
|
>
|
||||||
PT Amperra Sambung Semesta Sentosa
|
PT Amperra Sambung Semesta Sentosa
|
||||||
</Text>{' '}
|
|
||||||
</Text>
|
</Text>
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
<Flex align={'center'} justify={'center'} fontSize={'sm'}>
|
<Flex align={'center'} justify={'center'} fontSize={'sm'}>
|
||||||
<Link
|
<Link
|
||||||
as={NextLink}
|
as={NextLink}
|
||||||
|
|
|
@ -54,7 +54,7 @@ export default function Home({ allPostsData: posts }: { allPostsData: any }) {
|
||||||
w={'full'}
|
w={'full'}
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
src={'/images/home-hero.jpg'}
|
src={'/images/home-hero.png'}
|
||||||
alt={'Home Image'}
|
alt={'Home Image'}
|
||||||
w={"full"}
|
w={"full"}
|
||||||
height={"full"}
|
height={"full"}
|
||||||
|
@ -64,7 +64,50 @@ export default function Home({ allPostsData: posts }: { allPostsData: any }) {
|
||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
{/* <Flex
|
<Flex
|
||||||
|
minH={'50vh'}
|
||||||
|
maxW={'container.xl'}
|
||||||
|
mx={{ base: 4, md: 16 }}
|
||||||
|
py={16}
|
||||||
|
borderBottom={'1px solid'}
|
||||||
|
borderColor={useColorModeValue('blackAlpha.900', 'whiteAlpha.900')}
|
||||||
|
>
|
||||||
|
<Box
|
||||||
|
flexGrow={1}
|
||||||
|
flexBasis={1}
|
||||||
|
display={{ base: 'none', md: 'block' }}
|
||||||
|
>
|
||||||
|
<Heading
|
||||||
|
size={'xl'}
|
||||||
|
fontWeight={'400'}
|
||||||
|
pb={2}
|
||||||
|
>
|
||||||
|
Apa itu Restrafes XCS?
|
||||||
|
</Heading>
|
||||||
|
</Box>
|
||||||
|
<Box
|
||||||
|
flexGrow={1}
|
||||||
|
flexBasis={1}
|
||||||
|
>
|
||||||
|
<Heading
|
||||||
|
size={'xl'}
|
||||||
|
fontWeight={'400'}
|
||||||
|
pb={2}
|
||||||
|
>
|
||||||
|
What is Restrafes XCS?
|
||||||
|
</Heading>
|
||||||
|
<Text fontSize={'xl'}>
|
||||||
|
Restrafes XCS is a powerful access control system designed to help you manage access points for your
|
||||||
|
building. With Restrafes XCS, you can easily and securely control who has access to your property, including
|
||||||
|
employees and visitors. The system is highly customizable, allowing you to set access levels and permissions
|
||||||
|
for different users, and offers a range of advanced features such as real-time monitoring, reporting, and
|
||||||
|
reverse-compatibility with other systems. Whether you're looking to enhance the security of your
|
||||||
|
business or residential property, Restrafes XCS provides the flexibility and reliability you need
|
||||||
|
to manage access with confidence.
|
||||||
|
</Text>
|
||||||
|
</Box>
|
||||||
|
</Flex>
|
||||||
|
<Flex
|
||||||
flexDir={'column'}
|
flexDir={'column'}
|
||||||
minH={'50vh'}
|
minH={'50vh'}
|
||||||
w={'container.xl'}
|
w={'container.xl'}
|
||||||
|
@ -106,49 +149,6 @@ export default function Home({ allPostsData: posts }: { allPostsData: any }) {
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Box>
|
</Box>
|
||||||
</Flex> */}
|
|
||||||
<Flex
|
|
||||||
minH={'50vh'}
|
|
||||||
maxW={'container.xl'}
|
|
||||||
mx={{ base: 4, md: 16 }}
|
|
||||||
py={16}
|
|
||||||
borderBottom={'1px solid'}
|
|
||||||
borderColor={useColorModeValue('blackAlpha.900', 'whiteAlpha.900')}
|
|
||||||
>
|
|
||||||
<Box
|
|
||||||
flexGrow={1}
|
|
||||||
flexBasis={1}
|
|
||||||
display={{ base: 'none', md: 'block' }}
|
|
||||||
>
|
|
||||||
<Heading
|
|
||||||
size={'xl'}
|
|
||||||
fontWeight={'400'}
|
|
||||||
pb={2}
|
|
||||||
>
|
|
||||||
Qu'est-ce que Restrafes XCS?
|
|
||||||
</Heading>
|
|
||||||
</Box>
|
|
||||||
<Box
|
|
||||||
flexGrow={1}
|
|
||||||
flexBasis={1}
|
|
||||||
>
|
|
||||||
<Heading
|
|
||||||
size={'xl'}
|
|
||||||
fontWeight={'400'}
|
|
||||||
pb={2}
|
|
||||||
>
|
|
||||||
What is Restrafes XCS?
|
|
||||||
</Heading>
|
|
||||||
<Text fontSize={'xl'}>
|
|
||||||
Restrafes XCS is a powerful access control system designed to help you manage access points for your
|
|
||||||
building. With Restrafes XCS, you can easily and securely control who has access to your property, including
|
|
||||||
employees and visitors. The system is highly customizable, allowing you to set access levels and permissions
|
|
||||||
for different users, and offers a range of advanced features such as real-time monitoring, reporting, and
|
|
||||||
reverse-compatibility with other systems. Whether you're looking to enhance the security of your
|
|
||||||
business or residential property, Restrafes XCS provides the flexibility and reliability you need
|
|
||||||
to manage access with confidence.
|
|
||||||
</Text>
|
|
||||||
</Box>
|
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex
|
<Flex
|
||||||
flexDir={{ base: 'column', md: 'row' }}
|
flexDir={{ base: 'column', md: 'row' }}
|
||||||
|
|
|
@ -180,6 +180,13 @@ export default function Nav({ type }: { type?: string }) {
|
||||||
Blog
|
Blog
|
||||||
<Icon as={BsArrowUpRight} ml={1} h={3} />
|
<Icon as={BsArrowUpRight} ml={1} h={3} />
|
||||||
</NavLink> */}
|
</NavLink> */}
|
||||||
|
<NavLink
|
||||||
|
href={'https://store.ryj.my.id'}
|
||||||
|
pathname={pathname as string}
|
||||||
|
>
|
||||||
|
Storefront
|
||||||
|
<Icon as={BsArrowUpRight} ml={1} h={3} />
|
||||||
|
</NavLink>
|
||||||
<NavLink
|
<NavLink
|
||||||
href={'/auth/login'}
|
href={'/auth/login'}
|
||||||
pathname={pathname as string}
|
pathname={pathname as string}
|
||||||
|
|
|
@ -35,7 +35,7 @@ import {
|
||||||
import { HamburgerIcon } from '@chakra-ui/icons';
|
import { HamburgerIcon } from '@chakra-ui/icons';
|
||||||
|
|
||||||
import { AiFillHome, AiFillInfoCircle, AiFillSetting } from 'react-icons/ai';
|
import { AiFillHome, AiFillInfoCircle, AiFillSetting } from 'react-icons/ai';
|
||||||
import { BiSolidExit, BiSolidNotification, BiSolidTime } from 'react-icons/bi';
|
import { BiSolidExit, BiSolidNotification, BiSolidTime, BiSolidStoreAlt } from 'react-icons/bi';
|
||||||
import { FaBell, FaBuilding, FaIdBadge } from 'react-icons/fa';
|
import { FaBell, FaBuilding, FaIdBadge } from 'react-icons/fa';
|
||||||
import { ImTree } from 'react-icons/im';
|
import { ImTree } from 'react-icons/im';
|
||||||
import { IoHomeSharp } from 'react-icons/io5';
|
import { IoHomeSharp } from 'react-icons/io5';
|
||||||
|
@ -471,6 +471,14 @@ export default function PlatformNav({ type, title }: { type?: string; title?: st
|
||||||
>
|
>
|
||||||
Help & Information
|
Help & Information
|
||||||
</NavLink>
|
</NavLink>
|
||||||
|
<NavLink
|
||||||
|
href={'https://xcs-docs.restrafes.co/'}
|
||||||
|
target={'_blank'}
|
||||||
|
pathname={pathname}
|
||||||
|
leftIcon={<BiSolidStoreAlt />}
|
||||||
|
>
|
||||||
|
Storefront
|
||||||
|
</NavLink>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{(!isAuthLoaded || currentUser) ? (
|
{(!isAuthLoaded || currentUser) ? (
|
||||||
|
|
|
@ -8,10 +8,10 @@ import {
|
||||||
Flex,
|
Flex,
|
||||||
FormControl,
|
FormControl,
|
||||||
FormLabel,
|
FormLabel,
|
||||||
|
Image,
|
||||||
Input,
|
Input,
|
||||||
InputGroup,
|
InputGroup,
|
||||||
InputLeftElement,
|
InputLeftElement,
|
||||||
Image,
|
|
||||||
Link,
|
Link,
|
||||||
Modal,
|
Modal,
|
||||||
ModalBody,
|
ModalBody,
|
||||||
|
@ -171,16 +171,16 @@ export default function Login() {
|
||||||
maxW={"container.md"}
|
maxW={"container.md"}
|
||||||
overflow={'hidden'}
|
overflow={'hidden'}
|
||||||
height={{ base: 'auto', md: '500px' }}
|
height={{ base: 'auto', md: '500px' }}
|
||||||
// boxShadow={'rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;'}
|
boxShadow={'rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;'}
|
||||||
>
|
>
|
||||||
<Image flex={"0 0 auto"} display={{ base: "none", md: "flex" }} src={'/images/login4.jpeg'} alt={'Login'} objectFit={'cover'} w={'sm'} h={"full"} />
|
<Image flex={"0 0 auto"} display={{ base: "none", md: "flex" }} src={'/images/login4.png'} alt={'Login'} objectFit={'cover'} w={'sm'} h={"full"} />
|
||||||
<Flex flex={"0 0 auto"} display={{ base: "none", md: "flex" }} objectFit={'cover'} w={'sm'} h={"full"} flexDir={'column'}>
|
{/* <Flex flex={"0 0 auto"} display={{ base: "none", md: "flex" }} objectFit={'cover'} w={'sm'} h={"full"} flexDir={'column'}>
|
||||||
<Box
|
<Box
|
||||||
backgroundColor={useColorModeValue('gray.200', 'gray.700')}
|
backgroundColor={useColorModeValue('gray.200', 'gray.700')}
|
||||||
w={'full'}
|
w={'full'}
|
||||||
h={'full'}
|
h={'full'}
|
||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex> */}
|
||||||
<Flex flex={"1 1 auto"} flexDir={'column'} justify={"center"} align={"flex-start"} py={8} px={10}>
|
<Flex flex={"1 1 auto"} flexDir={'column'} justify={"center"} align={"flex-start"} py={8} px={10}>
|
||||||
<Box
|
<Box
|
||||||
w={'full'}
|
w={'full'}
|
||||||
|
@ -189,7 +189,7 @@ export default function Login() {
|
||||||
fontSize={"3xl"}
|
fontSize={"3xl"}
|
||||||
fontWeight={'bold'}
|
fontWeight={'bold'}
|
||||||
>
|
>
|
||||||
Welcome! welcome to City 17.
|
Welcome!
|
||||||
</Text>
|
</Text>
|
||||||
<Text color={"gray.500"} fontSize={'md'}>Please present your credentials to continue.</Text>
|
<Text color={"gray.500"} fontSize={'md'}>Please present your credentials to continue.</Text>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
Loading…
Reference in a new issue