Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ nvm install v20
nvm use
```

Now go to ```cd tech-ears``` and run ```yarn install```
Now go to ```cd tech-ears```, run ```yarn install``` and when finish install, run ```yarn dev```

After that you can go to: ```http://localhost:3000``` so you can run locally.

Expand Down
2 changes: 1 addition & 1 deletion src/app/actions/textToSpeechAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function textToSpeechAction(phrase: string) {
};

const apiKey = process.env.GOOGLE_API_KEY;
console.log("asdasd");

const response = await fetch(
`https://texttospeech.googleapis.com/v1/text:synthesize?key=${apiKey}`,
options
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function Footer() {
<span className="text-sm text-gray-500">© 2024 TechEars. All rights reserved.</span>
<span className="text-sm text-gray-500 flex items-center">
Made with Love by
<Link href={"https://x.com/tech_ears"}>
<Link target="_blank" href={"https://x.com/tech_ears"}>
<span className="font-semibold ml-1">@ThurrDev</span>
</Link>
<span className="mx-1">from</span>
Expand Down
6 changes: 2 additions & 4 deletions src/components/Footer/FooterButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default function FooterButton({ disabled, onButtonPress, buttonState, chi
return "bg-green-500";
}
if (buttonState = !null && buttonState == false) {
console.log("Estado 2" + buttonState);
return "bg-red-500";
}
return;
Expand All @@ -26,9 +25,8 @@ export default function FooterButton({ disabled, onButtonPress, buttonState, chi
<div className="flex w-56 ">
<MainButton
title="Continue"
className={`border border-solid-100 gap-x-2 px-4 bg-button-main text-white py-3 ${
disabled ? "opacity-50 cursor-not-allowed" : "opacity-100 "
}
className={`border border-solid-100 gap-x-2 px-4 bg-button-main text-white py-3 ${disabled ? "opacity-50 cursor-not-allowed" : "opacity-100 "
}
${handleButton()}
`}
disabled={disabled}
Expand Down
5 changes: 2 additions & 3 deletions src/components/LessonComplete/lessonComplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const LessonComplete = ({ correctCount }) => {
}, []);

const shareProgress = () => {
console.log("Share Progress Clicked");
const tweetText = `I just used TechEars to practice my English ✨, I got ${storedCorrectCount} phrases correctly! Join me at: techears.tech`;
const twitterUrl = `https://twitter.com/compose/tweet?text=${encodeURIComponent(tweetText)}`;
window.open(twitterUrl, "_blank");
Expand Down Expand Up @@ -45,8 +44,8 @@ const LessonComplete = ({ correctCount }) => {
href="https://www.techears.tech"
className="sm:max-w-56 bg-white text-black py-3 px-4 border border-solid border-gray-300 text-center justify-center w-full flex rounded-2xl font-semibold text-xl gap-2 hover:scale-110 transition-all items-center"
>
<HomeIcon/> Back To Home
<HomeIcon /> Back To Home

</Link>

<MainButton
Expand Down