updated
This commit is contained in:
12
index.html
12
index.html
@@ -20,5 +20,17 @@ const craftedMsg = "Crafted with ❤️ by WDI Team for a better web.";
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
function googleTranslateElementInit() {
|
||||
new google.translate.TranslateElement({
|
||||
pageLanguage: 'en',
|
||||
includedLanguages: `'en,ur,ar,mr,hi'`,
|
||||
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
|
||||
}, 'google_translate_element');
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
26
src/App.css
26
src/App.css
@@ -183,6 +183,32 @@
|
||||
background: #004118;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#google_translate_element {
|
||||
/* display: none; Hide the default Google Translate dropdown */
|
||||
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
opacity: 0.1;
|
||||
}
|
||||
.goog-te-banner-frame {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.goog-te-banner-frame.skiptranslate {
|
||||
display: none !important;
|
||||
}
|
||||
.goog-logo-link {
|
||||
display: none !important;
|
||||
}
|
||||
.goog-te-gadget {
|
||||
color: transparent !important;
|
||||
}
|
||||
|
||||
|
||||
@keyframes text {
|
||||
0% {
|
||||
color: #DE858E;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Box, Image, Text } from "@chakra-ui/react"
|
||||
import EmptySearchListImage from "../assets/EmptySearchList.svg"
|
||||
import EmptySearchListImage from "../assets/empty_state_empty_folder.svg"
|
||||
// import EmptySearchListImage from "../assets/EmptySearchList.svg"
|
||||
|
||||
const EmptySearchList = ({message}) => {
|
||||
return (
|
||||
|
||||
@@ -65,6 +65,7 @@ const HeaderMain = ({ link, btnTitle, title, icon, logOutHandler, slideDirecttio
|
||||
>
|
||||
<Avatar
|
||||
size="sm"
|
||||
boxSize={37}
|
||||
name="Dan Abrahmov"
|
||||
src={profile}
|
||||
/>
|
||||
|
||||
@@ -375,6 +375,10 @@ const DashboardLayout = () => {
|
||||
<ArrowRightIcon className="web-text-small " />
|
||||
)}
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Box id="google_translate_element" display="block" className="bg-danger" />
|
||||
</aside>
|
||||
)}
|
||||
|
||||
|
||||
@@ -110,11 +110,11 @@ const Sponser = () => {
|
||||
// />
|
||||
|
||||
item?.status ? (
|
||||
<Badge bg={'transparent'} color="green.500">
|
||||
<Badge variant='outline' colorScheme='green'>
|
||||
Passed
|
||||
</Badge>
|
||||
) : (
|
||||
<Badge bg={'transparent'} color="red.500">
|
||||
<Badge variant={'outline'} colorScheme="red">
|
||||
Not passes
|
||||
</Badge>
|
||||
),
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { Box, Image } from "@chakra-ui/react"
|
||||
import { Box, Image, Text } from "@chakra-ui/react"
|
||||
import error from "../assets/Error.svg"
|
||||
// import robot from "../assets/404.png"
|
||||
import robot from "../assets/robot.png"
|
||||
const NotFound = () => {
|
||||
return (
|
||||
|
||||
@@ -9,10 +11,10 @@ const NotFound = () => {
|
||||
justifyContent={'center'}
|
||||
alignItems={'center'}
|
||||
flexDirection={'column'}
|
||||
gap={5}
|
||||
gap={8}
|
||||
>
|
||||
<Image src={error} w={300} />
|
||||
{/* <Text color={'blue.800'} as={'span'} className='fw-bold'>No Internet !</Text> */}
|
||||
<Image src={robot} w={"171px"} />
|
||||
{/* <Text color={'green.800'} as={'span'} fontSize={'small'}>The requested URL was not found on this server.</Text> */}
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,23 +1,20 @@
|
||||
import { Box, Image, Text } from '@chakra-ui/react'
|
||||
import React from 'react'
|
||||
import noInternet from "../assets/Error.svg"
|
||||
// import noInternet from "../assets/Error.svg"
|
||||
import robot from "../assets/robot.png"
|
||||
|
||||
const UnderConstruction = ({title}) => {
|
||||
return (
|
||||
<Box
|
||||
w={'100vw'}
|
||||
h={'100vh'}
|
||||
display={'flex'}
|
||||
justifyContent={'center'}
|
||||
alignItems={'statr'}
|
||||
alignItems={'center'}
|
||||
flexDirection={'column'}
|
||||
ms={"30vw"}
|
||||
gap={8}
|
||||
>
|
||||
<Box w={300} className='d-flex justify-content-start align-items-center flex-column gap-2'>
|
||||
<Image src={noInternet} w={300} />
|
||||
<Text color={'purple.900'} as={'span'} className='fw-bold'>{title} Comming soon...</Text>
|
||||
</Box>
|
||||
<Image src={robot} w={"171px"} />
|
||||
{/* <Text color={'green.800'} as={'span'} fontSize={'small'}>The requested URL was not found on this server.</Text> */}
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
BIN
src/assets/404.png
Normal file
BIN
src/assets/404.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
1
src/assets/empty_state_empty_folder.svg
Normal file
1
src/assets/empty_state_empty_folder.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="1080" height="1080" viewBox="0 0 1080 1080" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)" stroke-width="4.5" stroke-linecap="round" stroke-linejoin="round"><path d="M1006.48 835.661L894.492 728.302c-11.211-10.747-29.012-10.371-39.759.84l-107.36 111.992c-10.747 11.211-10.371 29.012.84 39.759l111.993 107.36c11.211 10.747 29.011 10.371 39.759-.84L1007.32 875.42c10.75-11.211 10.38-29.011-.84-39.759z" fill="#F9DEDC" stroke="#F9DEDC"/><path d="M114.42 378.67l216.11-57.91c29.61-7.93 39.52-44.94 17.85-66.61L190.17 95.94c-21.67-21.67-58.68-11.76-66.61 17.85L65.65 329.9c-7.93 29.61 19.16 56.7 48.77 48.77z" fill="#1EA446" stroke="#1EA446"/><path d="M534.48 365.92l-27.95-57.5a23.525 23.525 0 0 0-21.14-13.23H257.24a23.5 23.5 0 0 0-23.5 23.5v515.92a23.268 23.268 0 0 0 23.28 23.27h676.44a23.27 23.27 0 0 0 23.26-23.27V389.19a23.269 23.269 0 0 0-23.27-23.27H534.48z" fill="#C2E7FF" stroke="#191C1E"/><path d="M502.51 339.4l-28-57.5a23.525 23.525 0 0 0-21.14-13.23h-228.1a23.5 23.5 0 0 0-23.5 23.5v515.92a23.269 23.269 0 0 0 23.27 23.27h676.45a23.273 23.273 0 0 0 23.23-23.27V362.67a23.269 23.269 0 0 0-23.27-23.27H502.51z" fill="#C2E7FF" stroke="#191C1E"/><path d="M550.53 311.13l-27.95-57.5a23.504 23.504 0 0 0-21.13-13.23H193.3a23.516 23.516 0 0 0-16.618 6.889 23.514 23.514 0 0 0-6.882 16.621v515.91a23.28 23.28 0 0 0 14.363 21.508 23.268 23.268 0 0 0 8.907 1.772h676.45a23.268 23.268 0 0 0 23.27-23.28V334.41a23.269 23.269 0 0 0-23.27-23.28H550.53z" fill="#fff" stroke="#191C1E"/><path d="M784.47 726.36c-13.94-22-29.77-41.85-44.09-55.74 19.91-8.48 38.17-8.5 48 1.81 10.73 11.36 8.45 32.33-3.91 53.93z" fill="#191C1E" stroke="#191C1E"/><path d="M712.78 399.31c-19.65-56-116 5.59-147.83-54.34-6.58-12.41-11.33-25-16.46-36.2a26.999 26.999 0 0 0 40.089-33.943 26.995 26.995 0 0 0-30.367-14.066 27 27 0 0 0-20.722 26.279c0 .77 0 1.54.1 2.29-9.45-12.77-22.68-20.54-46.42-18.56-49.83 4.15-60.95 53.83-60.95 53.83 22.15-3.27 22.29-9.72 32-13.06 15-5.15 16.15 24.55 20.13 34.19 6.18 15 16.12 9 23.29-9.9 6.67-17.55 34.45-16.22 24.07 23-7 26.55-27.34 95.61 6.26 88.46 15.35-3.26 37.55-23 53.82-10.49 27.11 20.89 39.24 65.45 39.24 65.45s98.56-60.72 83.75-102.94z" fill="#F7B804" stroke="#1F1F1F"/><path d="M819.46 803.09H458.95v-89.57l276.37-47.63c31.18 27.87 72.03 87.95 84.14 137.2z" fill="#C2E7FF" stroke="#C2E7FF"/><path d="M248.07 737.18c-24.16 60.42 13.28 65.92 13.28 65.92h488.37s-7.64-10.94-32.38-13c-253-21.49-361.6-92.54-361.6-92.54s95.1-233 60.65-257.75c-12.69-8.38-33.23-7.88-53.82 37.63-29.92 66.03-85.07 186.18-114.5 259.74z" fill="#F7D8C1" stroke="#191C1E"/><path d="M783.33 668.12c-55.34-10.56-81.6 52.14-236 82.15-43.65 8.48-164-77.69-156.86-152.14 8.46-88.33 25.93-158.36 25.93-158.36l11.42 8.35c-3.68 57.16-2.85 137.25 31.15 141 35.61 6.52 54.85-25.83 91.58-147.51 11.79-6.32 22.9-15.6 33.93-25.23l96.9 145.63s37.74 74.81 101.95 106.11z" fill="#fff" stroke="#191C1E"/><path d="M550.53 441.62c-36.73 121.68-56 154-91.58 147.51-.35 0-.69-.08-1-.14-.31-.06-.72-.12-1.07-.21l-.69-.16a22.634 22.634 0 0 1-7.46-3.52c-23.88-17.45-24.17-86.25-20.9-137 15.29 11 23 16.4 23 16.4l3.39-18.84 5.27-29.29c-62.34 12.77-41.46-59.44-29.28-91.8 22.16-3.26 22.3-9.72 32-13.06 15-5.14 16.15 24.56 20.12 34.19 6.19 15 16.13 9 23.3-9.89 6.67-17.56 34.45-16.23 24.07 23-5.35 20.24-18.43 65.18-9.46 82.24 2.79 5.31 7.73 7.92 15.71 6.22a53.432 53.432 0 0 0 14.58-5.65z" fill="#F7D8C1" stroke="#191C1E"/><path d="M681.38 562.01c-7.45 6.86-27.67 15.07-44 11.12-33.84 92.47-51.51 195.55-93.28 229.93h-70.73c-44.52-24-103.34-82.26-183.8-162.08-4.2 8.32-2.43 4.92-21.25 47.45-21.12-11.56 13.23-125.94 48.48-110 42.82 26.31 174.6 145.48 174.6 145.48s66.7-208.7 93.06-307.53c1.59-1.59 66-54.16 96.92 145.63z" fill="#F7D8C1" stroke="#191C1E"/><path d="M648.62 535.07l-11.22 38.09M346.23 697.84l-42.05-7.17" stroke="#1F1F1F"/><path d="M469.42 348.62a2.19 2.19 0 1 0-.001-4.381 2.19 2.19 0 0 0 .001 4.381zM435.74 348.62a2.19 2.19 0 1 0-.001-4.381 2.19 2.19 0 0 0 .001 4.381zM459.49 416.39c13.58-4.22 18.25-6.64 25.15-11.95l-33.81 60.08 8.66-48.13z" fill="#1F1F1F" stroke="#1F1F1F"/><path d="M706.18 803.1s2-8-11.12-10.36c-23.57-4.24-36.49-8.82-36.49-8.82M732.34 803.36s2-8-11.11-10.35c-23.57-4.24-32.78-5.45-32.78-5.45M449.38 344.24c0 15.34-10.61 31.26-10.61 31.26h10.61M123.56 113.79L65.65 329.9" stroke="#1F1F1F"/><path d="M832.1 85.83h-97.54c-12.128 0-21.96 9.832-21.96 21.96v97.54c0 12.128 9.832 21.96 21.96 21.96h97.54c12.128 0 21.96-9.832 21.96-21.96v-97.54c0-12.128-9.832-21.96-21.96-21.96z" fill="#F7B804" stroke="#F7B804"/><path d="M169.8 311.13v468.69a23.28 23.28 0 0 0 14.363 21.508 23.268 23.268 0 0 0 8.907 1.772h676.45a23.268 23.268 0 0 0 23.27-23.28V334.41" stroke="#191C1E"/></g><defs><clipPath id="a"><path fill="#fff" transform="translate(62 82)" d="M0 0h955.35v916.32H0z"/></clipPath></defs></svg>
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
BIN
src/assets/robot.png
Normal file
BIN
src/assets/robot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
BIN
src/assets/robot2.png
Normal file
BIN
src/assets/robot2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user