Skip to content

Commit

Permalink
Move Vuejs examples to under example directory.
Browse files Browse the repository at this point in the history
Add it to documentation.
Move full journey SSO to use VueJS example
  • Loading branch information
pkumar-strivve committed Oct 16, 2024
1 parent 4833657 commit a0100c8
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
- [HTML](https://github.com/swch/Strivve-UX-Components/tree/master/examples/html)
- [React JS](https://github.com/swch/Strivve-UX-Components/tree/master/examples/react-js)
- [Next JS](https://github.com/swch/Strivve-UX-Components/tree/master/examples/next-js)
- [VueJS](https://github.com/swch/Strivve-UX-Components/tree/master/examples/vue-cx-client)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
23 changes: 18 additions & 5 deletions vue-cx-client/src/App.vue → examples/vue-cx-client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,24 @@ export default {
return {
instance: "pkumar",
card: {
pan: '4111111111111111',
cvv: '321',
expiration_month: '2',
expiration_year: '24',
name_on_card: 'Mvick',
pan: '5556710082949240',
cvv: '716',
expiration_month: '01',
expiration_year: '28',
name_on_card: 'Annemarie Marcus',
address: {
city: 'Kirkland',
postal_code: '98034',
country: 'USA',
first_name: 'Annemarie',
last_name: 'Marcus',
email: 'jane@test.com',
phone_number: '2065555555',
address1: '10250 NE 121st ST',
state: 'WA',
subnational: 'WA',
is_primary: true,
},
},
appearance: {
layout: {
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/stories/ExampleFullJourneySSO.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import Readme from '../../docs/example.md';
### Preview only. Click 'Open Sandbox' to edit the editor.

<iframe
src="https://codesandbox.io/embed/github/swch/Strivve-UX-Components/tree/master/examples/next-js?fontsize=14&hidenavigation=1&theme=dark"
src="https://codesandbox.io/embed/github/swch/Strivve-UX-Components/tree/master/examples/vue-cx-client?fontsize=14&hidenavigation=1&theme=dark"
style={{ width: '100%', height: '600px', background: 'black', border: '0', borderRadius: '4px', overflow: 'hidden' }}
title="swch/Strivve-UX-Components: next-js"
title="swch/Strivve-UX-Components: vuejs"
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
/>

0 comments on commit a0100c8

Please sign in to comment.