Skip to content

feat: badges for training questions - #53

Open
yolanda3020 wants to merge 1 commit into
mainfrom
badge_thing
Open

feat: badges for training questions#53
yolanda3020 wants to merge 1 commit into
mainfrom
badge_thing

Conversation

@yolanda3020

Copy link
Copy Markdown
Contributor

No description provided.

{section.__typename === "training::Question" &&
(section.type === "SINGLE" ? (
<RadioGroup>
<Badge variant="secondary" className="ml-0.5">Select one</Badge>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the alignment fix for this nice spot

</RadioGroup>
) : (
section.answers.map((answer) => (
section.answers.map((answer) => (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be missing a badge for the multi

Comment on lines +195 to +203

<Button
className="d-flex gap-2 mb-2"
onClick={() => window.scrollTo({top:0, behavior: "smooth" })}
>
<ArrowUp className="pr-2" />
To top of page
</Button>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not too sure what the point of this is? I don't really think people need to get back to the top of the training.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants