Files
flowbite-vue/docs/components/jumbotron/examples/FwbJumbotronBackgroundImageExample.vue
assasin0076 d1e485ea12 feat: jumbotron (#251)
* feat: jumbotron

* refactor: refactored jumbo

* chore: -header content slot

* Update docs/components/jumbotron.md

* Update docs/components/jumbotron.md

* Update docs/components/jumbotron.md

* Update docs/components/jumbotron.md

---------

Co-authored-by: victor <viktor.generalov@nlogic.ai>
Co-authored-by: Ilya Artamonov <ilya.sosidka@gmail.com>
2023-11-29 14:21:05 +03:00

48 lines
1.8 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<div
class="vp-raw"
>
<fwb-jumbotron
class="bg-center bg-no-repeat bg-[url('https://flowbite.s3.amazonaws.com/docs/jumbotron/conference.jpg')] dark:bg-gray-700 bg-gray-700 bg-blend-multiply"
header-classes="text-white"
sub-text-classes="text-gray-300 dark:text-gray-300"
header-text="We invest in the worlds potential"
sub-text="Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth."
>
<div class="flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0">
<a
href="#"
class="inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900"
>
Get started
<svg
class="w-3.5 h-3.5 ml-2 rtl:rotate-180"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 14 10"
>
<path
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M1 5h12m0 0L9 1m4 4L9 9"
/>
</svg>
</a>
<a
href="#"
class="inline-flex justify-center hover:text-gray-900 items-center py-3 px-5 sm:ml-4 text-base font-medium text-center text-white rounded-lg border border-white hover:bg-gray-100 focus:ring-4 focus:ring-gray-400"
>
Learn more
</a>
</div>
</fwb-jumbotron>
</div>
</template>
<script setup>
import FwbJumbotron from '@/components/FwbJumbotron/FwbJumbotron.vue'
</script>