This commit is contained in:
2025-11-14 15:30:44 +08:00
parent adcb7920bd
commit cf3cb916b7
42 changed files with 939 additions and 655 deletions

View File

@@ -1,8 +1,8 @@
import LightButton from "@/components/buttons/LightButton";
import { WordData } from "@/interfaces";
import { WordData } from "@/lib/interfaces";
import { Dispatch, SetStateAction, useState } from "react";
import { useAudioPlayer } from "@/hooks/useAudioPlayer";
import { getTTSAudioUrl } from "@/utils";
import { getTTSAudioUrl } from "@/lib/utils";
import { VOICES } from "@/config/locales";
import { useTranslations } from "next-intl";