diff --git a/app/[lang]/(live)/(protected)/my-pages/layout.module.css b/app/[lang]/(live)/(protected)/my-pages/layout.module.css index a4f9a9f44..5e70c4db4 100644 --- a/app/[lang]/(live)/(protected)/my-pages/layout.module.css +++ b/app/[lang]/(live)/(protected)/my-pages/layout.module.css @@ -1,7 +1,7 @@ .layout { --header-height: 4.5rem; - background-color: var(--Brand-Coffee-Subtle); + background-color: var(--Scandic-Brand-Warm-White); display: grid; font-family: var(--ff-fira-sans); grid-template-rows: var(--header-height) auto 1fr; diff --git a/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx b/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx index 215039f2f..0ca34063c 100644 --- a/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx +++ b/app/[lang]/(live)/(protected)/my-pages/profile/@edit/edit/page.tsx @@ -16,7 +16,6 @@ export default function EditProfile({ params }: PageArgs) { diff --git a/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx b/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx index 30bf1b004..1415e38a4 100644 --- a/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx +++ b/app/[lang]/(live)/(protected)/my-pages/profile/@view/page.tsx @@ -8,7 +8,7 @@ import type { LangParams, PageArgs } from "@/types/params" export default function ProfileView({ params }: PageArgs) { return ( - ) diff --git a/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css b/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css index 55219a7f1..fe0c45cf6 100644 --- a/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css +++ b/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.module.css @@ -1,5 +1,5 @@ .layout { display: grid; font-family: var(--ff-fira-sans); - background-color: var(--Brand-Coffee-Subtle); + background-color: var(--Scandic-Brand-Warm-White); } diff --git a/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.tsx b/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.tsx index 44f4e3d2d..e2088d287 100644 --- a/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.tsx +++ b/app/[lang]/(live)/(public)/[contentType]/[uid]/layout.tsx @@ -1,5 +1,3 @@ -import { firaMono, firaSans } from "@/app/[lang]/(live)/fonts" - import styles from "./layout.module.css" import { @@ -11,15 +9,8 @@ import { export default function ContentTypeLayout({ children, - params, }: React.PropsWithChildren< LayoutArgs >) { - return ( -
- {children} -
- ) + return
{children}
} diff --git a/app/[lang]/(live)/fonts.ts b/app/[lang]/(live)/fonts.ts index 871c35570..73cbdf3a1 100644 --- a/app/[lang]/(live)/fonts.ts +++ b/app/[lang]/(live)/fonts.ts @@ -1,4 +1,5 @@ import { Fira_Mono, Fira_Sans } from "next/font/google" +import localFont from "next/font/local" export const firaMono = Fira_Mono({ subsets: ["latin"], @@ -11,3 +12,14 @@ export const firaSans = Fira_Sans({ weight: ["300", "400", "600", "900"], variable: "--ff-fira-sans", }) + +export const biroScriptPlus = localFont({ + src: [ + { + path: "../../../public/_static/fonts/biro-script-plus/Biro-Script-Plus.ttf", + style: "normal", + weight: "500", + }, + ], + variable: "--ff-biro-script-plus", +}) diff --git a/app/[lang]/(live)/layout.tsx b/app/[lang]/(live)/layout.tsx index 34e4cf3b5..40605c7cf 100644 --- a/app/[lang]/(live)/layout.tsx +++ b/app/[lang]/(live)/layout.tsx @@ -8,6 +8,8 @@ import TrpcProvider from "@/lib/trpc/Provider" import AdobeScript from "@/components/Current/AdobeScript" import VwoScript from "@/components/Current/VwoScript" +import { biroScriptPlus, firaMono, firaSans } from "./fonts" + import type { Metadata } from "next" import type { LangParams, LayoutArgs } from "@/types/params" @@ -42,7 +44,9 @@ export default async function RootLayout({ - + {children}