Adding Stripe onboarding (mostly), changing name and branding to Forum
This commit is contained in:
@@ -69,7 +69,7 @@ class Forum extends Shadow {
|
||||
|
||||
ForumPanel()
|
||||
|
||||
input("Message Parchment", "98%")
|
||||
input("Message Forum", "98%")
|
||||
.paddingVertical(1, em)
|
||||
.paddingLeft(2, pct)
|
||||
.color("var(--accent)")
|
||||
|
||||
@@ -30,7 +30,7 @@ class Jobs extends Shadow {
|
||||
{
|
||||
title: "Austin Chapter Lead",
|
||||
salary: "1% of Local Revenue",
|
||||
company: "Parchment",
|
||||
company: "Forum",
|
||||
city: "Austin",
|
||||
state: "TX"
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ class Market extends Shadow {
|
||||
stars: "5",
|
||||
reviews: 1,
|
||||
price: "$12",
|
||||
company: "Parchment",
|
||||
company: "Forum",
|
||||
type: "new",
|
||||
image: "/db/images/1",
|
||||
madeIn: "America"
|
||||
|
||||
@@ -34,8 +34,13 @@ let Global = class {
|
||||
const code = params.get("code");
|
||||
|
||||
if (code) {
|
||||
// send this code to your backend
|
||||
console.log("success!: ", code)
|
||||
await fetch("/api/stripe/connect", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ code })
|
||||
});
|
||||
|
||||
} else {
|
||||
throw new Error("Stripe code is not present!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user