From c75803a87db28d8bcfcecab61b9925c2874f55d2 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Fri, 18 Jul 2025 12:27:54 -0700 Subject: [PATCH 1/3] props url now ops. --- .../app/_helpers/liveKitEventHandler.ts | 1 - docker-compose.prod.yml | 20 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/apps/dispatch/app/_helpers/liveKitEventHandler.ts b/apps/dispatch/app/_helpers/liveKitEventHandler.ts index 83374ce6..43004d2a 100644 --- a/apps/dispatch/app/_helpers/liveKitEventHandler.ts +++ b/apps/dispatch/app/_helpers/liveKitEventHandler.ts @@ -23,7 +23,6 @@ export const handleTrackSubscribed = ( track.on("unmuted", () => { useAudioStore.getState().addSpeakingParticipant(participant); - console.log(useAudioStore.getState().settings.radioVolume); element.volume = useAudioStore.getState().settings.radioVolume; }); track.on("unmuted", () => { diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 4022fb39..2fad0749 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -78,10 +78,10 @@ services: replicas: 2 labels: - "traefik.enable=true" - - "traefik.http.routers.dispatch.rule=Host(`dispatch.virtualairrescue.com`)" - - "traefik.http.routers.dispatch.entrypoints=websecure" - - "traefik.http.routers.dispatch.tls.certresolver=le" - - "traefik.http.services.dispatch.loadbalancer.server.port=3000" + - "traefik.http.routers.ops.rule=Host(`ops.virtualairrescue.com`)" + - "traefik.http.routers.ops.entrypoints=websecure" + - "traefik.http.routers.ops.tls.certresolver=le" + - "traefik.http.services.ops.loadbalancer.server.port=3000" environment: - NEXTAUTH_URL=${AUTH_DISPATCH_URL} @@ -101,12 +101,12 @@ services: replicas: 3 labels: - "traefik.enable=true" - - "traefik.http.routers.dispatch-server.rule=Host(`api.dispatch.virtualairrescue.com`)" - - "traefik.http.routers.dispatch-server.entrypoints=websecure" - - "traefik.http.routers.dispatch-server.tls.certresolver=le" - - "traefik.http.services.dispatch-server.loadBalancer.sticky.cookie.name=server_id" - - "traefik.http.services.dispatch-server.loadBalancer.sticky.cookie.httpOnly=true" - - "traefik.http.services.dispatch-server.loadbalancer.server.port=3000" + - "traefik.http.routers.ops-server.rule=Host(`api.ops.virtualairrescue.com`)" + - "traefik.http.routers.ops-server.entrypoints=websecure" + - "traefik.http.routers.ops-server.tls.certresolver=le" + - "traefik.http.services.ops-server.loadBalancer.sticky.cookie.name=server_id" + - "traefik.http.services.ops-server.loadBalancer.sticky.cookie.httpOnly=true" + - "traefik.http.services.ops-server.loadbalancer.server.port=3000" networks: - core_network - postgres_network From 496182259948d5b58da259116f5538119f129257 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:07:16 -0700 Subject: [PATCH 2/3] Footer in eigenem Component --- apps/hub/app/(app)/_components/Footer.tsx | 75 ++++++++++++++++++ .../{resources => }/_components/facebook.svg | 0 .../_components/youtube_wider.svg | 0 apps/hub/app/(app)/layout.tsx | 74 +---------------- .../resources/_components/Discord-logo.png | Bin 0 -> 17036 bytes apps/hub/app/(app)/resources/page.tsx | 12 ++- apps/hub/app/_components/Nav.tsx | 2 +- 7 files changed, 90 insertions(+), 73 deletions(-) create mode 100644 apps/hub/app/(app)/_components/Footer.tsx rename apps/hub/app/(app)/{resources => }/_components/facebook.svg (100%) rename apps/hub/app/(app)/{resources => }/_components/youtube_wider.svg (100%) create mode 100644 apps/hub/app/(app)/resources/_components/Discord-logo.png diff --git a/apps/hub/app/(app)/_components/Footer.tsx b/apps/hub/app/(app)/_components/Footer.tsx new file mode 100644 index 00000000..72c56ff6 --- /dev/null +++ b/apps/hub/app/(app)/_components/Footer.tsx @@ -0,0 +1,75 @@ +import Image from "next/image"; +import { DiscordLogoIcon, InstagramLogoIcon, ReaderIcon } from "@radix-ui/react-icons"; +import YoutubeSvg from "./youtube_wider.svg"; +import FacebookSvg from "./facebook.svg"; + +export const Footer = () => { + return ( + + ); +}; diff --git a/apps/hub/app/(app)/resources/_components/facebook.svg b/apps/hub/app/(app)/_components/facebook.svg similarity index 100% rename from apps/hub/app/(app)/resources/_components/facebook.svg rename to apps/hub/app/(app)/_components/facebook.svg diff --git a/apps/hub/app/(app)/resources/_components/youtube_wider.svg b/apps/hub/app/(app)/_components/youtube_wider.svg similarity index 100% rename from apps/hub/app/(app)/resources/_components/youtube_wider.svg rename to apps/hub/app/(app)/_components/youtube_wider.svg diff --git a/apps/hub/app/(app)/layout.tsx b/apps/hub/app/(app)/layout.tsx index 3cdd6e92..0383adc7 100644 --- a/apps/hub/app/(app)/layout.tsx +++ b/apps/hub/app/(app)/layout.tsx @@ -1,14 +1,12 @@ import type { Metadata } from "next"; -import { DiscordLogoIcon, InstagramLogoIcon, ReaderIcon } from "@radix-ui/react-icons"; import { HorizontalNav, VerticalNav } from "../_components/Nav"; import { redirect } from "next/navigation"; import { getServerSession } from "../api/auth/[...nextauth]/auth"; import { EmailVerification } from "_components/EmailVerification"; import { FirstPath } from "./_components/FirstPath"; import { Penalty } from "_components/Penalty"; -import YoutubeSvg from "./resources/_components/youtube_wider.svg"; -import FacebookSvg from "./resources/_components/facebook.svg"; -import Image from "next/image"; + +import { Footer } from "(app)/_components/Footer"; export const metadata: Metadata = { title: "VAR: Hub", @@ -56,73 +54,7 @@ export default async function RootLayout({ - {/* Footer */} - +