From 6928ca2a88c9cf29be1783bc3575a2abfdb3f988 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 25 Apr 2022 22:51:45 +0200 Subject: [PATCH] Add font --- .../domain/wishes/createWish/CreateWish.tsx | 2 +- components/layout/home/HomeLayout.tsx | 2 +- pages/_app.tsx | 21 ++++++++++++++++++- tailwind.config.js | 6 +++++- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/components/domain/wishes/createWish/CreateWish.tsx b/components/domain/wishes/createWish/CreateWish.tsx index b5533c3..9513057 100644 --- a/components/domain/wishes/createWish/CreateWish.tsx +++ b/components/domain/wishes/createWish/CreateWish.tsx @@ -25,7 +25,7 @@ const CreateWish: FC = (props) => { } value={props.wish.name} /> -
+
diff --git a/components/layout/home/HomeLayout.tsx b/components/layout/home/HomeLayout.tsx index be7e1f3..3593e03 100644 --- a/components/layout/home/HomeLayout.tsx +++ b/components/layout/home/HomeLayout.tsx @@ -9,7 +9,7 @@ const HomeLayout: FC = (props) => { return (
-

+

Wishes / {props.page} diff --git a/pages/_app.tsx b/pages/_app.tsx index 3f5c9d5..213478d 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,8 +1,27 @@ import '../styles/globals.css' import type { AppProps } from 'next/app' +import Head from 'next/head' function MyApp({ Component, pageProps }: AppProps) { - return + return ( + <> + + + + + + Wishes + + + + ) } export default MyApp diff --git a/tailwind.config.js b/tailwind.config.js index 4cd6138..ffb1593 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,7 +4,11 @@ module.exports = { './components/**/*.{js,ts,jsx,tsx}', ], theme: { - extend: {}, + extend: { + fontFamily: { + sans: ['"Dancing Script"', 'cursive'], + }, + }, }, plugins: [], }