Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added unit circle for exercise side #30

Merged
merged 10 commits into from
Nov 16, 2022
32 changes: 32 additions & 0 deletions src/assets/Exercises/circleTurtle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/Exercises/cursor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions src/assets/Exercises/unitCircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/assets/Exercises/unitEllipse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/components/shared/ExerciseSide.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import '../../styles/ExerciseSide.scss';
import AxisExercise from './Exercises/AxisExercise';
('./Exercises/AxisExercise');
import UnitCircleExercise from './Exercises/UnitCircleExercise';

function ExerciseSide(): JSX.Element {
return (
Expand All @@ -12,6 +13,11 @@ function ExerciseSide(): JSX.Element {
labels={['A', '', '', 'B', 'C']}
turtlePosition={1}
/>
<UnitCircleExercise
turtleAngle={0}
markers={['0', '', '', '', '']}
labels={['', 'A', 'B', 'E', 'G']}
/>
</div>
</section>
);
Expand Down
Loading