From 770319802d1b574938fda926df6e78b53d116162 Mon Sep 17 00:00:00 2001 From: Emil Krebs Date: Sun, 17 Mar 2024 01:22:02 +0100 Subject: [PATCH] switched font --- replacePaths.sh | 5 ----- src/app/layout.tsx | 5 +---- tailwind.config.ts | 4 ++-- 3 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 replacePaths.sh diff --git a/replacePaths.sh b/replacePaths.sh deleted file mode 100644 index 232e784..0000000 --- a/replacePaths.sh +++ /dev/null @@ -1,5 +0,0 @@ -# replace paths in the CSS -LC_ALL=C find "out/_next/static/css" -type f -exec sed -i '' 's/.\/_next\/static/\.\./g' {} + - -# fix the regular expressions that are not escaped - add a \ before any / if there isn't one there already -LC_ALL=C find "out/_next/static/chunks" -type f -exec sed -i '' 's/\.\\/_next\\/data/.\/_next\/data/g' {} + diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7640649..c179d78 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,11 +1,8 @@ - -import { Montserrat } from 'next/font/google'; import './globals.css'; import Footer from './components/Footer'; import Navbar from './components/Navbar'; import { Metadata } from 'next'; -const inter = Montserrat({ subsets: ['latin'] }); export const metadata: Metadata = { title: 'Emil Krebs', description: 'Emil Krebs Website', @@ -26,7 +23,7 @@ export default function RootLayout({ Emil Krebs - + {children} diff --git a/tailwind.config.ts b/tailwind.config.ts index f896331..4441fc5 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -8,8 +8,8 @@ const config: Config = { './src/app/**/*.{js,ts,jsx,tsx,mdx}', ], theme: { - extend: { - + fontFamily: { + sans: ['Montserrat', 'sans-serif'], }, }, plugins: [],