-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathui.R
More file actions
43 lines (39 loc) · 921 Bytes
/
ui.R
File metadata and controls
43 lines (39 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Códigos do ui shiny
## Carregando pacotes
library(tidyverse)
library(sf)
library(mapview)
library(lubridate)
library(forecast)
library(tseries)
library(curl)
library(plotly)
library(leaflet)
library(geosphere)
library(shiny)
library(shinyWidgets)
library(shinythemes)
library(DT)
library(tsibble)
library(zoo)
library(xts)
library(rsconnect)
library(dygraphs)
# carregando o codigo com todas configuracoes para o ui
source("Tabs.R")
# ui: interface do usuário (seria como se fosse um front end)
# navbarPage: layout de navegação da pagina por abas, cria abas similares a de um navegador
# fluidPage automaticamente ajusta as dimensões da janela do navegador do usuário
ui <- fluidPage(
navbarPage(
# titulo do app
title = "Pureco - Serviços de Limpeza",
# tema escolhido para o site
theme = shinytheme("flatly"),
fluid = TRUE,
Tab1,
Tab2,
Tab3,
Tab4,
Tab5)
)