docs: add temporary pro page

This commit is contained in:
Benjamin Canac
2023-10-17 18:33:28 +02:00
parent 8867936e01
commit 431a61c2b5
2 changed files with 109 additions and 0 deletions

31
docs/utils/pro.ts Normal file
View File

@@ -0,0 +1,31 @@
export const pro = {
code: `
\`\`\`vue [app.vue]
<script setup lang="ts">
const links = [
{ to: '/', label: 'Home' },
{ to: '/about', label: 'About' },
{ to: '/contact', label: 'Contact' }
]
</script>
<template>
<UHeader :links="links" />
<UMain>
<ULandingHero title="Hello World" />
<ULandingSection title="Features">
<UPageGrid>
<ULandingCard title="First Card" />
<ULandingCard title="Second Card" />
<ULandingCard title="Third Card" />
</UPageGrid>
</ULandingSection>
</UMain>
<UFooter />
</template>
\`\`\`
`
}