Skip to content

Commit

Permalink
wip: get sammwise running w/o CVEs
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn-V committed Oct 4, 2023
1 parent 631b21d commit 3b8e685
Show file tree
Hide file tree
Showing 6 changed files with 4,187 additions and 6,186 deletions.
13 changes: 9 additions & 4 deletions comps/ComponentToPrint.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import InputFile from '../comps/inputfile';
import Dataset from '../comps/surveyDisplay/graphs/datasetprops';
import {Radar, Doughnut, Bar} from 'react-chartjs-2';
import dynamic from "next/dynamic";

import {Radar, Bar} from 'react-chartjs-2';
import { Chart, registerables } from 'chart.js';
import { Flex, Box } from 'reflexbox'
import GaugeChart from 'react-gauge-chart'

import React from 'react';

const GaugeChart = dynamic(() => import('react-gauge-component'), { ssr: false });
Chart.register(...registerables);

//This component is for refactoring results page so the print button can be added.

class ComponentToPrint extends React.PureComponent {
Expand Down
8 changes: 4 additions & 4 deletions comps/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ const Navbar = () => {
<div className = "logo">
<Image src = "/logo.png" width = {77} height = {77}/>
</div>
<Link href="/"><a>Home</a></Link>
<Link href="/about"><a>About</a></Link>
<Link href="/assessment"><a>Assessment</a></Link>
<Link href="/results"><a>Results</a></Link>
<Link href="/" legacyBehavior><a>Home</a></Link>
<Link href="/about" legacyBehavior><a>About</a></Link>
<Link href="/assessment" legacyBehavior><a>Assessment</a></Link>
<Link href="/results" legacyBehavior><a>Results</a></Link>
</nav>
);
}
Expand Down
Loading

0 comments on commit 3b8e685

Please sign in to comment.