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

Add maintence banner in the top of the page

parent 37c890af
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...,!55fixed anchor bug and added a logic to scroll to the top when user enters in...,!53Fix admin bugs luis
......@@ -52,6 +52,7 @@ import CollectionPage from "./Pages/CollectionPage.js";
import FormationMaterialPage from "./Pages/FormationMaterialPage.js";
import FormationMaterialIframe from "./Pages/FormationMaterialIframe.js";
import MaterialPage from "./Pages/MaterialPage";
import Maintence from './Components/maintenance'
import NoteVariables from "./Admin/Pages/Pages/SubPages/NoteVariables";
import Institution from "./Admin/Pages/Pages/SubPages/Institutions";
......@@ -92,6 +93,7 @@ import EditRole from "./Admin/Components/Components/Inputs/EditRoles";
import CreateRole from "./Admin/Components/Components/Inputs/CreateRole";
import BlockedUser from "./Admin/Pages/Pages/SubPages/BlockedUsers";
import AppBarAdmin from './Admin/Components/Components/AppBar'
import Maintenance from "./Components/maintenance";
export default function App() {
// eslint-disable-next-line
......@@ -147,6 +149,7 @@ export default function App() {
return (
<BrowserRouter basename="/react">
<Maintenance />
<Header />
<div
style={{
......
import React from 'react'
import styled from 'styled-components'
export default function Maintenance() {
return (
<MaintenanceDiv>
Estamos em manuntenção. Em breve voltaremos!
</MaintenanceDiv>
)
}
const MaintenanceDiv = styled.div`
z-index: 1000;
position: fixed;
color:white;
background-color: red;
text-align: center;
width: 100%;
`
\ 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