Skip to content
Snippets Groups Projects
Commit f7ce1f63 authored by lfr20's avatar lfr20
Browse files

Deleted, because it was not a good way to display the content of the pages

parent dc30c259
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!40merge admin into develop,!37Merge sistema_admin into Update_Admin_System
/*Copyright (C) 2019 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana
This file is part of Plataforma Integrada MEC.
Plataforma Integrada MEC is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Plataforma Integrada MEC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/
import React from 'react';
import Inframe from '../../Pages/Pages/SubPages/Inframe';
import Welcome from './Welcome';
import NoteVariables from '../../Pages/Pages/SubPages/NoteVariables';
import Institutions from '../../Pages/Pages/SubPages/Institutions';
// This file manuipulate the content that will be displayed in the right part of the screen
// its not optmized yet, but when all the section were completed i intend to create an array with the contents
const DisplayContent = ( props ) => {
if(props.i === 0){
return(
<Welcome/>
)
} else if(props.i === 16){
return (
<Inframe/>
)
} else if(props.i === 9) {
return(
<NoteVariables/>
)
} else if(props.i === 4) {
return(
<Institutions/>
)
}
else {
return(
<div>
Essa sessão está em desenvolvimento
</div>
)
}
}
export default DisplayContent;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment