Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PortalMEC-React
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
Model registry
Operate
Environments
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
PortalMEC
PortalMEC-React
Commits
d93bc8cd
Commit
d93bc8cd
authored
5 years ago
by
Lucas Eduardo Schoenfelder
Browse files
Options
Downloads
Patches
Plain Diff
perdao, to com pressa
parent
d9ba289f
No related branches found
No related tags found
4 merge requests
!57
Merge of develop into master
,
!56
Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...
,
!18
Branch do lucas
,
!17
Branch do lucas
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Components/TabPanelColecoes.js
+37
-2
37 additions, 2 deletions
src/Components/TabPanelColecoes.js
src/img/Pagina_vazia_colecao.png
+0
-0
0 additions, 0 deletions
src/img/Pagina_vazia_colecao.png
with
37 additions
and
2 deletions
src/Components/TabPanelColecoes.js
+
37
−
2
View file @
d93bc8cd
...
...
@@ -6,8 +6,10 @@ import Button from '@material-ui/core/Button';
import
{
ButtonMostrarTodos
,
ButtonMostrarMais
,
BtnAlinhaRecPvt
,
DivContainerRecursosPublicados
,
ContainerDivStyled
,
DivTitulo
,
StyledP
,
StyledHR
}
from
'
./TabPanelMeusRecursos.js
'
import
{
NoPubSpan
,
DivConteudoNaoPublicado
,
DivTextoNoPublications
}
from
'
./TabPanelMeusRecursos.js
'
import
LoadingSpinner
from
'
./LoadingSpinner.js
'
import
PaginaVaziaColecao
from
'
../img/Pagina_vazia_colecao.png
'
import
axios
from
'
axios
'
import
{
apiUrl
}
from
'
../env
'
;
import
CreateNewFolderIcon
from
'
@material-ui/icons/CreateNewFolder
'
;
export
default
function
TabPanelColecoes
(
props
)
{
const
[
loading
,
handleLoading
]
=
useState
(
true
)
...
...
@@ -54,12 +56,36 @@ export default function TabPanelColecoes (props) {
<
StyledP
>
Minhas
Coleções
<
b
style
=
{{
fontWeight
:
"
700
"
,
fontSize
:
"
20px
"
}}
>
({
userCollectionsLength
})
<
/b></
StyledP
>
<
StyledHR
/>
<
/DivTitulo
>
<
div
style
=
{{
height
:
"
400px
"
}}
>
<
div
style
=
{{
paddingRight
:
"
15px
"
,
paddingLeft
:
"
15px
"
}}
>
<
CardDiv
>
<
div
style
=
{{
backgroundColor
:
"
#673ab7
"
,
height
:
"
250px
"
,
display
:
"
flex
"
,
justifyContent
:
"
center
"
,
alignItems
:
"
center
"
}}
>
<
CreateNewFolderIcon
style
=
{{
color
:
"
#fff
"
,
fontSize
:
"
70px
"
}}
/
>
<
p
style
=
{{
fontSize
:
"
16px
"
,
margin
:
"
0 0 10px
"
}}
>
CRIAR
COLEÇÃO
<
/p
>
<
/div
>
<
/CardDiv
>
{
userCollectionsLength
==
0
?
(
[
<
span
>
Adicionar
tela
"
criar colecao
"
e
a
imagem
<
/span
>
<
DivTextoNoPublications
style
=
{{
width
:
"
50%
"
}}
>
<
div
style
=
{{
position
:
"
relative
"
,
top
:
"
50%
"
,
transform
:
"
translateY(-50%)
"
}}
>
<
div
>
<
img
src
=
{
PaginaVaziaColecao
}
alt
=
"
PaginaVaziaColecao
"
style
=
{{
height
:
"
150px
"
,
width
:
"
150px
"
,
verticalAlign
:
"
middle
"
,
border
:
"
0
"
}}
/
>
<
br
/>
<
span
style
=
{{
fontFamily
:
"
Roboto
"
,
fontWeight
:
"
lighter
"
,
fontSize
:
"
24px
"
}}
>
Criamos
a
sua
primeira
Coleção
!
<
/span
>
<
p
style
=
{{
fontFamily
:
"
Roboto
"
,
fontSize
:
"
16px
"
,
margin
:
"
0 0 10px
"
}}
>
Adicione
nela
recursos
que
você
queira
acessar
mais
tarde
.
<
br
/>
Crie
novas
coleções
clicando
no
cartão
roxo
"
Criar Colecão
"
.
<
/p
>
<
/div
>
<
/div
>
<
/DivTextoNoPublications
>
]
)
:
...
...
@@ -121,3 +147,12 @@ export default function TabPanelColecoes (props) {
<
/
>
)
}
const
CardDiv
=
styled
.
div
`
margin-top : 10px;
margin-bottom : 10px;
width : 25%;
float : left;
padding-left : 15px;
padding-right : 15px;
`
This diff is collapsed.
Click to expand it.
src/img/Pagina_vazia_colecao.png
0 → 100644
+
0
−
0
View file @
d93bc8cd
88.2 KiB
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