diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 90ac918..f798ee2 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -45,6 +45,7 @@ function getComponents() { { text: 'Card', link: '/components/card.md' }, { text: 'Carousel', link: '/components/carousel' }, { text: 'Dropdown', link: '/components/dropdown' }, + { text: 'Jumbotron', link: '/components/jumbotron' }, { text: 'ListGroup', link: '/components/list-group' }, { text: 'Pagination', link: '/components/pagination' }, { text: 'Progress', link: '/components/progress' }, diff --git a/docs/components/jumbotron.md b/docs/components/jumbotron.md new file mode 100644 index 0000000..4f5cf87 --- /dev/null +++ b/docs/components/jumbotron.md @@ -0,0 +1,319 @@ + + +# Vue Jumbotron - Flowbite + +#### Use the jumbotron component to show a marketing message to your users based on a headline and image inside of a card box based on Tailwind CSS + +The Jumbotron (hero) component can be used as the first section of your website with a focus on a marketing message to increase the likelihood of the user to continue browsing your website. + +This UI component features a heading title, a short description, an optional CTA button, background image, gradient or solid background color and it’s generally inside of a card element. + +The jumbotron component from Flowbite is responsive on all devices, natively supports dark mode and is coded with the utility classes from Tailwind CSS. + + +## Default Jumbotron +Use this default example to show a title, description, and two CTA buttons for the jumbotron component. + + +```vue + + + + +``` + +## Background image +Use this jumbotron to apply a background image with a darkening opacity effect to improve readability. + + +```vue + + + + +``` + +## Featured video +This component can be used to feature a video together with a heading title, description, and CTA buttons. + + +```vue +