Skip to content
Snippets Groups Projects
Commit 2b2fd6d6 authored by gsf20's avatar gsf20
Browse files

Issue #371: FIX statistics to show total, old backend

parent 230a5f0c
No related branches found
No related tags found
No related merge requests found
Pipeline #42811 failed
...@@ -56,13 +56,13 @@ export default function AboutComponent() { ...@@ -56,13 +56,13 @@ export default function AboutComponent() {
<div className="flex max-sm:flex-col mb-10 gap-x-[60px]"> <div className="flex max-sm:flex-col mb-10 gap-x-[60px]">
<StatisticInfo <StatisticInfo
name={<p>Recursos publicados</p>} name={<p>Recursos publicados</p>}
data={statistics["learning_object_count"]} data={statistics["learning_objects"]}
color={{ text: "text-darkGray-HC-white", bg: "bg-orange-HC-white" }} color={{ text: "text-darkGray-HC-white", bg: "bg-orange-HC-white" }}
icon="/redigitais.svg" icon="/redigitais.svg"
/> />
<StatisticInfo <StatisticInfo
name={<p>Recursos visualizados <br /> nos últimos 30 dias</p>} name={<p>Visualizações de recursos</p>}
data={statistics["month_views"]} data={statistics["views"]}
color={{ text: "text-darkGray-HC-white", bg: "bg-violet-HC-white" }} color={{ text: "text-darkGray-HC-white", bg: "bg-violet-HC-white" }}
icon="/download.svg" icon="/download.svg"
/> />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment