Skip to content

Commit

Permalink
add inter font
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-raj-jain committed Dec 21, 2024
1 parent 0d2bd20 commit 92cca0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
run: npm run pages:deploy
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
5 changes: 4 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ import Header from '@/components/header'
import SubscribeForm from '@/components/subscribe'
import config from '@/lib/config'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'

const geist = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
title: config.title,
description: config.description,
Expand All @@ -28,7 +31,7 @@ export default function RootLayout({
children: React.ReactNode
}>) {
return (
<html lang="en">
<html lang="en" className={geist.className}>
<body className="bg-black antialiased">
<Header />
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex flex-col">{children}</div>
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import templateConfig from './lib/config'

const config: Config = {
darkMode: ['class'],
content: ['./pages/**/*.{js,ts,jsx,tsx,mdx}', './components/**/*.{js,ts,jsx,tsx,mdx}', './app/**/*.{js,ts,jsx,tsx,mdx}'],
content: ['./components/**/*.{js,ts,jsx,tsx,mdx}', './app/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
colors: {
Expand Down

0 comments on commit 92cca0a

Please sign in to comment.