From 2ef3166649c2a7588d2e9804aaa8f5c7dbe86b4e Mon Sep 17 00:00:00 2001 From: magahernandez Date: Thu, 1 Oct 2020 18:06:59 -0400 Subject: [PATCH] Add carousel component --- src/app/app.component.ts | 1 + .../00-main/items.ts | 1 + .../alerts/items.component.html | 3 +++ .../carousel/carousel.component.css | 0 .../carousel/carousel.component.html | 26 +++++++++++++++++++ .../carousel/carousel.component.ts | 15 +++++++++++ ...mple-bootstrap-prototype-routing.module.ts | 2 ++ .../example-bootstrap-prototype.module.ts | 2 ++ .../search-bar/search-bar.component.html | 2 +- .../01-prototype/exercice.component.html | 4 +++ 10 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 src/app/modules/application/example-bootstrap-prototype/carousel/carousel.component.css create mode 100644 src/app/modules/application/example-bootstrap-prototype/carousel/carousel.component.html create mode 100644 src/app/modules/application/example-bootstrap-prototype/carousel/carousel.component.ts diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5d5cabc3..a270d6d0 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -67,6 +67,7 @@ export class AppComponent { { name: 'blockquotes', link: 'bootstrap-prototype/blockquotes' }, { name: 'breadcrumb', link: 'bootstrap-prototype/breadcrumb' }, { name: 'buttons', link: 'bootstrap-prototype/buttons' }, + { name: 'carousel', link: 'bootstrap-prototype/carousel'}, { name: 'collapse', link: 'bootstrap-prototype/collapse' }, { name: 'dropdowns', link: 'bootstrap-prototype/dropdowns' }, { name: 'forms', link: 'bootstrap-prototype/forms' }, diff --git a/src/app/modules/application/example-bootstrap-prototype/00-main/items.ts b/src/app/modules/application/example-bootstrap-prototype/00-main/items.ts index 2fd7abfb..13b31df0 100644 --- a/src/app/modules/application/example-bootstrap-prototype/00-main/items.ts +++ b/src/app/modules/application/example-bootstrap-prototype/00-main/items.ts @@ -16,4 +16,5 @@ export const ITEMS: any[] = { id: 14, name: 'Spinners', link: 'spinners' }, { id: 15, name: 'Toasts', link: 'toasts' }, { id: 16, name: 'Tooltips', link: 'tooltips' }, + { id: 17, name: 'Carousel', link: 'carousel' }, ]; diff --git a/src/app/modules/application/example-bootstrap-prototype/alerts/items.component.html b/src/app/modules/application/example-bootstrap-prototype/alerts/items.component.html index 1776c487..72088174 100644 --- a/src/app/modules/application/example-bootstrap-prototype/alerts/items.component.html +++ b/src/app/modules/application/example-bootstrap-prototype/alerts/items.component.html @@ -10,6 +10,9 @@

Alerts

+
+
+ + +