adding stripe section, parts of dashboard

This commit is contained in:
metacryst
2026-01-07 18:30:58 -06:00
parent eced0b72d1
commit f0694f0b99
24 changed files with 183 additions and 411 deletions

View File

@@ -1,9 +1,6 @@
import "../components/NavBar.js"
import "./SignupForm.js"
import "./Why.js"
import "./Events.js"
import "./Join.js"
import "./SignUp.js"
import "./SignIn.js"
import "./SignupForm.js"
import "./Success.js"
class Home extends Shadow {
@@ -55,7 +52,6 @@ class Home extends Shadow {
.fontSize(1.2, em)
.cursor("default")
.onHover(function (hovering) {
console.log("hover")
if(hovering) {
this.style.background = "var(--red)"
this.style.color = "black"
@@ -75,7 +71,6 @@ class Home extends Shadow {
.fontSize(1.2, em)
.cursor("default")
.onHover(function (hovering) {
console.log("hover")
if(hovering) {
this.style.background = "var(--red)"
this.style.color = "black"
@@ -110,7 +105,6 @@ class Home extends Shadow {
.marginHorizontal(27, vw)
.width(46, vw)
.marginTop(10, vh)
.fontFamily("Nanum")
}
render() {
@@ -121,28 +115,22 @@ class Home extends Shadow {
case "/":
this.MainContent()
break;
case "/why":
Why()
break;
case "/events":
Events()
break;
case "/join":
Join()
case "/signup":
SignUp()
break;
case "/success":
Success()
break;
default:
if(window.location.pathname.startsWith("/signup")) {
if(window.location.pathname.startsWith("/free")) {
SignupForm()
} else if(window.location.pathname.startsWith("/login")) {
SignIn()
}
}
})
.fontFamily("Nanum")
.onNavigate(() => {
this.rerender()
})