Skip to content

Commit

Permalink
Status message
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Jan 17, 2024
1 parent fd8b38b commit 0763cb3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions nextjs/app/[locale]/(frontend)/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import FrontendWrapper from '@/components/FrontendWrapper/FrontendWrapper';
import FrontendBrandSwitcher from '@/components/FrontendBrandSwitcher/FrontendBrandSwitcher';
import FrontendHeader from '@/components/FrontendHeader/FrontendHeader';
import FrontendFooter from '@/components/FrontendFooter/FrontendFooter';
// import StatusMessage from '@/components/StatusMessage/StatusMessage';
import StatusMessage from '@/components/StatusMessage/StatusMessage';
// import MaintenanceWarning from '@/components/MaintenanceWarning/MaintenanceWarning';

/* * */
Expand All @@ -14,7 +14,7 @@ export default function Layout({ children, params: { locale } }) {
<FrontendWrapper>
<FrontendBrandSwitcher />
<FrontendHeader />
{/* <StatusMessage /> */}
<StatusMessage />
{/* <MaintenanceWarning /> */}
{children}
<FrontendFooter />
Expand Down
30 changes: 16 additions & 14 deletions nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carrismetropolitana/website",
"version": "2024.01.05-1158",
"version": "2024.01.17-1834",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -10,39 +10,41 @@
"lint": "next lint"
},
"dependencies": {
"@auth/mongodb-adapter": "2.0.10",
"@mantine/carousel": "7.4.0",
"@mantine/core": "7.4.0",
"@mantine/dates": "7.4.0",
"@mantine/form": "7.4.0",
"@mantine/hooks": "7.4.0",
"@mantine/modals": "7.4.0",
"@auth/mongodb-adapter": "2.0.13",
"@mantine/carousel": "7.4.1",
"@mantine/core": "7.4.1",
"@mantine/dates": "7.4.1",
"@mantine/form": "7.4.1",
"@mantine/hooks": "7.4.1",
"@mantine/modals": "7.4.1",
"@mantine/charts": "7.4.1",
"@rajesh896/broprint.js": "2.1.1",
"@tabler/icons-react": "2.45.0",
"@tabler/icons-react": "2.46.0",
"@turf/turf": "6.5.0",
"dayjs": "1.11.10",
"deck.gl": "^8.9.33",
"embla-carousel-react": "7.1.0",
"inflected": "2.1.0",
"jsonwebtoken": "^9.0.2",
"luxon": "3.4.4",
"maplibre-gl": "3.6.2",
"mongodb": "6.3.0",
"mongoose": "8.0.3",
"mongoose": "8.1.0",
"next": "14.0.4",
"next-auth": "5.0.0-beta.4",
"next-intl": "3.4.1",
"next-intl": "3.4.4",
"nodemailer": "6.9.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-map-gl": "7.1.7",
"sharp": "0.33.1",
"sharp": "0.33.2",
"swr": "2.2.4",
"ua-parser-js": "1.0.37",
"yup": "1.3.3"
},
"devDependencies": {
"@types/node": "20.10.6",
"@types/react": "18.2.46",
"@types/node": "20.11.5",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"eslint": "8.56.0",
"eslint-config-next": "14.0.4",
Expand Down
4 changes: 2 additions & 2 deletions nextjs/translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@
}
},
"StatusMessage": {
"title": "Erros na consulta de horários",
"explanation": "Devido a falhas técnicas por parte do operador da área 4, os horários das linhas da área 4 encontram-se indisponíveis para o dia 16 de Dezembro. No entanto, os serviços serão realizados de acordo com o previsto para Sábados de Período Escolar (ex: dia 9 de Dezembro). O tempo real das linhas afetadas não estará disponível. Estamos a trabalhar em conjunto com o operador para resolver esta situação.",
"title": "Indisponibilidade do Tempo Real",
"explanation": "Existe uma indisponibilidade temporária na consulta do tempo real. Estamos a trabalhar para resolver a situação rapidamente.",
"solution": "Agradecemos a sua compreensão."
},
"FrontendFooter": {
Expand Down

0 comments on commit 0763cb3

Please sign in to comment.