-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathargonPage.Rd
61 lines (53 loc) · 1.18 KB
/
argonPage.Rd
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/argonPage.R
\name{argonPage}
\alias{argonPage}
\title{Create a Boostrap 4 argon page}
\usage{
argonPage(
...,
title = NULL,
description = NULL,
author = NULL,
navbar = NULL,
footer = NULL,
favicon = NULL,
analytics = NULL
)
}
\arguments{
\item{...}{Body content}
\item{title}{App title.}
\item{description}{Purpose.}
\item{author}{Author.}
\item{navbar}{Navbar.}
\item{footer}{Footer.}
\item{favicon}{Website favicon. The png must be located in inst/images.}
\item{analytics}{Website analytics such as Hotjar or google analytics.
Must be wrapped in tagList or list. Moreover the script must be contained
in a <script></script> tag: if it is not already the case, use tags$script.}
}
\description{
Build an argon page
}
\examples{
if(interactive()){
library(argonR)
argonPage(
title = "ArgonR Static Template",
author = "Somebody",
description = "HTML Static Template",
navbar = argonNavbar(id = "navbar"),
footer = argonFooter(),
# main content
argonSection(),
argonSection(),
argonSection(),
argonSection(),
argonSection()
)
}
}
\author{
David Granjon, \email{[email protected]}
}