Initial commit
This commit is contained in:
parent
6fc1013745
commit
826517a798
18 changed files with 16576 additions and 0 deletions
44
app/pages/join.vue
Normal file
44
app/pages/join.vue
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!-- pages/join.vue -->
|
||||
<template>
|
||||
<UContainer class="py-12">
|
||||
<UForm :state="form" @submit="handleSubmit">
|
||||
<!-- Step 1: Basic Info -->
|
||||
<UFormGroup label="Email" name="email">
|
||||
<UInput v-model="form.email" type="email" />
|
||||
</UFormGroup>
|
||||
|
||||
<!-- Step 2: Choose Circle -->
|
||||
<URadioGroup
|
||||
v-model="form.circle"
|
||||
:options="circleOptions"
|
||||
name="circle" />
|
||||
|
||||
<!-- Step 3: Choose Contribution -->
|
||||
<URadioGroup
|
||||
v-model="form.contribution"
|
||||
:options="contributionOptions"
|
||||
name="contribution" />
|
||||
|
||||
<!-- Step 4: Helcim Checkout -->
|
||||
<div id="helcim-payment"></div>
|
||||
|
||||
<UButton type="submit" block> Complete Membership </UButton>
|
||||
</UForm>
|
||||
</UContainer>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const form = reactive({
|
||||
email: "",
|
||||
name: "",
|
||||
circle: "community",
|
||||
contribution: "15",
|
||||
});
|
||||
|
||||
// Load Helcim.js
|
||||
onMounted(() => {
|
||||
const script = document.createElement("script");
|
||||
script.src = "https://secure.helcim.app/helcim-pay.js";
|
||||
document.head.appendChild(script);
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue