├── src ├── assets │ ├── css │ │ ├── Contact.css │ │ ├── App.css │ │ └── MiniCalendar.css │ ├── img │ │ ├── auth │ │ │ └── auth.png │ │ ├── nfts │ │ │ ├── Nft1.png │ │ │ ├── Nft2.png │ │ │ ├── Nft3.png │ │ │ ├── Nft4.png │ │ │ ├── Nft5.png │ │ │ ├── Nft6.png │ │ │ └── NftBanner1.png │ │ ├── layout │ │ │ ├── Navbar.png │ │ │ └── logoWhite.png │ │ ├── avatars │ │ │ ├── avatar1.png │ │ │ ├── avatar10.png │ │ │ ├── avatar11.png │ │ │ ├── avatar2.png │ │ │ ├── avatar3.png │ │ │ ├── avatar4.png │ │ │ ├── avatar5.png │ │ │ ├── avatar6.png │ │ │ ├── avatar7.png │ │ │ ├── avatar8.png │ │ │ ├── avatar9.png │ │ │ └── avatarSimmmple.png │ │ ├── dashboards │ │ │ ├── Debit.png │ │ │ ├── usa.png │ │ │ ├── balanceImg.png │ │ │ ├── fakeGraph.png │ │ │ ├── starbucks.jpg │ │ │ └── elipse-light.png │ │ └── profile │ │ │ ├── banner.png │ │ │ ├── image1.png │ │ │ ├── image2.png │ │ │ └── image3.png │ └── svg │ │ └── checked.svg ├── components │ ├── icons │ │ ├── CloseIcon.jsx │ │ ├── SearchIcon.jsx │ │ ├── ProfileIcon.jsx │ │ ├── ClockIcon.jsx │ │ ├── DotIcon.jsx │ │ ├── SignIn.jsx │ │ ├── DashIcon.jsx │ │ ├── MarketIcon.jsx │ │ ├── KanbanIcon.jsx │ │ ├── DarkmodeIcon.jsx │ │ ├── NotificationIcon.jsx │ │ ├── ClockIcon1.jsx │ │ ├── ThemsIcon.jsx │ │ ├── TablesIcon.jsx │ │ ├── WidgetIcon │ │ │ ├── ChartIcon.jsx │ │ │ ├── PDFIcon.jsx │ │ │ └── DollarIcon.jsx │ │ └── VideoIcon.jsx │ ├── charts │ │ ├── PieChart.jsx │ │ ├── LineChart.jsx │ │ └── BarChart.jsx │ ├── card │ │ ├── index.jsx │ │ ├── CardMenu.jsx │ │ └── NftCard.jsx │ ├── tooltip │ │ └── index.jsx │ ├── popover │ │ └── index.jsx │ ├── fields │ │ ├── SwitchField.jsx │ │ ├── InputField.jsx │ │ └── TextField.jsx │ ├── calendar │ │ └── MiniCalendar.jsx │ ├── widget │ │ └── Widget.jsx │ ├── fixedPlugin │ │ └── FixedPlugin.jsx │ ├── dropdown │ │ └── index.jsx │ ├── sidebar │ │ ├── RTL.jsx │ │ ├── index.jsx │ │ ├── components │ │ │ ├── Links.jsx │ │ │ └── SidebarCard.jsx │ │ └── componentsrtl │ │ │ ├── Links.jsx │ │ │ └── SidebarCard.jsx │ ├── progress │ │ └── index.jsx │ ├── footer │ │ ├── Footer.jsx │ │ └── FooterAuthDefault.jsx │ ├── switch │ │ └── index.jsx │ ├── checkbox │ │ └── index.jsx │ └── radio │ │ └── index.jsx ├── views │ ├── admin │ │ ├── marketplace │ │ │ ├── variables │ │ │ │ ├── tableColumnsTopCreators.js │ │ │ │ └── tableDataTopCreators.json │ │ │ ├── components │ │ │ │ ├── Banner.jsx │ │ │ │ ├── HistoryCard.jsx │ │ │ │ └── TableTopCreators.jsx │ │ │ └── index.jsx │ │ ├── default │ │ │ ├── variables │ │ │ │ ├── tableDataComplex.json │ │ │ │ ├── tableDataCheck.json │ │ │ │ └── columnsData.js │ │ │ ├── components │ │ │ │ ├── WeeklyRevenue.jsx │ │ │ │ ├── DailyTraffic.jsx │ │ │ │ ├── TotalSpent.jsx │ │ │ │ ├── PieChartCard.jsx │ │ │ │ ├── TaskCard.jsx │ │ │ │ ├── CheckTable.jsx │ │ │ │ └── ComplexTable.jsx │ │ │ └── index.jsx │ │ ├── tables │ │ │ ├── variables │ │ │ │ ├── tableDataComplex.json │ │ │ │ ├── tableDataColumns.json │ │ │ │ ├── columnsData.js │ │ │ │ ├── tableDataCheck.json │ │ │ │ └── tableDataDevelopment.json │ │ │ ├── index.jsx │ │ │ └── components │ │ │ │ ├── ColumnsTable.jsx │ │ │ │ ├── CheckTable.jsx │ │ │ │ ├── ComplexTable.jsx │ │ │ │ └── DevelopmentTable.jsx │ │ └── profile │ │ │ ├── index.jsx │ │ │ └── components │ │ │ ├── Storage.jsx │ │ │ ├── Upload.jsx │ │ │ ├── Banner.jsx │ │ │ ├── General.jsx │ │ │ ├── Notification.jsx │ │ │ └── Project.jsx │ ├── rtl │ │ └── default │ │ │ ├── variables │ │ │ ├── tableDataComplex.json │ │ │ ├── tableDataCheck.json │ │ │ └── columnsData.js │ │ │ ├── components │ │ │ ├── Widget.jsx │ │ │ ├── WeeklyRevenue.jsx │ │ │ ├── DailyTraffic.jsx │ │ │ ├── TotalSpent.jsx │ │ │ ├── PieChartCard.jsx │ │ │ ├── TaskCard.jsx │ │ │ ├── CheckTable.jsx │ │ │ └── ComplexTable.jsx │ │ │ └── index.jsx │ └── auth │ │ └── SignIn.jsx ├── index.js ├── App.jsx ├── index.css ├── routes.js └── layouts │ ├── rtl │ └── index.jsx │ ├── admin │ └── index.jsx │ └── auth │ └── index.jsx ├── public ├── robots.txt ├── favicon.ico ├── manifest.json └── index.html ├── postcss.config.js ├── jsconfig.json ├── prettier.config.js ├── CHANGELOG.md ├── .gitignore ├── LICENSE.md ├── package.json └── README.md /src/assets/css/Contact.css: -------------------------------------------------------------------------------- 1 | form { 2 | width: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /src/assets/img/auth/auth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/auth/auth.png -------------------------------------------------------------------------------- /src/assets/img/nfts/Nft1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/nfts/Nft1.png -------------------------------------------------------------------------------- /src/assets/img/nfts/Nft2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/nfts/Nft2.png -------------------------------------------------------------------------------- /src/assets/img/nfts/Nft3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/nfts/Nft3.png -------------------------------------------------------------------------------- /src/assets/img/nfts/Nft4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/nfts/Nft4.png -------------------------------------------------------------------------------- /src/assets/img/nfts/Nft5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/nfts/Nft5.png -------------------------------------------------------------------------------- /src/assets/img/nfts/Nft6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/nfts/Nft6.png -------------------------------------------------------------------------------- /src/assets/img/layout/Navbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/layout/Navbar.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar1.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar10.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar11.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar2.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar3.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar4.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar5.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar6.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar7.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar8.png -------------------------------------------------------------------------------- /src/assets/img/avatars/avatar9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatar9.png -------------------------------------------------------------------------------- /src/assets/img/dashboards/Debit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/dashboards/Debit.png -------------------------------------------------------------------------------- /src/assets/img/dashboards/usa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/dashboards/usa.png -------------------------------------------------------------------------------- /src/assets/img/layout/logoWhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/layout/logoWhite.png -------------------------------------------------------------------------------- /src/assets/img/nfts/NftBanner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/nfts/NftBanner1.png -------------------------------------------------------------------------------- /src/assets/img/profile/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/profile/banner.png -------------------------------------------------------------------------------- /src/assets/img/profile/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/profile/image1.png -------------------------------------------------------------------------------- /src/assets/img/profile/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/profile/image2.png -------------------------------------------------------------------------------- /src/assets/img/profile/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/profile/image3.png -------------------------------------------------------------------------------- /src/components/icons/CloseIcon.jsx: -------------------------------------------------------------------------------- 1 | const CloseIcon = () => { 2 | return
hello
; 3 | }; 4 | 5 | export default CloseIcon; 6 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "src", 4 | "paths": { 5 | "*": ["src/*"] 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/assets/img/dashboards/balanceImg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/dashboards/balanceImg.png -------------------------------------------------------------------------------- /src/assets/img/dashboards/fakeGraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/dashboards/fakeGraph.png -------------------------------------------------------------------------------- /src/assets/img/dashboards/starbucks.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/dashboards/starbucks.jpg -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | // prettier.config.js or .prettierrc.js 2 | module.exports = { 3 | plugins: [require("prettier-plugin-tailwindcss")], 4 | }; 5 | -------------------------------------------------------------------------------- /src/assets/img/avatars/avatarSimmmple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/avatars/avatarSimmmple.png -------------------------------------------------------------------------------- /src/assets/img/dashboards/elipse-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruvector/horizon-tailwind-react/HEAD/src/assets/img/dashboards/elipse-light.png -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## [1.0.1] 2022-03-07 2 | 3 | 🐛 Bugs solved: 4 | 5 | - Bug with charts being uneven fixed 6 | 7 | ## [1.0.0] 2023-02-27 8 | 9 | ### Original Release 10 | 11 | - Added Tailwind CSS as base framework 12 | -------------------------------------------------------------------------------- /src/assets/css/App.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap"); 2 | body { 3 | font-family: "DM Sans", sans-serif; 4 | } 5 | 6 | option { 7 | color: black; 8 | } 9 | -------------------------------------------------------------------------------- /src/assets/svg/checked.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/views/admin/marketplace/variables/tableColumnsTopCreators.js: -------------------------------------------------------------------------------- 1 | export const tableColumnsTopCreators = [ 2 | { 3 | Header: "Name", 4 | accessor: "name", 5 | }, 6 | { 7 | Header: "Artworks", 8 | accessor: "artworks", 9 | }, 10 | { 11 | Header: "Rating", 12 | accessor: "rating", 13 | }, 14 | ]; 15 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import ReactDOM from "react-dom/client"; 2 | import { BrowserRouter } from "react-router-dom"; 3 | import "./index.css"; 4 | 5 | import App from "./App"; 6 | 7 | const root = ReactDOM.createRoot(document.getElementById("root")); 8 | 9 | root.render( 10 | 11 | 12 | 13 | ); 14 | -------------------------------------------------------------------------------- /src/components/charts/PieChart.jsx: -------------------------------------------------------------------------------- 1 | import Chart from "react-apexcharts"; 2 | 3 | const PieChart = (props) => { 4 | const { series, options } = props; 5 | 6 | return ( 7 | 14 | ); 15 | }; 16 | 17 | export default PieChart; 18 | -------------------------------------------------------------------------------- /src/components/charts/LineChart.jsx: -------------------------------------------------------------------------------- 1 | import Chart from "react-apexcharts"; 2 | 3 | const LineChart = (props) => { 4 | const { series, options } = props; 5 | 6 | return ( 7 | 14 | ); 15 | }; 16 | 17 | export default LineChart; 18 | -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": ".", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /src/components/card/index.jsx: -------------------------------------------------------------------------------- 1 | function Card(props) { 2 | const { variant, extra, children, ...rest } = props; 3 | return ( 4 |
8 | {children} 9 |
10 | ); 11 | } 12 | 13 | export default Card; 14 | -------------------------------------------------------------------------------- /src/components/tooltip/index.jsx: -------------------------------------------------------------------------------- 1 | import { Tooltip } from "@chakra-ui/tooltip"; 2 | const TooltipHorizon = (props) => { 3 | const { extra, trigger, content, placement } = props; 4 | return ( 5 | 10 | {trigger} 11 | 12 | ); 13 | }; 14 | 15 | export default TooltipHorizon; 16 | -------------------------------------------------------------------------------- /src/components/icons/SearchIcon.jsx: -------------------------------------------------------------------------------- 1 | const SearchIcon = () => { 2 | return ( 3 | 10 | 16 | 17 | ); 18 | }; 19 | 20 | export default SearchIcon; 21 | -------------------------------------------------------------------------------- /src/components/icons/ProfileIcon.jsx: -------------------------------------------------------------------------------- 1 | const ProfileIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default ProfileIcon; 19 | -------------------------------------------------------------------------------- /src/components/popover/index.jsx: -------------------------------------------------------------------------------- 1 | import { Popover, PopoverTrigger, PopoverContent } from "@chakra-ui/popover"; 2 | const PopoverHorizon = (props) => { 3 | const { extra, trigger, content } = props; 4 | return ( 5 | 6 | {trigger} 7 | 10 | {content} 11 | 12 | 13 | ); 14 | }; 15 | 16 | export default PopoverHorizon; 17 | -------------------------------------------------------------------------------- /src/components/icons/ClockIcon.jsx: -------------------------------------------------------------------------------- 1 | const ClockIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default ClockIcon; 19 | -------------------------------------------------------------------------------- /src/components/icons/DotIcon.jsx: -------------------------------------------------------------------------------- 1 | const DotIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default DotIcon; 19 | -------------------------------------------------------------------------------- /src/views/admin/default/variables/tableDataComplex.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Marketplace", 4 | "status": "Approved", 5 | "date": "24.Jan.2021", 6 | "progress": 30 7 | }, 8 | { 9 | "name": "Marketplace", 10 | "status": "Disable", 11 | "date": "30.Dec.2021", 12 | "progress": 30 13 | }, 14 | { 15 | "name": "Marketplace", 16 | "status": "Error", 17 | "date": "20.May.2021", 18 | "progress": 30 19 | }, 20 | { 21 | "name": "Marketplace", 22 | "status": "Approved", 23 | "date": "12.Jul.2021", 24 | "progress": 30 25 | } 26 | ] 27 | -------------------------------------------------------------------------------- /src/views/admin/tables/variables/tableDataComplex.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Marketplace", 4 | "status": "Approved", 5 | "date": "24.Jan.2021", 6 | "progress": 30 7 | }, 8 | { 9 | "name": "Marketplace", 10 | "status": "Disable", 11 | "date": "30.Dec.2021", 12 | "progress": 30 13 | }, 14 | { 15 | "name": "Marketplace", 16 | "status": "Error", 17 | "date": "20.May.2021", 18 | "progress": 30 19 | }, 20 | { 21 | "name": "Marketplace", 22 | "status": "Approved", 23 | "date": "12.Jul.2021", 24 | "progress": 30 25 | } 26 | ] 27 | -------------------------------------------------------------------------------- /src/views/rtl/default/variables/tableDataComplex.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Marketplace", 4 | "status": "Approved", 5 | "date": "24.Jan.2021", 6 | "progress": 30 7 | }, 8 | { 9 | "name": "Marketplace", 10 | "status": "Disable", 11 | "date": "30.Dec.2021", 12 | "progress": 30 13 | }, 14 | { 15 | "name": "Marketplace", 16 | "status": "Error", 17 | "date": "20.May.2021", 18 | "progress": 30 19 | }, 20 | { 21 | "name": "Marketplace", 22 | "status": "Approved", 23 | "date": "12.Jul.2021", 24 | "progress": 30 25 | } 26 | ] 27 | -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { Routes, Route, Navigate } from "react-router-dom"; 3 | 4 | import RtlLayout from "layouts/rtl"; 5 | import AdminLayout from "layouts/admin"; 6 | import AuthLayout from "layouts/auth"; 7 | const App = () => { 8 | return ( 9 | 10 | } /> 11 | } /> 12 | } /> 13 | } /> 14 | 15 | ); 16 | }; 17 | 18 | export default App; 19 | -------------------------------------------------------------------------------- /src/components/icons/SignIn.jsx: -------------------------------------------------------------------------------- 1 | const SignIn = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default SignIn; 19 | -------------------------------------------------------------------------------- /src/views/admin/tables/variables/tableDataColumns.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Marketplace", 4 | "quantity": 2458, 5 | "date": "12.Jan.2021", 6 | "progress": 75.5 7 | }, 8 | { 9 | "name": "Venus DB PRO", 10 | "quantity": 1485, 11 | "date": "21.Feb.2021", 12 | "progress": 35.4 13 | }, 14 | { 15 | "name": "Venus DS", 16 | "quantity": 1024, 17 | "date": "13.Mar.2021", 18 | "progress": 25 19 | }, 20 | { 21 | "name": "Venus 3D Asset", 22 | "quantity": 858, 23 | "date": "24.Jan.2021", 24 | "progress": 100 25 | }, 26 | { 27 | "name": "Marketplace", 28 | "quantity": 258, 29 | "date": "Oct 24, 2022", 30 | "progress": 75 31 | } 32 | ] 33 | -------------------------------------------------------------------------------- /src/components/fields/SwitchField.jsx: -------------------------------------------------------------------------------- 1 | import Switch from "components/switch"; 2 | 3 | const SwitchField = (props) => { 4 | const { id, label, desc, mt, mb } = props; 5 | return ( 6 |
7 | 16 |
17 | 18 |
19 |
20 | ); 21 | }; 22 | 23 | export default SwitchField; 24 | -------------------------------------------------------------------------------- /src/components/icons/DashIcon.jsx: -------------------------------------------------------------------------------- 1 | const DashIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default DashIcon; 19 | -------------------------------------------------------------------------------- /src/views/rtl/default/variables/tableDataCheck.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": ["Marketplace", false], 4 | "quantity": 2458, 5 | "date": "Apr 26, 2022", 6 | "progress": 75.5 7 | }, 8 | { 9 | "name": ["Venus DB PRO", true], 10 | "quantity": 1485, 11 | "date": "Jul 20, 2022", 12 | "progress": 35.4 13 | }, 14 | { 15 | "name": ["Venus DS", true], 16 | "quantity": 1024, 17 | "date": "Sep 30, 2022", 18 | "progress": 25 19 | }, 20 | { 21 | "name": ["Venus 3D Asset", true], 22 | "quantity": 858, 23 | "date": "Oct 24, 2022", 24 | "progress": 100 25 | }, 26 | { 27 | "name": ["Marketplace", false], 28 | "quantity": 258, 29 | "date": "Nov 29, 2022", 30 | "progress": 75.5 31 | } 32 | ] 33 | -------------------------------------------------------------------------------- /src/views/admin/default/variables/tableDataCheck.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": ["Marketplace", false], 4 | "quantity": 2458, 5 | "date": "Apr 26, 2022", 6 | "progress": 75.5 7 | }, 8 | { 9 | "name": ["Venus DB PRO", true], 10 | "quantity": 1485, 11 | "date": "Jul 20, 2022", 12 | "progress": 35.4 13 | }, 14 | { 15 | "name": ["Venus DS", true], 16 | "quantity": 1024, 17 | "date": "Sep 30, 2022", 18 | "progress": 25 19 | }, 20 | { 21 | "name": ["Venus 3D Asset", true], 22 | "quantity": 858, 23 | "date": "Oct 24, 2022", 24 | "progress": 100 25 | }, 26 | { 27 | "name": ["Marketplace", false], 28 | "quantity": 258, 29 | "date": "Nov 29, 2022", 30 | "progress": 75.5 31 | } 32 | ] 33 | -------------------------------------------------------------------------------- /src/components/icons/MarketIcon.jsx: -------------------------------------------------------------------------------- 1 | const MarketIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default MarketIcon; 19 | -------------------------------------------------------------------------------- /src/components/charts/BarChart.jsx: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import Chart from 'react-apexcharts'; 3 | 4 | class BarChart extends Component { 5 | constructor(props) { 6 | super(props); 7 | this.state = { 8 | chartData: [], 9 | chartOptions: {}, 10 | }; 11 | } 12 | 13 | componentDidMount() { 14 | this.setState({ 15 | chartData: this.props.chartData, 16 | chartOptions: this.props.chartOptions, 17 | }); 18 | } 19 | 20 | render() { 21 | return ( 22 | 29 | ); 30 | } 31 | } 32 | 33 | export default BarChart; 34 | -------------------------------------------------------------------------------- /src/components/icons/KanbanIcon.jsx: -------------------------------------------------------------------------------- 1 | const KanbanIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default KanbanIcon; 19 | -------------------------------------------------------------------------------- /src/components/icons/DarkmodeIcon.jsx: -------------------------------------------------------------------------------- 1 | const DarkmodeIcon = () => { 2 | return ( 3 | 4 | 11 | 15 | 16 | 17 | ); 18 | }; 19 | 20 | export default DarkmodeIcon; 21 | -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap'); 2 | @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap'); 3 | @tailwind base; 4 | @tailwind components; 5 | @tailwind utilities; 6 | 7 | @layer base { 8 | html { 9 | font-family: 'DM Sans', sans-serif !important; 10 | font-feature-settings: 'kern' !important; 11 | -webkit-font-smoothing: antialiased; 12 | letter-spacing: -0.5px; 13 | } 14 | } 15 | 16 | input.defaultCheckbox::before { 17 | content: url(../src/assets/svg/checked.svg); 18 | color: white; 19 | opacity: 0; 20 | height: 16px; 21 | width: 16px; 22 | position: absolute; 23 | left: 50%; 24 | transform: translate(-50%, 0px); 25 | } 26 | 27 | input:checked.defaultCheckbox::before { 28 | opacity: 1; 29 | } -------------------------------------------------------------------------------- /src/components/calendar/MiniCalendar.jsx: -------------------------------------------------------------------------------- 1 | import React, { useState } from "react"; 2 | import Calendar from "react-calendar"; 3 | import Card from "components/card"; 4 | import "react-calendar/dist/Calendar.css"; 5 | import { MdChevronLeft, MdChevronRight } from "react-icons/md"; 6 | import "assets/css/MiniCalendar.css"; 7 | 8 | const MiniCalendar = () => { 9 | const [value, onChange] = useState(new Date()); 10 | 11 | return ( 12 |
13 | 14 | } 18 | nextLabel={} 19 | view={"month"} 20 | /> 21 | 22 |
23 | ); 24 | }; 25 | 26 | export default MiniCalendar; 27 | -------------------------------------------------------------------------------- /src/components/widget/Widget.jsx: -------------------------------------------------------------------------------- 1 | import Card from "components/card"; 2 | 3 | const Widget = ({ icon, title, subtitle }) => { 4 | return ( 5 | 6 |
7 |
8 | 9 | {icon} 10 | 11 |
12 |
13 | 14 |
15 |

{title}

16 |

17 | {subtitle} 18 |

19 |
20 |
21 | ); 22 | }; 23 | 24 | export default Widget; 25 | -------------------------------------------------------------------------------- /src/views/rtl/default/components/Widget.jsx: -------------------------------------------------------------------------------- 1 | import Card from "components/card"; 2 | 3 | const Widget = ({ icon, title, subtitle }) => { 4 | return ( 5 | 6 |
7 |
8 | 9 | {icon} 10 | 11 |
12 |
13 | 14 |
15 |

{title}

16 |

17 | {subtitle} 18 |

19 |
20 |
21 | ); 22 | }; 23 | 24 | export default Widget; 25 | -------------------------------------------------------------------------------- /src/components/icons/NotificationIcon.jsx: -------------------------------------------------------------------------------- 1 | const NotificationIcon = () => { 2 | return ( 3 | 4 | 11 | 15 | 16 | 17 | ); 18 | }; 19 | 20 | export default NotificationIcon; 21 | -------------------------------------------------------------------------------- /src/components/icons/ClockIcon1.jsx: -------------------------------------------------------------------------------- 1 | const ClockIcon1 = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default ClockIcon1; 19 | -------------------------------------------------------------------------------- /src/components/icons/ThemsIcon.jsx: -------------------------------------------------------------------------------- 1 | const ThemsIcon = () => { 2 | return ( 3 | 4 | 11 | 12 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | ); 25 | }; 26 | 27 | export default ThemsIcon; 28 | -------------------------------------------------------------------------------- /src/components/icons/TablesIcon.jsx: -------------------------------------------------------------------------------- 1 | const TablesIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default TablesIcon; 19 | -------------------------------------------------------------------------------- /src/components/icons/WidgetIcon/ChartIcon.jsx: -------------------------------------------------------------------------------- 1 | const ChartIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default ChartIcon; 19 | -------------------------------------------------------------------------------- /src/components/icons/WidgetIcon/PDFIcon.jsx: -------------------------------------------------------------------------------- 1 | const PDFIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default PDFIcon; 19 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Horizon UI 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/components/icons/VideoIcon.jsx: -------------------------------------------------------------------------------- 1 | const VideoIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default VideoIcon; 19 | -------------------------------------------------------------------------------- /src/components/fixedPlugin/FixedPlugin.jsx: -------------------------------------------------------------------------------- 1 | // Chakra Imports 2 | // Custom Icons 3 | import React from "react"; 4 | 5 | import { RiMoonFill, RiSunFill } from "react-icons/ri"; 6 | export default function FixedPlugin(props) { 7 | const { ...rest } = props; 8 | const [darkmode, setDarkmode] = React.useState( 9 | document.body.classList.contains("dark") 10 | ); 11 | 12 | return ( 13 | 36 | ); 37 | } 38 | -------------------------------------------------------------------------------- /src/views/admin/default/components/WeeklyRevenue.jsx: -------------------------------------------------------------------------------- 1 | import Card from "components/card"; 2 | import BarChart from "components/charts/BarChart"; 3 | import { 4 | barChartDataWeeklyRevenue, 5 | barChartOptionsWeeklyRevenue, 6 | } from "variables/charts"; 7 | import { MdBarChart } from "react-icons/md"; 8 | 9 | const WeeklyRevenue = () => { 10 | return ( 11 | 12 |
13 |

