-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat(docs): add new components Address Element, Express Checkout El…
…ement, Link Authentication Element, and Payment Element The commit adds four new Vue components: Address Element, Express Checkout Element, Link Authentication Element, and Payment Element. These components are part of the documentation pages for Vue Stripe Components. Each component defines its own page meta, including title and description, and uses the `useSeoMeta` and `definePageMeta` functions from the `#imports` module to set the SEO metadata. This addition enhances the documentation by providing examples and explanations for these specific components.
- Loading branch information
1 parent
823485c
commit b2a8809
Showing
4 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<main> | ||
<h1>Address Element</h1> | ||
</main> | ||
</template> | ||
|
||
<script> | ||
// import { onMounted, ref } from 'vue'; | ||
import { useSeoMeta, definePageMeta } from '#imports'; | ||
export default { | ||
setup () { | ||
definePageMeta({ | ||
layout: 'blank', | ||
}); | ||
const metaTitle = 'Address Element - Vue Stripe Components'; | ||
const metaDescription = 'Address Element for Vue Stripe Components.'; | ||
useSeoMeta({ | ||
title: metaTitle, | ||
ogTitle: metaTitle, | ||
description: metaDescription, | ||
ogDescription: metaDescription, | ||
// image: ogBanner, | ||
// ogImage: ogBanner, | ||
// url: 'https://jofftiquez.com/gui', | ||
// ogUrl: 'https://jofftiquez.com/gui', | ||
twitterCard: 'summary_large_image', | ||
}); | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<main> | ||
<h1>Express Checkout Element</h1> | ||
</main> | ||
</template> | ||
|
||
<script> | ||
// import { onMounted, ref } from 'vue'; | ||
import { useSeoMeta, definePageMeta } from '#imports'; | ||
export default { | ||
setup () { | ||
definePageMeta({ | ||
layout: 'blank', | ||
}); | ||
const metaTitle = 'Express Checkout Element - Vue Stripe Components'; | ||
const metaDescription = 'Express Checkout Element for Vue Stripe Components.'; | ||
useSeoMeta({ | ||
title: metaTitle, | ||
ogTitle: metaTitle, | ||
description: metaDescription, | ||
ogDescription: metaDescription, | ||
// image: ogBanner, | ||
// ogImage: ogBanner, | ||
// url: 'https://jofftiquez.com/gui', | ||
// ogUrl: 'https://jofftiquez.com/gui', | ||
twitterCard: 'summary_large_image', | ||
}); | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<main> | ||
<h1>Link Authentication Element</h1> | ||
</main> | ||
</template> | ||
|
||
<script> | ||
// import { onMounted, ref } from 'vue'; | ||
import { useSeoMeta, definePageMeta } from '#imports'; | ||
export default { | ||
setup () { | ||
definePageMeta({ | ||
layout: 'blank', | ||
}); | ||
const metaTitle = 'Link Authentication Element - Vue Stripe Components'; | ||
const metaDescription = 'Link Authentication Element for Vue Stripe Components.'; | ||
useSeoMeta({ | ||
title: metaTitle, | ||
ogTitle: metaTitle, | ||
description: metaDescription, | ||
ogDescription: metaDescription, | ||
// image: ogBanner, | ||
// ogImage: ogBanner, | ||
// url: 'https://jofftiquez.com/gui', | ||
// ogUrl: 'https://jofftiquez.com/gui', | ||
twitterCard: 'summary_large_image', | ||
}); | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<main> | ||
<h1>Payment Element</h1> | ||
</main> | ||
</template> | ||
|
||
<script> | ||
// import { onMounted, ref } from 'vue'; | ||
import { useSeoMeta, definePageMeta } from '#imports'; | ||
export default { | ||
setup () { | ||
definePageMeta({ | ||
layout: 'blank', | ||
}); | ||
const metaTitle = 'Payment Element - Vue Stripe Components'; | ||
const metaDescription = 'Payment Element for Vue Stripe Components.'; | ||
useSeoMeta({ | ||
title: metaTitle, | ||
ogTitle: metaTitle, | ||
description: metaDescription, | ||
ogDescription: metaDescription, | ||
// image: ogBanner, | ||
// ogImage: ogBanner, | ||
// url: 'https://jofftiquez.com/gui', | ||
// ogUrl: 'https://jofftiquez.com/gui', | ||
twitterCard: 'summary_large_image', | ||
}); | ||
}, | ||
}; | ||
</script> |