primevue-mirror/apps/showcase/pages/templates/diamond/index.vue

232 lines
15 KiB
Vue
Raw Normal View History

2024-04-08 09:33:03 +00:00
<template>
2024-06-27 10:32:45 +00:00
<TemplateContainer :templateData="diamondData">
<template #separator>
2024-04-08 09:33:03 +00:00
<DiamondSeparator />
2024-06-27 10:32:45 +00:00
</template>
</TemplateContainer>
2024-04-08 09:33:03 +00:00
</template>
<script>
2024-07-23 08:48:52 +00:00
import TemplateConfiguration from '@/components/template/TemplateConfiguration.vue';
import TemplateFeatures from '@/components/template/TemplateFeatures.vue';
import TemplateFeaturesAnimation from '@/components/template/TemplateFeaturesAnimation.vue';
import TemplateHero from '@/components/template/TemplateHero.vue';
import TemplateLicense from '@/components/template/TemplateLicense.vue';
import DiamondLogo from '@/components/template/logo/DiamondLogo.vue';
2024-10-11 14:11:12 +00:00
import { markRaw } from 'vue';
2024-06-27 10:32:45 +00:00
2024-04-08 09:33:03 +00:00
export default {
data() {
return {
2024-06-27 10:32:45 +00:00
diamondData: {
components: [
{
2024-10-11 14:11:12 +00:00
name: markRaw(TemplateHero),
2024-06-27 10:32:45 +00:00
props: {
templateHeroData: {
2024-10-11 14:11:12 +00:00
logo: markRaw(DiamondLogo),
2024-06-27 10:32:45 +00:00
pattern: 'https://primefaces.org/cdn/primevue/images/templates/diamond/diamond-hero-pattern.png',
2024-10-11 10:33:09 +00:00
dashboard1: 'https://primefaces.org/cdn/primevue/images/templates/diamond/diamond-remastered-hero-dashboard-1.png',
dashboard2: 'https://primefaces.org/cdn/primevue/images/templates/diamond/diamond-remastered-hero-dashboard-2.png',
description: 'An amazing application template for Vue based on Vite with light-dark modes with 8 surface colors, seven menu layouts, various menu themes, sample apps, ready to use template pages and 3 presets.',
2024-06-27 10:32:45 +00:00
liveHref: 'https://diamond.primevue.org',
docHref: 'https://diamond.primevue.org/documentation',
pattern: {
className: 'select-none absolute z-[6] w-[62rem] h-[44rem] -top-8 -left-36 md:-left-12',
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/diamond-hero-pattern.png'
}
}
2024-04-08 09:33:03 +00:00
}
2024-06-27 10:32:45 +00:00
},
2024-04-08 09:33:03 +00:00
{
2024-10-11 14:11:12 +00:00
name: markRaw(TemplateLicense),
2024-06-27 10:32:45 +00:00
props: {
license: {
documentLink: 'https://diamond.primevue.org/documentation/',
description: 'The download package is a Vite-based project containing all application source codes deployed at the live demo. The project code is written in JavaScript.',
2024-09-15 20:51:38 +00:00
showDiscount: false,
2024-06-27 10:32:45 +00:00
licenseDetails: [
{
title: 'Basic License',
price: '$59',
2024-08-21 08:54:48 +00:00
discount: '$39',
2024-07-24 07:53:16 +00:00
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
2024-06-27 10:32:45 +00:00
},
{
title: 'Extended License',
price: '$590',
2024-08-21 08:54:48 +00:00
discount: '$390',
2024-07-24 07:53:16 +00:00
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
2024-06-27 10:32:45 +00:00
}
]
}
}
2024-04-08 09:33:03 +00:00
},
{
2024-10-11 14:11:12 +00:00
name: markRaw(TemplateFeaturesAnimation),
2024-06-27 10:32:45 +00:00
props: {
title: 'Features',
featuresData: [
{
id: 1,
2024-10-11 10:33:09 +00:00
title: 'Light / Dark Modes',
description: 'Diamond has 2 display modes to choose from Light / Dark with 8 surface colors.',
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/features-remastered-animation-darkmode.png'
2024-06-27 10:32:45 +00:00
},
{
id: 2,
2024-10-11 10:33:09 +00:00
title: 'Themes and Presets',
description: 'Diamond offers 17 built-in theme colors with the power of 3 presets: Aura, Lara and Nora.',
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/features-remastered-animation-component-themes.png'
2024-06-27 10:32:45 +00:00
},
{
id: 3,
title: '7 Menu Orientations',
description: 'Static, Overlay, Slim, Compact, Horizontal, Reveal and Drawer are the available menu layouts depending on your preference.',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/features-remastered-animation-orientations.png',
2024-06-27 10:32:45 +00:00
type: 'inline-animation',
inlineFeaturesData: [
{
id: 1,
title: 'Static',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/static-remastered.png'
2024-06-27 10:32:45 +00:00
},
{
id: 2,
title: 'Slim',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/slim-remastered.png'
2024-06-27 10:32:45 +00:00
},
{
id: 3,
title: 'Horizontal',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/horizontal-remastered.png'
2024-06-27 10:32:45 +00:00
},
{
id: 4,
title: 'Drawer',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/drawer-remastered.png'
2024-06-27 10:32:45 +00:00
},
{
id: 5,
title: 'Overlay',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/overlay-remastered.png'
2024-06-27 10:32:45 +00:00
},
{
id: 6,
title: 'Compact',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/compact-remastered.png'
2024-06-27 10:32:45 +00:00
},
{
id: 7,
title: 'Reveal',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/reveal-remastered.png'
2024-06-27 10:32:45 +00:00
}
]
},
{
id: 4,
title: 'Menu Themes',
2024-10-11 10:33:09 +00:00
description: 'Stunning theming options for the main menu.',
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/features-remastered-animation-orientations.png'
2024-06-27 10:32:45 +00:00
}
]
}
},
{
2024-10-11 14:11:12 +00:00
name: markRaw(TemplateConfiguration),
2024-06-27 10:32:45 +00:00
props: {
configurationData: {
title: 'Vue App with No Configuration',
description: 'Diamond is powered by Vite to get started in no time following the best practices.'
}
}
},
{
2024-10-11 14:11:12 +00:00
name: markRaw(TemplateFeaturesAnimation),
2024-06-27 10:32:45 +00:00
props: {
featuresData: [
{
id: 1,
title: 'PrimeFlex CSS Utilities',
description: 'PrimeFlex is a CSS utility library featuring various helpers such as a grid system, flexbox, spacing, elevation and more.',
src: 'https://primefaces.org/cdn/primevue/images/templates/apollo/features-animation-utilities.png'
},
{
id: 2,
title: 'PrimeBlocks',
slotType: 'description2',
src: 'https://primefaces.org/cdn/primevue/images/templates/apollo/features-animation-blocks.png'
},
{
id: 3,
title: 'PrimeIcons',
description: 'Diamond ships with PrimeIcons, PrimeTeks modern icon library including a wide range of icons for your applications.',
src: 'https://primefaces.org/cdn/primevue/images/templates/apollo/features-animation-icons.png'
},
{
id: 4,
title: 'Figma File',
slotType: 'description4',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/features-remastered-animation-figma.png'
2024-06-27 10:32:45 +00:00
}
]
},
slots: {
description2: `
2024-09-12 09:18:58 +00:00
Fully compatible with <a href="https://primeblocks.org/">PrimeBlocks</a>, choose from the wide range of blocks and customize the way you like. Note that <a href="https://primeblocks.org/">PrimeBlocks</a> is not included in the
2024-06-27 10:32:45 +00:00
template and requires a separate purchase.`,
description4: `
Diamond uses Figma as the design tool. It will be possible to download the Figma file after your purchase. You can
2024-10-11 10:33:09 +00:00
<a href="https://www.figma.com/design/3BgdXCQjva5nUEO8OidU1B/Preview-%7C-Diamond?node-id=0-1&t=KdfljgRtYLzFPfKL-1">preview the Figma file</a> before the purchase. Note that PrimeVue UI components are excluded from the Diamond Figma file as they
2024-06-27 10:32:45 +00:00
are available in <PrimeVueNuxtLink to="/uikit">PrimeOne for Figma</PrimeVueNuxtLink> only.`
}
},
{
2024-10-11 14:11:12 +00:00
name: markRaw(TemplateFeatures),
2024-06-27 10:32:45 +00:00
props: {
featuresData: [
{
title: 'Fully Responsive',
description: 'Diamond is crafted to provide optimal viewing and interaction experience for a wide range of devices.',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/diamond-remastered-features-responsive.png'
2024-06-27 10:32:45 +00:00
},
{
title: 'Cross Browser Compatible',
description: 'First class support for Firefox, Safari, Chrome and Edge.',
src: 'https://primefaces.org/cdn/primevue/images/templates/apollo/apollo-features2-compatible.png',
darkSrc: 'https://primefaces.org/cdn/primevue/images/templates/apollo/apollo-features2-compatible-dark.png'
},
{
2024-07-24 07:53:16 +00:00
title: 'Support',
description: `PrimeTek offers assistance with account management and licensing issues, with the expectation that users have the necessary technical knowledge to use our products, as we do not offer technical support or consulting. Users
can seek assistance in our community via our public <a href="https://discord.com/invite/gzKFYnpmCY">Discord</a> and
2024-07-24 10:26:47 +00:00
<a href="https://github.com/orgs/primefaces/discussions/categories/primevue-templates" class="doc-link">Forum</a>.`,
2024-06-27 10:32:45 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/apollo/apollo-features2-lifetime.png'
},
{
title: 'Customizable Design',
2024-10-11 10:33:09 +00:00
description: 'Fully customizable with CSS variables.',
2024-06-27 10:32:45 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/apollo/apollo-features2-customizable.png',
darkSrc: 'https://primefaces.org/cdn/primevue/images/templates/apollo/apollo-features2-customizable-dark.png'
},
{
title: 'Ready to Use Pages',
description: 'Landing, login, invoice, help, user management and error pages are provided as template pages to get started with building your app.',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/diamond-remastered-features-ready.png'
2024-06-27 10:32:45 +00:00
},
{
title: 'Mobile Experience',
description: 'Touch optimized enhanced mobile experience with responsive design.',
2024-10-11 10:33:09 +00:00
src: 'https://primefaces.org/cdn/primevue/images/templates/diamond/diamond-remastered-features-mobile.png'
2024-06-27 10:32:45 +00:00
}
],
displayType: 'vertical'
}
2024-04-08 09:33:03 +00:00
}
]
}
};
}
};
</script>