From 77ea366c690591217996320535a6dddef43bac65 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Fri, 27 Mar 2026 14:08:05 -0700 Subject: [PATCH] More stuff --- frontend/src/App.tsx | 2 + frontend/src/components/Navbar.tsx | 2 +- frontend/src/components/PricingTable.tsx | 8 +- frontend/src/components/RelayDetailCard.tsx | 135 +++++--------------- frontend/src/components/RelayForm.tsx | 17 ++- frontend/src/components/Toast.tsx | 18 +-- frontend/src/lib/api.ts | 35 ++++- frontend/src/lib/relayPlans.ts | 45 ------- frontend/src/pages/Home.tsx | 1 + frontend/src/pages/relays/RelayDetail.tsx | 4 +- frontend/src/pages/relays/RelayNew.tsx | 2 +- frontend/src/views/Login.tsx | 20 +-- 12 files changed, 103 insertions(+), 186 deletions(-) delete mode 100644 frontend/src/lib/relayPlans.ts diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 503f6d1..4a96a52 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -2,6 +2,7 @@ import { createEffect, Show } from "solid-js" import { Router, Route, useLocation, useNavigate } from "@solidjs/router" import type { Component } from "solid-js" import AppShell from "@/components/AppShell" +import Toast from "@/components/Toast" import Home from "@/pages/Home" import RelayList from "@/pages/relays/RelayList" import RelayNew from "@/pages/relays/RelayNew" @@ -31,6 +32,7 @@ function Layout(props: { children?: any }) { {props.children}}> {props.children} + ) } diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index 7466802..34306ea 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -7,7 +7,7 @@ export default function Navbar() { const picture = useProfilePicture(() => account()?.pubkey) return ( -