-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve argonCarousel, argonCarouselItem
- Loading branch information
1 parent
d2e2243
commit cc35e3b
Showing
8 changed files
with
225 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
library(argonR) | ||
library(htmltools) | ||
library(magrittr) | ||
app_test <- argonPage( | ||
title = "ArgonR Static Template", | ||
author = "Divad Nojnarg", | ||
description = "HTML Static Template", | ||
navbar = argonNavbar( | ||
id = "main-navbar", | ||
src = "https://demos.creative-tim.com/argon-design-system/assets/img/brand/white.png", | ||
# left menu | ||
argonNavMenu( | ||
argonDropdown( | ||
name = "Components", | ||
size = "lg", | ||
argonDropdownItem( | ||
name = "Getting Started", | ||
description = "BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBla", | ||
src = "test.html", | ||
icon = "spaceship", | ||
status = "primary" | ||
), | ||
argonDropdownItem( | ||
name = "Foundation", | ||
description = "BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBla", | ||
src = "", | ||
icon = "palette", | ||
status = "warning" | ||
), | ||
argonDropdownItem( | ||
name = "Components", | ||
description = "BlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBlaBla", | ||
src = "", | ||
icon = "ui-04", | ||
status = "success" | ||
) | ||
) | ||
), | ||
# right menu | ||
argonNavMenu( | ||
side = "right", | ||
argonNavItem( | ||
name = "facebook", | ||
src = "https://www.facebook.com", | ||
icon = "facebook-square", | ||
tooltip = "Like us on Facebook" | ||
), | ||
argonNavItem( | ||
name = "instagram", | ||
src = "https://www.instagram.com", | ||
icon = "instagram", | ||
tooltip = "Follow us on Instagram" | ||
), | ||
argonNavItem( | ||
name = "twitter", | ||
src = "https://www.twitter.com", | ||
icon = "twitter-square", | ||
tooltip = "Follow us on Twitter" | ||
), | ||
argonNavItem( | ||
name = "github", | ||
src = "https://www.github.com", | ||
icon = "github", | ||
tooltip = "Star us on Github" | ||
) | ||
) | ||
), | ||
footer = argonFooter( | ||
has_card = FALSE, | ||
#status = "info", | ||
#gradient = TRUE, | ||
argonContainer( | ||
size = "lg", | ||
argonRow( | ||
argonColumn( | ||
width = 6, | ||
argonIconWrapper( | ||
iconTag = argonIcon("atom"), | ||
size = "lg", | ||
status = "success", | ||
shadow = TRUE, | ||
hover_shadow = TRUE | ||
), | ||
argonH1( | ||
display = 3, | ||
"Insert anything in the footer" | ||
), | ||
argonLead( | ||
"The Arctic Ocean freezes every winter and much of | ||
the sea-ice then thaws every summer, and that process | ||
will continue whatever" | ||
) | ||
), | ||
argonColumn( | ||
width = 6, | ||
argonCarousel( | ||
width = 12, | ||
id = "carousel1", | ||
argonCarouselItem( | ||
src = "https://demos.creative-tim.com/argon-design-system/assets/img/theme/img-1-1200x1000.jpg", | ||
active = TRUE | ||
), | ||
argonCarouselItem( | ||
src = "https://demos.creative-tim.com/argon-design-system/assets/img/theme/img-2-1200x1000.jpg", | ||
active = FALSE | ||
) | ||
) %>% argonPersp(side = "right") | ||
) | ||
) | ||
) | ||
) %>% argonMargin(orientation = "t", value = 20), | ||
# main content | ||
argonSection( | ||
size = "lg", | ||
status = "default", | ||
gradient = TRUE, | ||
separator = TRUE, | ||
separator_color = "white", | ||
shape = TRUE, | ||
argonColumn( | ||
width = 12, | ||
argonCarousel( | ||
width = 12, | ||
floating = TRUE, | ||
hover_lift = FALSE, | ||
id = "carousel2", | ||
argonCarouselItem( | ||
src = "http://130.60.24.205/dreamRs_ratp/", | ||
active = TRUE, | ||
mode = "iframe" | ||
), | ||
argonCarouselItem( | ||
src = "http://130.60.24.205/Lorenz_parameters/", | ||
active = FALSE, | ||
mode = "iframe" | ||
), | ||
argonCarouselItem( | ||
src = "http://130.60.24.205/argonDash/", | ||
active = FALSE, | ||
mode = "iframe" | ||
), | ||
argonCarouselItem( | ||
src = "https://www.youtube.com/embed/0wQflJ7bFNg", | ||
active = FALSE, | ||
mode = "video" | ||
) | ||
) %>% argonPersp(side = "right") | ||
) | ||
) %>% argonMargin(orientation = "y", value = 300) | ||
) | ||
|
||
argonPageTemplate(filename = "app_test", path = "/Users/macdavidgranjon/Desktop/", app_test) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.