primevue-mirror/apps/showcase/components/landing/BlockSection.vue

389 lines
22 KiB
Vue
Raw Normal View History

2022-09-06 13:53:29 +00:00
<template>
2024-05-20 11:56:52 +00:00
<section id="blocks-section" class="landing-blocks pt-20 overflow-hidden">
2024-05-21 07:57:47 +00:00
<div class="section-header relative z-30">Blocks</div>
<p class="section-detail relative z-30">400+ ready to copy-paste UI blocks to build spectacular applications in no time.</p>
<div class="flex justify-center mt-6 relative z-30">
2024-09-12 09:18:58 +00:00
<a href="https://primeblocks.org" class="linkbox linkbox-primary">
2023-10-18 10:15:34 +00:00
<span>Explore All</span>
2022-09-06 13:53:29 +00:00
<i class="pi pi-arrow-right ml-2"></i>
2022-12-08 12:26:57 +00:00
</a>
2022-09-06 13:53:29 +00:00
</div>
2024-05-21 07:57:47 +00:00
<section :class="['prime-blocks flex justify-center items-center flex-col', { 'blocks-animation': setAnimation }]">
2022-09-06 13:53:29 +00:00
<div class="flex">
2024-05-20 11:56:52 +00:00
<div class="prime-block flex self-stretch p-1">
<div class="block-sidebar w-1/12 p-4">
2022-09-06 13:53:29 +00:00
<div class="logo">
<img src="https://primefaces.org/cdn/primevue/images/landing/blocks/logo-1.svg" alt="block logo" />
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="sidebar-menu mt-8">
<div class="bar w-8/12 my-4"></div>
<div class="bar w-9/12 my-4"></div>
<div class="bar w-7/12 my-4"></div>
<div class="bar w-6/12 my-4"></div>
<div class="bar w-9/12 my-4"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-content flex-1 p-6 flex flex-col">
<div class="bar w-1/12"></div>
<div class="block-main mt-6 h-full flex justify-center items-center flex-col">
<div class="flex justify-between">
<div class="block-item w-24">
<div class="flex justify-between">
2022-09-06 13:53:29 +00:00
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mt-2"></div>
<div class="bar w-16 mt-4"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="flex-1">
<div class="circle circle-highlight"></div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item block-item-active animation-1 mx-4 w-24">
<div class="flex justify-between">
2022-09-06 13:53:29 +00:00
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mt-2"></div>
<div class="bar w-16 mt-4"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="circle"></div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item w-24">
<div class="flex justify-between">
2022-09-06 13:53:29 +00:00
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mt-2"></div>
<div class="bar w-16 mt-4"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="circle circle-highligh"></div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="flex justify-between mt-4">
<div class="block-item w-24">
<div class="flex justify-between">
2022-09-06 13:53:29 +00:00
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mt-2"></div>
<div class="bar w-16 mt-4"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="circle circle-highligh"></div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item mx-4 w-24">
<div class="flex justify-between">
2022-09-06 13:53:29 +00:00
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mt-2"></div>
<div class="bar w-16 mt-4"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="circle circle-highligh"></div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item w-24">
<div class="flex justify-between">
2022-09-06 13:53:29 +00:00
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mt-2"></div>
<div class="bar w-16 mt-4"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="circle circle-highligh"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="flex -ml-20">
<div class="prime-block p-1 flex self-stretch flex-col">
<div class="block-header py-4 px-6 flex justify-between items-center">
<div class="logo pr-8">
<img src="https://primefaces.org/cdn/primevue/images/landing/blocks/logo-1.svg" alt="block logo" />
2022-09-06 13:53:29 +00:00
</div>
<div class="flex-auto sidebar-menu flex">
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
2022-09-06 13:53:29 +00:00
</div>
<div class="circle circle-highlight"></div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-content flex-1 p-6 flex flex-col">
<div class="bar w-1/12"></div>
<div class="block-main mt-6 h-full flex justify-center items-center flex-col">
<div class="flex justify-between">
<div class="block-item w-16">
<div class="bar w-8"></div>
<span class="text my-2">26 %</span>
2022-09-06 13:53:29 +00:00
<div class="box box-orange"></div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item block-item-active animation-2 ml-4 mr-4 w-16">
<div class="bar w-4"></div>
<span class="text my-2">6 %</span>
2022-09-06 13:53:29 +00:00
<div class="box box-pink"></div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item mr-4 w-16">
<div class="bar w-16"></div>
<span class="text my-2">62 %</span>
2022-09-06 13:53:29 +00:00
<div class="box box-green"></div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item w-16">
<div class="bar w-8"></div>
<span class="text my-2">39 %</span>
2022-09-06 13:53:29 +00:00
<div class="box box-blue"></div>
</div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="prime-block flex self-stretch p-1">
<div class="block-sidebar p-4">
2022-09-06 13:53:29 +00:00
<div class="logo">
<img src="https://primefaces.org/cdn/primevue/images/landing/blocks/logo-2.svg" alt="block logo" />
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="sidebar-menu mt-8">
<div class="circle my-4"></div>
<div class="circle my-4"></div>
<div class="circle my-4"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-sidebar-list px-6">
<div class="bar w-8 my-4"></div>
<div class="bar w-12 my-4"></div>
<div class="bar w-8 my-4"></div>
<div class="bar w-8 my-4"></div>
<div class="bar w-4 my-4"></div>
<div class="bar w-12 my-4"></div>
<div class="bar w-12 my-4"></div>
<div class="bar w-8 my-4"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="block-content flex-1 my-8 mx-6 flex flex-col">
<div class="block-main h-full flex justify-center items-center flex-col px-2">
<div class="flex justify-between">
<div class="block-item w-3/12 flex justify-between flex-col">
2022-09-14 14:26:41 +00:00
<div class="bar w-full"></div>
2024-05-20 11:56:52 +00:00
<div class="flex items-center mt-4">
2022-09-06 13:53:29 +00:00
<div class="circle circle-small circle-highlight mr-2"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="bar bar-button w-16 mt-6"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item block-item-active animation-3 mx-4 w-3/12 flex justify-between flex-col">
2022-09-14 14:26:41 +00:00
<div class="bar w-full"></div>
2024-05-20 11:56:52 +00:00
<div class="flex items-center mt-4">
2022-09-06 13:53:29 +00:00
<div class="circle circle-small circle-highlight mr-2"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="flex items-center mt-4">
2022-09-06 13:53:29 +00:00
<div class="circle circle-small circle-highlight mr-2"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-12"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="bar bar-button w-16 mt-6"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item w-3/12 flex justify-between flex-col">
2022-09-14 14:26:41 +00:00
<div class="bar w-full"></div>
2024-05-20 11:56:52 +00:00
<div class="flex items-center mt-4">
2022-09-06 13:53:29 +00:00
<div class="circle circle-small circle-highlight mr-2"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="flex items-center mt-4">
2022-09-06 13:53:29 +00:00
<div class="circle circle-small circle-highlight mr-2"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="flex items-center mt-4">
2022-09-06 13:53:29 +00:00
<div class="circle circle-small circle-highlight mr-2"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="bar bar-button w-16 mt-6"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="flex -mr-20">
<div class="prime-block flex self-stretch p-1">
<div class="block-sidebar w-1/12 p-4">
2022-09-06 13:53:29 +00:00
<div class="logo">
<img src="https://primefaces.org/cdn/primevue/images/landing/blocks/logo-1.svg" alt="block logo" />
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="sidebar-menu mt-8">
<div class="bar w-8/12 my-4"></div>
<div class="bar w-9/12 my-4"></div>
<div class="bar w-7/12 my-4"></div>
<div class="bar w-6/12 my-4"></div>
<div class="bar w-9/12 my-4"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-content flex-1 p-6 flex flex-col">
<div class="block-main h-full flex justify-center items-center flex-col">
<div class="bar w-3/12 mb-4"></div>
<div class="bar w-4/12 mb-8"></div>
<div class="flex justify-between">
<div class="block-item w-24 p-0">
2022-09-06 13:53:29 +00:00
<div class="block-image"></div>
<div class="p-2">
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-16 my-2"></div>
<div class="bar w-8 mb-2"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="flex-1">
<div class="circle circle-highlight circle-medium"></div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item block-item-active mx-4 animation-1 w-24 p-0">
2022-09-06 13:53:29 +00:00
<div class="block-image"></div>
<div class="p-2">
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-16 my-2"></div>
<div class="bar w-8 mb-2"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="flex-1">
<div class="circle circle-highlight circle-medium"></div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-item w-24 p-0">
2022-09-06 13:53:29 +00:00
<div class="block-image"></div>
<div class="p-2">
<div>
2024-05-20 11:56:52 +00:00
<div class="bar w-16 my-2"></div>
<div class="bar w-8 mb-2"></div>
2022-09-06 13:53:29 +00:00
</div>
<div>
<div class="flex-1">
<div class="circle circle-highlight circle-medium"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="prime-block flex self-stretch p-1">
<div class="block-sidebar p-4">
2022-09-06 13:53:29 +00:00
<div class="logo">
<img src="https://primefaces.org/cdn/primevue/images/landing/blocks/logo-2.svg" alt="block logo" />
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="sidebar-menu mt-8">
<div class="circle my-4"></div>
<div class="circle my-4"></div>
<div class="circle my-4"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-sidebar-list px-6">
<div class="bar w-8 my-4"></div>
<div class="bar w-12 my-4"></div>
<div class="bar w-8 my-4"></div>
<div class="bar w-8 my-4"></div>
<div class="bar w-4 my-4"></div>
<div class="bar w-12 my-4"></div>
<div class="bar w-12 my-4"></div>
<div class="bar w-8 my-4"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="block-content flex-1 my-8 mx-6 flex flex-col">
<div class="block-main h-full flex justify-center items-center flex-col px-2">
<div class="flex justify-between">
2022-09-14 14:26:41 +00:00
<div class="block-item block-item-table block-item-active animation-1 flex">
2024-05-20 11:56:52 +00:00
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
2022-09-14 14:26:41 +00:00
<div class="block-item block-item-col flex">
2022-09-06 13:53:29 +00:00
<div class="flex">
<div class="circle circle-small circle-highlight -mr-1"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-12 mx-4"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
2022-09-06 13:53:29 +00:00
</div>
2022-09-14 14:26:41 +00:00
<div class="block-item block-item-col flex">
2022-09-06 13:53:29 +00:00
<div class="flex">
<div class="circle circle-small circle-highlight -mr-1"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-12 mx-4"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
2022-09-06 13:53:29 +00:00
</div>
2022-09-14 14:26:41 +00:00
<div class="block-item block-item-col flex">
2022-09-06 13:53:29 +00:00
<div class="flex">
<div class="circle circle-small circle-highlight -mr-1"></div>
2024-05-20 11:56:52 +00:00
<div class="bar w-12 mx-4"></div>
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
<div class="bar w-12 mx-4"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
</div>
</div>
</div>
<div class="flex">
2024-05-20 11:56:52 +00:00
<div class="prime-block p-1 flex self-stretch flex-col">
<div class="block-header py-4 px-6 flex justify-between items-center">
<div class="logo pr-8">
<img src="https://primefaces.org/cdn/primevue/images/landing/blocks/logo-1.svg" alt="block logo" />
2022-09-06 13:53:29 +00:00
</div>
<div class="flex-auto sidebar-menu flex">
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
<div class="bar w-8 mx-2"></div>
2022-09-06 13:53:29 +00:00
</div>
<div class="circle"></div>
</div>
2024-05-20 11:56:52 +00:00
<div class="block-content flex-1 p-6 flex flex-col">
<div class="block-main h-full flex justify-center items-center flex-col">
<div class="block-item block-item-active animation-2 mx-4 w-32 text-center flex flex-col items-center overflow-visible">
<div class="-mt-6">
<img src="https://primefaces.org/cdn/primevue/images/landing/blocks/question.svg" alt="question mark" />
2022-09-06 13:53:29 +00:00
</div>
2024-05-20 11:56:52 +00:00
<div class="bar w-8 mt-2"></div>
<div class="bar w-24 mt-2"></div>
<div class="bar w-16 mt-2"></div>
2022-09-06 13:53:29 +00:00
<div class="flex">
2024-05-20 11:56:52 +00:00
<div class="bar bar-highlight bar-button w-16 mr-2 mt-6"></div>
<div class="bar bar-button w-16 mr-2 mt-6"></div>
2022-09-06 13:53:29 +00:00
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>
</template>
<script>
export default {
data() {
return {
setAnimation: false
2022-09-14 14:26:41 +00:00
};
2022-09-06 13:53:29 +00:00
},
mounted() {
2022-09-14 14:26:41 +00:00
this.setAnimation = true;
2022-09-06 13:53:29 +00:00
}
2022-09-14 14:26:41 +00:00
};
</script>