Skip to content

Commit

Permalink
Update exercises page
Browse files Browse the repository at this point in the history
  • Loading branch information
astijusar committed Nov 4, 2023
1 parent 506f4b1 commit 4abef93
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
40 changes: 39 additions & 1 deletion src/Web UI/src/routes/Exercises.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,45 @@
const Exercises = () => {
const exercises = [
"Ab Roller",
"Bench Press (barbell)",
"Bench Press (dumbbell)",
"Deadlift (barbell)",
"Deadlift (dumbbell)",
"Jump Squat",
"Lat Pulldown (Cable)",
"Overhead press",
"Ab Roller",
"Bench Press (barbell)",
"Bench Press (dumbbell)",
"Deadlift (barbell)",
"Deadlift (dumbbell)",
"Jump Squat",
"Lat Pulldown (Cable)",
"Overhead press",
"Ab Roller",
"Bench Press (barbell)",
"Bench Press (dumbbell)",
"Deadlift (barbell)",
"Deadlift (dumbbell)",
"Jump Squat",
"Lat Pulldown (Cable)",
"Overhead press",
]

return (
<div className="mx-5">
<h1 className="text-5xl font-semibold">Exercises</h1>
<h1 className="mt-5 text-5xl font-semibold">Exercises</h1>
<div className="mt-5 flex flex-col gap-3">
{exercises.map((ex) =>
<div key={ex} className="flex items-center gap-3">
<div className="w-16 h-16 bg-secondary rounded-full flex items-center justify-center text-black font-semibold">{ex[0]}</div>
<div className="flex flex-col">
<h5 className="font-semibold text-xl">{ex}</h5>
<p className="text-gray-500 text-sm">Category</p>
</div>
</div>
)}
</div>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Web UI/src/routes/Root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Outlet } from "react-router-dom";
const Root = () => {
return (
<>
<div className="pb-[80px] w-full min-h-screen bg-neutral flow-root sm:rounded-t-2xl sm:mx-auto sm:w-2/3 md:w-3/5 lg:w-3/6 xl:w-1/3">
<div className="pb-[80px] w-full min-h-screen text-slate-300 bg-neutral flow-root sm:rounded-t-2xl sm:mx-auto sm:w-2/3 md:w-3/5 lg:w-3/6 xl:w-1/3">
<Outlet />
</div>
<BottomNav />
Expand Down

0 comments on commit 4abef93

Please sign in to comment.