/*! ========================================================= * Argon Dashboard React - v1.2.4 ========================================================= * Product Page: https://www.creative-tim.com/product/argon-dashboard-react * Copyright 2024 Creative Tim (https://www.creative-tim.com) * Licensed under MIT (https://github.com/creativetimofficial/argon-dashboard-react/blob/master/LICENSE.md) * Coded by Creative Tim ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ import { useState } from "react"; // node.js library that concatenates classes (strings) import classnames from "classnames"; // javascipt plugin for creating charts import Chart from "chart.js"; // react plugin used to create charts import { Line, Bar } from "react-chartjs-2"; // reactstrap components import { Button, Card, CardHeader, CardBody, NavItem, NavLink, Nav, Progress, Table, Container, Row, Col, } from "reactstrap"; // core components import { chartOptions, parseOptions, chartExample1, chartExample2, } from "variables/charts.js"; import Header from "components/Headers/Header.js"; const Index = (props) => { const [activeNav, setActiveNav] = useState(1); const [chartExample1Data, setChartExample1Data] = useState("data1"); if (window.Chart) { parseOptions(Chart, chartOptions()); } const toggleNavs = (e, index) => { e.preventDefault(); setActiveNav(index); setChartExample1Data("data" + index); }; return ( <>
{/* Page content */}
Overview

Sales value

{/* Chart */}
console.log(e)} />
Performance

Total orders

{/* Chart */}

Page visits

Page name Visitors Unique users Bounce rate
/argon/ 4,569 340 46,53%
/argon/index.html 3,985 319 {" "} 46,53%
/argon/charts.html 3,513 294 {" "} 36,49%
/argon/tables.html 2,050 147 50,87%
/argon/profile.html 1,795 190 {" "} 46,53%

Social traffic

Referral Visitors
Facebook 1,480
60%
Facebook 5,480
70%
Google 4,807
80%
Instagram 3,678
75%
twitter 2,645
30%
); }; export default Index;