14 | Weekly Revenue 15 |

16 | 19 |
20 | 21 |
22 |
23 | 27 |
28 |
29 |
30 | ); 31 | }; 32 | 33 | export default WeeklyRevenue; 34 | -------------------------------------------------------------------------------- /src/views/rtl/default/components/WeeklyRevenue.jsx: -------------------------------------------------------------------------------- 1 | import Card from "components/card"; 2 | import BarChart from "components/charts/BarChart"; 3 | import { 4 | barChartDataWeeklyRevenue, 5 | barChartOptionsWeeklyRevenue, 6 | } from "variables/charts"; 7 | import { MdBarChart } from "react-icons/md"; 8 | 9 | const WeeklyRevenue = () => { 10 | return ( 11 | 12 |
13 |

14 | Weekly Revenue 15 |

16 | 19 |
20 | 21 |
22 |
23 | 27 |
28 |
29 |
30 | ); 31 | }; 32 | 33 | export default WeeklyRevenue; 34 | -------------------------------------------------------------------------------- /src/components/icons/WidgetIcon/DollarIcon.jsx: -------------------------------------------------------------------------------- 1 | const DollarIcon = () => { 2 | return ( 3 | 10 | 14 | 15 | ); 16 | }; 17 | 18 | export default DollarIcon; 19 | -------------------------------------------------------------------------------- /src/views/admin/default/variables/columnsData.js: -------------------------------------------------------------------------------- 1 | export const columnsDataDevelopment = [ 2 | { 3 | Header: "NAME", 4 | accessor: "name", 5 | }, 6 | { 7 | Header: "TECH", 8 | accessor: "tech", 9 | }, 10 | { 11 | Header: "DATE", 12 | accessor: "date", 13 | }, 14 | { 15 | Header: "PROGRESS", 16 | accessor: "progress", 17 | }, 18 | ]; 19 | 20 | export const columnsDataCheck = [ 21 | { 22 | Header: "NAME", 23 | accessor: "name", 24 | }, 25 | { 26 | Header: "PROGRESS", 27 | accessor: "progress", 28 | }, 29 | { 30 | Header: "QUANTITY", 31 | accessor: "quantity", 32 | }, 33 | { 34 | Header: "DATE", 35 | accessor: "date", 36 | }, 37 | ]; 38 | 39 | export const columnsDataColumns = [ 40 | { 41 | Header: "NAME", 42 | accessor: "name", 43 | }, 44 | { 45 | Header: "PROGRESS", 46 | accessor: "progress", 47 | }, 48 | { 49 | Header: "QUANTITY", 50 | accessor: "quantity", 51 | }, 52 | { 53 | Header: "DATE", 54 | accessor: "date", 55 | }, 56 | ]; 57 | 58 | export const columnsDataComplex = [ 59 | { 60 | Header: "NAME", 61 | accessor: "name", 62 | }, 63 | { 64 | Header: "STATUS", 65 | accessor: "status", 66 | }, 67 | { 68 | Header: "DATE", 69 | accessor: "date", 70 | }, 71 | { 72 | Header: "PROGRESS", 73 | accessor: "progress", 74 | }, 75 | ]; 76 | -------------------------------------------------------------------------------- /src/views/admin/tables/variables/columnsData.js: -------------------------------------------------------------------------------- 1 | export const columnsDataDevelopment = [ 2 | { 3 | Header: "NAME", 4 | accessor: "name", 5 | }, 6 | { 7 | Header: "TECH", 8 | accessor: "tech", 9 | }, 10 | { 11 | Header: "DATE", 12 | accessor: "date", 13 | }, 14 | { 15 | Header: "PROGRESS", 16 | accessor: "progress", 17 | }, 18 | ]; 19 | 20 | export const columnsDataCheck = [ 21 | { 22 | Header: "NAME", 23 | accessor: "name", 24 | }, 25 | { 26 | Header: "PROGRESS", 27 | accessor: "progress", 28 | }, 29 | { 30 | Header: "QUANTITY", 31 | accessor: "quantity", 32 | }, 33 | { 34 | Header: "DATE", 35 | accessor: "date", 36 | }, 37 | ]; 38 | 39 | export const columnsDataColumns = [ 40 | { 41 | Header: "NAME", 42 | accessor: "name", 43 | }, 44 | { 45 | Header: "PROGRESS", 46 | accessor: "progress", 47 | }, 48 | { 49 | Header: "QUANTITY", 50 | accessor: "quantity", 51 | }, 52 | { 53 | Header: "DATE", 54 | accessor: "date", 55 | }, 56 | ]; 57 | 58 | export const columnsDataComplex = [ 59 | { 60 | Header: "NAME", 61 | accessor: "name", 62 | }, 63 | { 64 | Header: "STATUS", 65 | accessor: "status", 66 | }, 67 | { 68 | Header: "DATE", 69 | accessor: "date", 70 | }, 71 | { 72 | Header: "PROGRESS", 73 | accessor: "progress", 74 | }, 75 | ]; 76 | -------------------------------------------------------------------------------- /src/views/rtl/default/variables/columnsData.js: -------------------------------------------------------------------------------- 1 | export const columnsDataDevelopment = [ 2 | { 3 | Header: "NAME", 4 | accessor: "name", 5 | }, 6 | { 7 | Header: "TECH", 8 | accessor: "tech", 9 | }, 10 | { 11 | Header: "DATE", 12 | accessor: "date", 13 | }, 14 | { 15 | Header: "PROGRESS", 16 | accessor: "progress", 17 | }, 18 | ]; 19 | 20 | export const columnsDataCheck = [ 21 | { 22 | Header: "NAME", 23 | accessor: "name", 24 | }, 25 | { 26 | Header: "PROGRESS", 27 | accessor: "progress", 28 | }, 29 | { 30 | Header: "QUANTITY", 31 | accessor: "quantity", 32 | }, 33 | { 34 | Header: "DATE", 35 | accessor: "date", 36 | }, 37 | ]; 38 | 39 | export const columnsDataColumns = [ 40 | { 41 | Header: "NAME", 42 | accessor: "name", 43 | }, 44 | { 45 | Header: "PROGRESS", 46 | accessor: "progress", 47 | }, 48 | { 49 | Header: "QUANTITY", 50 | accessor: "quantity", 51 | }, 52 | { 53 | Header: "DATE", 54 | accessor: "date", 55 | }, 56 | ]; 57 | 58 | export const columnsDataComplex = [ 59 | { 60 | Header: "NAME", 61 | accessor: "name", 62 | }, 63 | { 64 | Header: "STATUS", 65 | accessor: "status", 66 | }, 67 | { 68 | Header: "DATE", 69 | accessor: "date", 70 | }, 71 | { 72 | Header: "PROGRESS", 73 | accessor: "progress", 74 | }, 75 | ]; 76 | -------------------------------------------------------------------------------- /src/views/admin/profile/index.jsx: -------------------------------------------------------------------------------- 1 | import Banner from "./components/Banner"; 2 | import General from "./components/General"; 3 | import Notification from "./components/Notification"; 4 | import Project from "./components/Project"; 5 | import Storage from "./components/Storage"; 6 | import Upload from "./components/Upload"; 7 | 8 | const ProfileOverview = () => { 9 | return ( 10 |
11 |
12 |
13 | 14 |
15 | 16 |
17 | 18 |
19 | 20 |
21 | 22 |
23 |
24 | {/* all project & ... */} 25 | 26 |
27 |
28 | 29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 |
37 |
38 |
39 | ); 40 | }; 41 | 42 | export default ProfileOverview; 43 | -------------------------------------------------------------------------------- /src/views/admin/tables/variables/tableDataCheck.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": ["Marketplace", false], 4 | "quantity": 2458, 5 | "date": "12.Jan.2021", 6 | "progress": 75.5 7 | }, 8 | { 9 | "name": ["Venus DB PRO", true], 10 | "quantity": 1485, 11 | "date": "21.Feb.2021", 12 | "progress": 35.4 13 | }, 14 | { 15 | "name": ["Venus DS", true], 16 | "quantity": 1024, 17 | "date": "13.Mar.2021", 18 | "progress": 25 19 | }, 20 | { 21 | "name": ["Venus 3D Asset", true], 22 | "quantity": 858, 23 | "date": "24.Jan.2021", 24 | "progress": 100 25 | }, 26 | { 27 | "name": ["Marketplace", false], 28 | "quantity": 258, 29 | "date": "Oct 24, 2022", 30 | "progress": 75.5 31 | }, 32 | { 33 | "name": ["Marketplace", false], 34 | "quantity": 258, 35 | "date": "Oct 24, 2022", 36 | "progress": 75.5 37 | }, 38 | { 39 | "name": ["Marketplace", false], 40 | "quantity": 258, 41 | "date": "12.Jan.2021", 42 | "progress": 75.5 43 | }, 44 | { 45 | "name": ["Venus DB PRO", false], 46 | "quantity": 858, 47 | "date": "21.Feb.2021", 48 | "progress": 35.4 49 | }, 50 | { 51 | "name": ["Venus DS", false], 52 | "quantity": 1024, 53 | "date": "13.Mar.2021", 54 | "progress": 25 55 | }, 56 | { 57 | "name": ["Venus 3D Asset", false], 58 | "quantity": 258, 59 | "date": "24.Jan.2021", 60 | "progress": 100 61 | } 62 | ] 63 | -------------------------------------------------------------------------------- /src/components/fields/InputField.jsx: -------------------------------------------------------------------------------- 1 | // Custom components 2 | import React from "react"; 3 | 4 | function InputField(props) { 5 | const { label, id, extra, type, placeholder, variant, state, disabled } = 6 | props; 7 | 8 | return ( 9 |
10 | 18 | 33 |
34 | ); 35 | } 36 | 37 | export default InputField; 38 | -------------------------------------------------------------------------------- /src/views/admin/default/components/DailyTraffic.jsx: -------------------------------------------------------------------------------- 1 | import BarChart from "components/charts/BarChart"; 2 | import { barChartDataDailyTraffic } from "variables/charts"; 3 | import { barChartOptionsDailyTraffic } from "variables/charts"; 4 | import { MdArrowDropUp } from "react-icons/md"; 5 | import Card from "components/card"; 6 | const DailyTraffic = () => { 7 | return ( 8 | 9 |
10 |
11 |

12 | Daily Traffic 13 |

14 |

15 | 2.579{" "} 16 | 17 | Visitors 18 | 19 |

20 |
21 |
22 |
23 | 24 |

+2.45%

25 |
26 |
27 |
28 | 29 |
30 | 34 |
35 |
36 | ); 37 | }; 38 | 39 | export default DailyTraffic; 40 | -------------------------------------------------------------------------------- /src/views/rtl/default/components/DailyTraffic.jsx: -------------------------------------------------------------------------------- 1 | import BarChart from "components/charts/BarChart"; 2 | import { barChartDataDailyTraffic } from "variables/charts"; 3 | import { barChartOptionsDailyTraffic } from "variables/charts"; 4 | import { MdArrowDropUp } from "react-icons/md"; 5 | import Card from "components/card"; 6 | const DailyTraffic = () => { 7 | return ( 8 | 9 |
10 |
11 |

12 | Daily Traffic 13 |

14 |

15 | 2.579{" "} 16 | 17 | Visitors 18 | 19 |

20 |
21 |
22 |
23 | 24 |

+2.45%

25 |
26 |
27 |
28 | 29 |
30 | 34 |
35 |
36 | ); 37 | }; 38 | 39 | export default DailyTraffic; 40 | -------------------------------------------------------------------------------- /src/components/dropdown/index.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | function useOutsideAlerter(ref, setX) { 4 | React.useEffect(() => { 5 | /** 6 | * Alert if clicked on outside of element 7 | */ 8 | function handleClickOutside(event) { 9 | if (ref.current && !ref.current.contains(event.target)) { 10 | setX(false); 11 | } 12 | } 13 | // Bind the event listener 14 | document.addEventListener("mousedown", handleClickOutside); 15 | return () => { 16 | // Unbind the event listener on clean up 17 | document.removeEventListener("mousedown", handleClickOutside); 18 | }; 19 | }, [ref, setX]); 20 | } 21 | 22 | const Dropdown = (props) => { 23 | const { button, children, classNames, animation } = props; 24 | const wrapperRef = React.useRef(null); 25 | const [openWrapper, setOpenWrapper] = React.useState(false); 26 | useOutsideAlerter(wrapperRef, setOpenWrapper); 27 | 28 | return ( 29 |
30 |
setOpenWrapper(!openWrapper)}> 31 | {button} 32 |
33 |
40 | {children} 41 |
42 |
43 | ); 44 | }; 45 | 46 | export default Dropdown; 47 | -------------------------------------------------------------------------------- /src/components/sidebar/RTL.jsx: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | 3 | import { HiX } from "react-icons/hi"; 4 | import Links from "./components/Links"; 5 | 6 | import SidebarCard from "components/sidebar/componentsrtl/SidebarCard"; 7 | import routes from "routes.js"; 8 | 9 | const Sidebar = ({ open, onClose }) => { 10 | return ( 11 |
16 | 20 | 21 | 22 | 23 |
24 |
25 | Horizon FREE 26 |
27 |
28 |
29 | {/* Nav item */} 30 | 31 |
    32 | 33 |
34 | 35 | {/* Free Horizon Card */} 36 |
37 | 38 |
39 | 40 | {/* Nav item end */} 41 |
42 | ); 43 | }; 44 | 45 | export default Sidebar; 46 | -------------------------------------------------------------------------------- /src/components/sidebar/index.jsx: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | 3 | import { HiX } from "react-icons/hi"; 4 | import Links from "./components/Links"; 5 | 6 | import SidebarCard from "components/sidebar/componentsrtl/SidebarCard"; 7 | import routes from "routes.js"; 8 | 9 | const Sidebar = ({ open, onClose }) => { 10 | return ( 11 |
16 | 20 | 21 | 22 | 23 |
24 |
25 | Horizon FREE 26 |
27 |
28 |
29 | {/* Nav item */} 30 | 31 |
    32 | 33 |
34 | 35 | {/* Free Horizon Card */} 36 |
37 | 38 |
39 | 40 | {/* Nav item end */} 41 |
42 | ); 43 | }; 44 | 45 | export default Sidebar; 46 | -------------------------------------------------------------------------------- /src/views/admin/tables/index.jsx: -------------------------------------------------------------------------------- 1 | import CheckTable from "./components/CheckTable"; 2 | 3 | import { 4 | columnsDataDevelopment, 5 | columnsDataCheck, 6 | columnsDataColumns, 7 | columnsDataComplex, 8 | } from "./variables/columnsData"; 9 | import tableDataDevelopment from "./variables/tableDataDevelopment.json"; 10 | import tableDataCheck from "./variables/tableDataCheck.json"; 11 | import tableDataColumns from "./variables/tableDataColumns.json"; 12 | import tableDataComplex from "./variables/tableDataComplex.json"; 13 | import DevelopmentTable from "./components/DevelopmentTable"; 14 | import ColumnsTable from "./components/ColumnsTable"; 15 | import ComplexTable from "./components/ComplexTable"; 16 | 17 | const Tables = () => { 18 | return ( 19 |
20 |
21 | 25 | 26 |
27 | 28 |
29 | 33 | 34 | 38 |
39 |
40 | ); 41 | }; 42 | 43 | export default Tables; 44 | -------------------------------------------------------------------------------- /src/views/admin/marketplace/components/Banner.jsx: -------------------------------------------------------------------------------- 1 | import nft1 from "assets/img/nfts/NftBanner1.png"; 2 | 3 | const Banner1 = () => { 4 | return ( 5 |
9 |
10 |

11 | Discover, collect, and sell extraordinary NFTs 12 |

13 |

14 | Enter in this creative world. Discover now the latest NFTs or start 15 | creating your own! 16 |

17 | 18 |
19 | 22 | 28 |
29 |
30 |
31 | ); 32 | }; 33 | 34 | export default Banner1; 35 | -------------------------------------------------------------------------------- /src/components/fields/TextField.jsx: -------------------------------------------------------------------------------- 1 | // Custom components 2 | import React from "react"; 3 | 4 | function InputField(props) { 5 | const { label, id, extra, placeholder, cols, rows, state, disabled } = props; 6 | 7 | return ( 8 |
9 | 15 |
16 |