{"size": 682, "ext": "js", "max_stars_repo_path": "frontend/pages/admin.js", "max_stars_repo_name": "WaleedMKasem/pizzaql", "max_stars_repo_stars_event_min_datetime": "2019-01-25T17:58:28.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-06T13:03:41.000Z", "max_issues_repo_path": "frontend/pages/admin.js", "max_issues_repo_name": "WaleedMKasem/pizzaql", "max_issues_repo_issues_event_min_datetime": "2019-01-29T22:41:31.000Z", "max_issues_repo_issues_event_max_datetime": "2020-09-26T13:19:50.000Z", "max_forks_repo_path": "frontend/pages/admin.js", "max_forks_repo_name": "WaleedMKasem/pizzaql", "max_forks_repo_forks_event_min_datetime": "2019-03-24T17:36:43.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-03T05:43:31.000Z"}
{"max_stars_count": 718, "max_issues_count": 12, "max_forks_count": 72, "avg_line_length": 27.28, "max_line_length": 129, "alphanum_fraction": 0.6964809384}
import React from 'react';
import {Divider, Icon} from '@blueprintjs/core';

import secureTemplate from '../public/auth/secure-template';

import Container from '../components/dashboard/container';
import CreateOrder from '../components/dashboard/utils/create-order';
import Orders from '../components/dashboard/orders';

const Dashboard = () => (
	<Container>
		<h1 className="bp3-heading">Welcome to Dashboard!</h1>
		<br/>
		<p><Icon intent="success" icon="tick-circle" iconSize={18}/> You are logged in, click <a href="/logout">here</a> to logout.</p>
		<br/>
		<CreateOrder/>
		<Divider/>
		<br/>
		<br/>
		<Orders/>
	</Container>
);

export default secureTemplate(Dashboard);
