Skip to content

Commit 70754bc

Browse files
authored
chore(components): add LoadingCycle, DiscordAvatar and User, improve Button (@fehmer) (monkeytypegame#7463)
- **add isActive and classList to Button, move H2 and H3 to Headers** - **add aria-label and router-link to button** - **move tests to correct folders** - **add LoadingCircle** - **add DiscordAvatar and User**
1 parent 6fbe7fb commit 70754bc

File tree

17 files changed

+841
-338
lines changed

17 files changed

+841
-338
lines changed

frontend/__tests__/components/Button.spec.tsx

Lines changed: 0 additions & 177 deletions
This file was deleted.

frontend/__tests__/components/AnimatedModal.spec.tsx renamed to frontend/__tests__/components/common/AnimatedModal.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { render } from "@solidjs/testing-library";
22
import { describe, it, expect, vi, beforeEach } from "vitest";
33

4-
import { AnimatedModal } from "../../src/ts/components/common/AnimatedModal";
4+
import { AnimatedModal } from "../../../src/ts/components/common/AnimatedModal";
55

66
describe("AnimatedModal", () => {
77
beforeEach(() => {

0 commit comments

Comments
 (0)