Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend-MECRED
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MECRED
Frontend-MECRED
Commits
f2ca3ec0
Commit
f2ca3ec0
authored
1 month ago
by
Richard Fernando Heise Ferreira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-287/change-counter-about-page' into 'develop'
Issue
#287
: UPDATE mecred statistics on about page See merge request
!271
parents
b7caf4b4
135b7f98
No related branches found
No related tags found
1 merge request
!271
Issue #287: UPDATE mecred statistics on about page
Pipeline
#41887
passed
1 month ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/About.js
+37
-10
37 additions, 10 deletions
src/app/components/About.js
with
37 additions
and
10 deletions
src/app/components/About.js
+
37
−
10
View file @
f2ca3ec0
...
@@ -52,23 +52,23 @@ export default function AboutComponent() {
...
@@ -52,23 +52,23 @@ export default function AboutComponent() {
const
Statistics
=
()
=>
{
const
Statistics
=
()
=>
{
return
(
return
(
<
div
className
=
"
flex max-sm:flex-col mb-10
"
>
<
div
className
=
"
flex max-sm:flex-col mb-10
gap-x-[60px]
"
>
<
StatisticInfo
<
StatisticInfo
name
=
{
<
p
>
Recursos
<
br
/>
Disponíveis
<
/p>
}
name
=
{
<
p
>
Recursos
Disponíveis
<
/p>
}
data
=
{
statistics
[
"
count
"
]}
data
=
{
statistics
[
"
count
"
]}
color
=
{{
text
:
"
text-
orange
-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
<
br
/>
Visualiz
ados
<
br
/>
por
mês
<
/p>
}
name
=
{
<
p
>
Recursos
Acess
ados
<
br
/>
por
mês
<
/p>
}
data
=
{
statistics
[
"
month_downloads
"
]}
data
=
{
statistics
[
"
month_downloads
"
]}
color
=
{{
text
:
"
text-
violet
-HC-white
"
,
bg
:
"
bg-violet-HC-white
"
}}
color
=
{{
text
:
"
text-
darkGray
-HC-white
"
,
bg
:
"
bg-violet-HC-white
"
}}
icon
=
"
/download.svg
"
icon
=
"
/download.svg
"
/>
/>
<
StatisticInfo
<
StatisticInfo
name
=
{
<
p
>
Usuários
<
br
/>
Cadastrados
<
/p>
}
name
=
{
<
p
>
Usuários
Cadastrados
<
/p>
}
data
=
"
31207
"
data
=
{
statistics
[
"
unique_users
"
]}
color
=
{{
text
:
"
text-
pink
-HC-white
"
,
bg
:
"
bg-pink-HC-white
"
}}
color
=
{{
text
:
"
text-
darkGray
-HC-white
"
,
bg
:
"
bg-pink-HC-white
"
}}
icon
=
"
/seguir.svg
"
icon
=
"
/seguir.svg
"
/>
/>
<
/div
>
<
/div
>
...
@@ -92,6 +92,30 @@ export default function AboutComponent() {
...
@@ -92,6 +92,30 @@ export default function AboutComponent() {
);
);
};
};
const
MecredStats
=
()
=>
{
return
(
<
div
>
<
div
className
=
"
mx-8 my-10
"
>
<
h1
className
=
"
flex justify-center font-bold text-2xl text-darkGray-HC-white mx-10
"
>
A
MEC
RED
é
uma
rede
para
você
se
conectar
com
pessoas
interessadas
em
Educação
!
<
/h1
>
<
/div
>
<
div
>
<
h1
className
=
"
flex text-xl justify-center text-darkGray-HC-white text-wrap max-md:mx-10 mx-[100px] my-7
"
>
Construa
conosco
a
sua
rede
de
conhecimentos
,
interagindo
com
pessoas
envolvidas
com
experiência
educacionais
que
ocorrem
em
todo
o
Brasil
!
<
/h1
>
<
/div
>
<
div
>
<
div
className
=
"
flex flex-row justify-center
"
>
<
Statistics
/>
<
/div
>
<
/div
>
<
/div
>
);
}
const
Actors
=
()
=>
{
const
Actors
=
()
=>
{
return
(
return
(
<>
<>
...
@@ -333,6 +357,9 @@ export default function AboutComponent() {
...
@@ -333,6 +357,9 @@ export default function AboutComponent() {
<
Title
/>
<
Title
/>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"
flex flex-col mt-12 text-center items-center rounded-lg bg-white-HC-dark outline outline-1 outline-ice-HC-white
"
>
<
MecredStats
/>
<
/div
>
<
div
className
=
"
flex flex-col text-center items-center mt-12 rounded-lg bg-white-HC-dark max-sm:hidden outline outline-1 outline-ice-HC-white
"
>
<
div
className
=
"
flex flex-col text-center items-center mt-12 rounded-lg bg-white-HC-dark max-sm:hidden outline outline-1 outline-ice-HC-white
"
>
<
Actors
/>
<
Actors
/>
<
/div
>
<
/div
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment