partiful link
This commit is contained in:
@@ -24,7 +24,7 @@ class Events extends Shadow {
|
||||
Stack(() => {
|
||||
|
||||
VStack(() => {
|
||||
p(`January 23, 2025`)
|
||||
p(`February 7, 2026`)
|
||||
|
||||
p(`Hyperia Winter Ball`)
|
||||
.fontSize(1.2, em)
|
||||
@@ -33,7 +33,7 @@ class Events extends Shadow {
|
||||
|
||||
})
|
||||
|
||||
p(`Join us in Austin, Texas for a great dance, with free drinks and live music. <br><br>Admission: $35 for men, women are free.`)
|
||||
p(`Join us in Austin, Texas for two-stepping and live music by Noah Kurtis. 21 and up.`)
|
||||
.marginRight(4, em)
|
||||
|
||||
HStack(() => {
|
||||
@@ -46,16 +46,17 @@ class Events extends Shadow {
|
||||
.height(2, em)
|
||||
.maxWidth(40, vw)
|
||||
|
||||
button("Buy Ticket")
|
||||
button("RSVP")
|
||||
.color("var(--darkbrown")
|
||||
.border("1px solid #ab2f007d")
|
||||
.background('var(--green)')
|
||||
.marginLeft("auto")
|
||||
.onClick(async function() {
|
||||
this.innerText = "Loading..."
|
||||
const res = await fetch("/create-checkout-session", { method: "POST" });
|
||||
const data = await res.json();
|
||||
window.location = data.url;
|
||||
window.open("https://partiful.com/e/XqnPwBKS9vUMd8GYX3xz?c=HLU81h69", "_blank", "noopener");
|
||||
// this.innerText = "Loading..."
|
||||
// const res = await fetch("/create-checkout-session", { method: "POST" });
|
||||
// const data = await res.json();
|
||||
// window.location = data.url;
|
||||
})
|
||||
})
|
||||
.gap(3, em)
|
||||
|
||||
Reference in New Issue
Block a user