-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added position fix to sidebar, Created Analytics page UI, Adjusted ov…
…erall layout for responsiveness
- Loading branch information
Showing
10 changed files
with
125 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,7 @@ export default function ProjectsCards() { | |
</div> | ||
</CardTemplate> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,115 @@ | ||
import PageSubNavigation from "@/components/page-template/page-subnavigation.component"; | ||
import CardTemplate from "@/components/card-template/card-template.component"; | ||
import ProgressBar from "@/components/progressbar/progressbar.component"; | ||
import {AiOutlineArrowUp} from "react-icons/ai"; | ||
// To be removed | ||
import { buildStyles, CircularProgressbar } from "react-circular-progressbar"; | ||
import 'react-circular-progressbar/dist/styles.css'; | ||
|
||
export default function Analytics() { | ||
return( | ||
<div className="lg:mt-0 mt-20 lg:p-0 p-5"> | ||
<PageSubNavigation title="Analytics"/> | ||
<div></div> | ||
<div className="flex flex-col gap-2 lg:flex-row lg:gap-10 w-full"> | ||
<div className=" flex flex-col lg:flex-col pt-3 pb-3 gap-5 w-full"> | ||
<CardTemplate additionalClasses="text-2xl 2xl:text-lg" additionalContentClasses="flex flex-col" title="Board Activity"> | ||
<div> | ||
<span className="font-bold text-green-400">+4</span> New Activity | ||
</div> | ||
<div> | ||
<span className="font-bold text-green-400">+1</span> Completed Card(s) | ||
</div> | ||
<div> | ||
<span className="font-bold">-0</span> Card(s) Created | ||
</div> | ||
</CardTemplate> | ||
<CardTemplate title="Completion Status" additionalContentClasses="flex flex-col"> | ||
<div className="text-green-400 font-medium"><AiOutlineArrowUp className="inline"/>+23%</div> | ||
<div>Card Completion progress has increased over the following week</div> | ||
</CardTemplate> | ||
<CardTemplate title="Cycle Time" additionalContentClasses="flex flex-col"> | ||
<div>Displays how the time it takes for cards to be completed from start of creation date to finish</div> | ||
<div className="w-[300px] h-[250px] bg-contain bg-center bg-no-repeat" style={{backgroundImage:`url(images/NBcharts-lineChats.png)`}}></div> | ||
</CardTemplate> | ||
<CardTemplate title="Lead Time" additionalClasses="flex flex-col h-full"> | ||
<div>Displays how the time it takes for cards to be completed when it is first worked on (first action) to finish</div> | ||
<div className="font-bold text-center pt-16">DATA TO BE DISPLAYED</div> | ||
</CardTemplate> | ||
</div> | ||
|
||
|
||
<div className=" flex flex-col lg:flex-col pt-3 pb-5 gap-5 w-full"> | ||
<CardTemplate title="Board Age" additionalContentClasses="flex flex-row justify-center gap-4"> | ||
<div className="w-[30%]"> | ||
<CircularProgressbar value={70} text={"33 days"} | ||
strokeWidth={6} | ||
styles={buildStyles({ | ||
textSize: "1rem", | ||
textColor: "#fff", | ||
pathColor: 70 < 20 ? "#FF5C5C" : 70 < 50 ? "#FFC05C" : "#71EB84", | ||
trailColor: "#fff", | ||
})}/> | ||
</div> | ||
<div className="flex flex-col text-3xl self-center gap-2"> | ||
<div>Fairly New</div> | ||
<div>Status: <span className="text-green-400">Open</span></div> | ||
</div> | ||
</CardTemplate> | ||
<CardTemplate title="Members Utilization"> | ||
<div className="flex flex-row gap-5"> | ||
<div className="text-green-400 font-medium"><AiOutlineArrowUp className="inline"/>+5%</div> | ||
<div className="w-80">On average, performance has increased slightly compared to last week</div> | ||
</div> | ||
</CardTemplate> | ||
|
||
<div className="font-extrabold text-3xl text-center">Card Statistics</div> | ||
<div className="flex flex-row gap-5"> | ||
<CardTemplate title="Milestones"> | ||
<div className="m-auto w-5/6 lg:w-4/6"> | ||
<CircularProgressbar value={10} text={"10%"} | ||
strokeWidth={6} | ||
styles={buildStyles({ | ||
textSize: "1rem", | ||
textColor: "#fff", | ||
pathColor: 70 < 20 ? "#FF5C5C" : 70 < 50 ? "#FFC05C" : "#71EB84", | ||
trailColor: "#fff", | ||
})}/> | ||
</div> | ||
</CardTemplate> | ||
<CardTemplate> | ||
<div className="pb-2">On Track <span className="float-right">15 <span className="opacity-80">{'(75%)'}</span></span></div> | ||
<ProgressBar max={20} value={15} type="good"/> | ||
|
||
<div className="pb-2">At Risk <span className="float-right">3 <span className="opacity-80">{'15%)'}</span></span></div> | ||
<ProgressBar max={20} value={3} type="bad"/> | ||
|
||
<div className="pb-2">Not Assigned <span className="float-right">10 <span className="opacity-80">{'(50%)'}</span></span></div> | ||
<ProgressBar max={20} value={10}/> | ||
|
||
<div>Done <span className="float-right">2 <span className="opacity-80">{'(10%)'}</span></span></div> | ||
<ProgressBar max={20} value={2}/> | ||
</CardTemplate> | ||
</div> | ||
|
||
<div className="flex flex-row gap-5"> | ||
<CardTemplate title="Total Cards"> | ||
<div className="font-extrabold text-8xl text-center ">20</div> | ||
</CardTemplate> | ||
<CardTemplate title="To Do Cards"> | ||
<div className="font-extrabold text-8xl text-center ">13</div> | ||
</CardTemplate> | ||
</div> | ||
|
||
<div className="flex flex-row gap-5"> | ||
<CardTemplate title="Doing Cards"> | ||
<div className="font-extrabold text-8xl text-center ">5</div> | ||
</CardTemplate> | ||
<CardTemplate title="Done Cards"> | ||
<div className="font-extrabold text-8xl text-center ">2</div> | ||
</CardTemplate> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,8 @@ | |
|
||
html, | ||
body { | ||
max-width: 100vw; | ||
width: 100%; | ||
height: 100%; | ||
overflow-x: hidden; | ||
} | ||
|
||
|
36f8fde
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
beta-trello-dashboard – ./
beta-trello-dashboard-pixelrena.vercel.app
beta-trello-dashboard-git-main-pixelrena.vercel.app
beta-trello-dashboard.vercel.app