From 61fd266f5dfd56ced4f4d64ec16ffd718e4cca25 Mon Sep 17 00:00:00 2001 From: MichalC <103170279+wSBMichalee@users.noreply.github.com> Date: Wed, 2 Sep 2026 23:41:09 +0200 Subject: [PATCH] feat: redesign Hero block, update global design tokens and fonts to new editorial direction --- src/app/(frontend)/layout.tsx | 13 +++- src/app/globals.css | 34 ++++----- src/blocks/Hero/Component.tsx | 137 +++++++++++++--------------------- src/blocks/Hero/config.ts | 2 +- src/payload-types.ts | 4 +- 5 files changed, 79 insertions(+), 111 deletions(-) diff --git a/src/app/(frontend)/layout.tsx b/src/app/(frontend)/layout.tsx index 2573019..8650042 100644 --- a/src/app/(frontend)/layout.tsx +++ b/src/app/(frontend)/layout.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { Inter, Outfit } from 'next/font/google' +import { Public_Sans, Fraunces } from 'next/font/google' import { Providers } from '../../components/Providers' import { LanguageSlugsProvider } from '../../components/LanguageSlugsProvider' import { Header } from '../../components/Header' @@ -8,8 +8,13 @@ import { getPayload } from 'payload' import configPromise from '@payload-config' import '../globals.css' -const inter = Inter({ subsets: ['latin'], variable: '--font-sans' }) -const outfit = Outfit({ subsets: ['latin'], variable: '--font-heading' }) +const publicSans = Public_Sans({ subsets: ['latin'], variable: '--font-sans' }) +const fraunces = Fraunces({ + subsets: ['latin'], + variable: '--font-heading', + axes: ['opsz'], + weight: 'variable', +}) export const metadata = { title: 'Finanz- & Lohnbuchhaltung Dipl.-Ing. Janusz Kędzierski', @@ -50,7 +55,7 @@ export default async function RootLayout({ const footerNavItems = (footerData.navigation || []).map((item: any) => item.page).filter((page: any) => typeof page === 'object' && page !== null); return ( - +
- {subtitle} -
- -+ {subtitle} +
+ +