diff --git a/packages/web/src/app/(auth)/layout.tsx b/packages/web/src/app/(auth)/layout.tsx
index 071be10..1653da6 100644
--- a/packages/web/src/app/(auth)/layout.tsx
+++ b/packages/web/src/app/(auth)/layout.tsx
@@ -1,9 +1,8 @@
"use client"
-import logo from "@rahoot/web/assets/logo.svg"
+import BrandHeading from "@rahoot/web/components/BrandHeading"
import Loader from "@rahoot/web/components/Loader"
import { useSocket } from "@rahoot/web/contexts/socketProvider"
-import Image from "next/image"
import { PropsWithChildren, useEffect } from "react"
const AuthLayout = ({ children }: PropsWithChildren) => {
@@ -19,10 +18,10 @@ const AuthLayout = ({ children }: PropsWithChildren) => {
+
+
-
+
Loading...
@@ -38,7 +37,7 @@ const AuthLayout = ({ children }: PropsWithChildren) => {
-
+
{children}
)
diff --git a/packages/web/src/components/BrandHeading.tsx b/packages/web/src/components/BrandHeading.tsx
index a3838df..f545fb0 100644
--- a/packages/web/src/components/BrandHeading.tsx
+++ b/packages/web/src/components/BrandHeading.tsx
@@ -5,17 +5,27 @@ import clsx from "clsx"
type Props = {
className?: string
+ size?: "md" | "lg"
}
-const BrandHeading = ({ className }: Props) => {
+const BrandHeading = ({ className, size = "lg" }: Props) => {
const { brandName } = useThemeStore()
const label = brandName || "Rahoot!"
+ const sizeClass =
+ size === "lg"
+ ? "text-4xl md:text-5xl"
+ : "text-2xl md:text-3xl"
+
return (
-
-
- {label}
-
+
+ {label}
)
}
diff --git a/packages/web/src/components/game/create/ManagerPassword.tsx b/packages/web/src/components/game/create/ManagerPassword.tsx
index 9057cf4..3022a90 100644
--- a/packages/web/src/components/game/create/ManagerPassword.tsx
+++ b/packages/web/src/components/game/create/ManagerPassword.tsx
@@ -1,7 +1,6 @@
import Button from "@rahoot/web/components/Button"
import Form from "@rahoot/web/components/Form"
import Input from "@rahoot/web/components/Input"
-import BrandHeading from "@rahoot/web/components/BrandHeading"
import { useEvent } from "@rahoot/web/contexts/socketProvider"
import { KeyboardEvent, useState } from "react"
import toast from "react-hot-toast"
@@ -28,18 +27,15 @@ const ManagerPassword = ({ onSubmit }: Props) => {
})
return (
-
-
-
-
+
)
}
diff --git a/packages/web/src/components/game/join/BrandShell.tsx b/packages/web/src/components/game/join/BrandShell.tsx
index 5c00737..581fced 100644
--- a/packages/web/src/components/game/join/BrandShell.tsx
+++ b/packages/web/src/components/game/join/BrandShell.tsx
@@ -1,11 +1,9 @@
"use client"
-import BrandHeading from "@rahoot/web/components/BrandHeading"
import { PropsWithChildren } from "react"
const BrandShell = ({ children }: PropsWithChildren) => (
-
{children}
)