TakeCareApp/app/home_module.R

58 lines
1.5 KiB
R
Raw Normal View History

2020-12-04 18:06:31 +01:00
library(shiny)
library(magrittr)
library(ggplot2)
library(plotly)
library(DT)
homeUI <- function(id) {
ns <- NS(id)
fluidPage(
tags$head(
tags$style(HTML("
@import url('//fonts.googleapis.com/css?family=Lobster|Cabin:400,700');
@import url('//fonts.googleapis.com/css2?family=Fjalla+One');
2020-12-06 19:45:27 +01:00
2020-12-04 18:06:31 +01:00
"))),
theme = "style.css",
2020-12-06 19:45:27 +01:00
2020-12-04 18:06:31 +01:00
# App title ----
# App title ----
2020-12-12 12:38:54 +01:00
# h4("Aplikacja wspomagajaca diagnozowanie i monitorowanie stanu zdrowia", align = "center"),
fluidRow(column(12,
h1("TakeCareApp"))%>% tagAppendAttributes(id = 'column-title')
) %>% tagAppendAttributes(id = 'row-title'),
fluidRow(column(4,
div(div("Monitoruj swój stan zdrowia"),img(src="observ.png",height = 150, width = 150)))%>% tagAppendAttributes(class = 'column-tile'),
column(4,
div(div("Generuj raporty"),img(src="raport.png",height = 150, width = 150)))%>% tagAppendAttributes(class = 'column-tile'),
column(4,
div(div("Wykorzystaj uczenie maszynowe"),img(src="brain.png",height = 150, width = 150)))%>% tagAppendAttributes(class = 'column-tile')
) %>% tagAppendAttributes(id = 'row-tiles'),
2020-12-04 18:06:31 +01:00
fluidRow(
column(12,
tags$span("© Copyright Wszystkie prawa zastrzeżone."))%>% tagAppendAttributes(id = 'column-copyright'),
)%>% tagAppendAttributes(id = 'row-footer')
)
}
homeServer <- function(input, output) {
}