Skip to content

Commit

Permalink
chore(readme + rename): renamed VideoPlayer to AudioPlayer and added …
Browse files Browse the repository at this point in the history
…some additional points in README goals.
  • Loading branch information
Aeonoi committed Sep 21, 2024
1 parent 8537bb8 commit cd771e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,19 @@

* [ ] Track how long the user has logged in for
* [ ] Track how many consecutive days (streak) the user has been logged in for
* Queries the different days and checks if they are back to back.
* [ ] Create a rank system for these data points (bronze, silver, etc.)
* Lose points for not accomplishing certain milestones
* [ ] Have medals/achievements for reaching certain points

### Settings/Preferences:

* [ ] Open settings: (Enable/Disable leaving tab when timer is on)

### Studying Habits (WIP):

* [ ] Try to promote healthy studying habits.

## Getting Started

This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
Expand Down
4 changes: 2 additions & 2 deletions components/VideoPlayer.tsx → components/AudioPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
import ReactPlayer from "react-player";
import { Slider } from "./ui/slider";

const VideoPlayer = (): JSX.Element => {
const AudioPlayer = (): JSX.Element => {
const [pauseMusic, setPauseMusic] = useState<boolean>(true);
const [videos, setVideos] = useState<string[][]>([
["https://www.youtube.com/watch?v=kavLNr-PyoY"],
Expand Down Expand Up @@ -106,4 +106,4 @@ const VideoPlayer = (): JSX.Element => {
);
};

export default VideoPlayer;
export default AudioPlayer;
4 changes: 2 additions & 2 deletions components/BottomNavbar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Button } from "./ui/button";
import { Notebook, Search, SettingsIcon } from "lucide-react";
import { Card } from "./ui/card";
import VideoPlayer from "./VideoPlayer";
import AudioPlayer from "./AudioPlayer";

interface Props {
textareaState: boolean;
Expand Down Expand Up @@ -32,7 +32,7 @@ const BottomNavbar = ({
</Button>
</Card>
{/* FIXME: Error: Hydration failed because the initial UI does not match what was rendered on the server. */}
<VideoPlayer />
<AudioPlayer />
</nav>
);
};
Expand Down

0 comments on commit cd771e8

Please sign in to comment.