diff --git a/app/page.tsx b/app/page.tsx index 7eaf628..b5c6335 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -14,10 +14,7 @@ export default function App() {
Team ✨
{teamSparkles.map((member, index) => ( - +
{member.avatar && ( diff --git a/components/BarGraph/BarGraph.tsx b/components/BarGraph/BarGraph.tsx deleted file mode 100644 index fe8e9ba..0000000 --- a/components/BarGraph/BarGraph.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { FC } from 'react'; - -const graph_offset = 20; - -export const BarGraph: FC<{ - values: number[]; - total: number; - title?: string; -}> = ({ values, total, title }) => { - const max_value = Math.max(...values); - - return ( - <> - {title &&
{title}
} -
- {Array.from({ length: total }).map((_, index) => { - // value between 0-100 - const percent = - (values[index] / max_value) * (100 - graph_offset) + - graph_offset; - - return ( -
- ); - })} -
- - ); -}; diff --git a/components/Panel/Panel.tsx b/components/Panel/Panel.tsx deleted file mode 100644 index b8ab3da..0000000 --- a/components/Panel/Panel.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { FC, PropsWithChildren } from 'react'; - -export const Panel: FC< - PropsWithChildren<{ title: string; loading?: boolean }> -> = ({ title, loading, children }) => { - return ( -
-
- {title} -
- {children} -
- ); -}; diff --git a/components/Sidebar/Sidebar.tsx b/components/Sidebar/Sidebar.tsx index 896e808..b7864fe 100644 --- a/components/Sidebar/Sidebar.tsx +++ b/components/Sidebar/Sidebar.tsx @@ -5,7 +5,7 @@ export const Sidebar: FC = () => {
- v3xlabs + v3xlabs
Empowering open-source