1
0
Fork 0

Add Ethics Bar Chart

This commit is contained in:
Neshura 2023-06-03 03:01:56 +02:00
parent 053b0366f8
commit bb6eb3539b
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 127 additions and 1 deletions

View file

@ -4,6 +4,7 @@ import {RadarChart} from '../components/charts/radar'
import {EmpireStats} from '../components/tables/empires'
import { Checkbox } from '@nextui-org/react';
import { PopChart } from '@/components/charts/pops';
import { EthicsBar } from '../components/charts/ethicsBar';
export default function Home() {
const [weighted, setWeighted] = useState(true);
@ -15,7 +16,10 @@ export default function Home() {
<EmpireStats />
<Checkbox labelColor="primary" defaultSelected={weighted} onChange={() => setWeighted(!weighted)}>Weighted Ethics</Checkbox>
</div>
<PopChart></PopChart>
<div className='flex flex-col justify-around h-full'>
<PopChart></PopChart>
<EthicsBar></EthicsBar>
</div>
</div>