From cd771e8df17b0106ae3451a6e4285269da3fcf41 Mon Sep 17 00:00:00 2001 From: Aeonoi Date: Sat, 21 Sep 2024 19:17:26 -0400 Subject: [PATCH] chore(readme + rename): renamed VideoPlayer to AudioPlayer and added some additional points in README goals. --- README.md | 6 ++++++ components/{VideoPlayer.tsx => AudioPlayer.tsx} | 4 ++-- components/BottomNavbar.tsx | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) rename components/{VideoPlayer.tsx => AudioPlayer.tsx} (97%) diff --git a/README.md b/README.md index bde2c09..681f8ba 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/components/VideoPlayer.tsx b/components/AudioPlayer.tsx similarity index 97% rename from components/VideoPlayer.tsx rename to components/AudioPlayer.tsx index 3f2b552..41ddc05 100644 --- a/components/VideoPlayer.tsx +++ b/components/AudioPlayer.tsx @@ -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(true); const [videos, setVideos] = useState([ ["https://www.youtube.com/watch?v=kavLNr-PyoY"], @@ -106,4 +106,4 @@ const VideoPlayer = (): JSX.Element => { ); }; -export default VideoPlayer; +export default AudioPlayer; diff --git a/components/BottomNavbar.tsx b/components/BottomNavbar.tsx index 5cfc097..bc07b1f 100644 --- a/components/BottomNavbar.tsx +++ b/components/BottomNavbar.tsx @@ -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; @@ -32,7 +32,7 @@ const BottomNavbar = ({ {/* FIXME: Error: Hydration failed because the initial UI does not match what was rendered on the server. */} - + ); };