Skip to content

Commit 8a3b825

Browse files
Use Space Grotesk Font
1 parent cc7615d commit 8a3b825

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

src/app/(public)/_components/hero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function Hero() {
2727
<div className="w-0 hero-overlay bg-opacity-60"></div>
2828
<div className="text-center hero-content">
2929
<div className="max-w-md">
30-
<h1 className="mb-5 text-5xl font-bold uppercase text-2023-manga-3">
30+
<h1 className="mb-5 text-5xl font-medium uppercase text-2023-manga-3">
3131
Search your language
3232
</h1>
3333
<form
@@ -51,7 +51,7 @@ export function Hero() {
5151
</button>
5252
</div>
5353
</form>
54-
<p className="mb-5 font-semibold uppercase text-2023-manga-3">
54+
<p className="mb-5 font-medium uppercase text-2023-manga-3">
5555
Or select the programming language you would like to find
5656
repositories for.
5757
</p>

src/app/(public)/contributors/_components/contributor-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function ContributorCard({ contributor }: ContributorCardProps) {
5151
</figure>
5252
</div>
5353
<div className="w-full gap-3 text-center card-body">
54-
<h2 className="text-2xl font-bold text-center text-2023-bavarian-blue-1">
54+
<h2 className="text-2xl font-medium text-center text-2023-bavarian-blue-1">
5555
{contributor.name}
5656
</h2>
5757
<a

src/app/(public)/contributors/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default async function ContributorsPage() {
1818
<div>
1919
<Header />
2020
<div className="container mx-auto mb-5">
21-
<h1 className="my-5 text-5xl font-bold text-center text-neutral-100">
21+
<h1 className="my-5 text-5xl font-medium text-center text-neutral-100">
2222
Contributors ✨
2323
</h1>
2424
<div className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4">

src/app/(public)/repos/[language]/_components/repo-card.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function RepoCard({ repo }: RepoCardProps) {
7676
>
7777
<GoStar className="text-2xl text-yellow-200" />
7878
<div className="flex flex-col">
79-
<div className="text-lg xl:text-2xl font-semibold mb-0.5">
79+
<div className="text-lg xl:text-2xl font-medium mb-0.5">
8080
{repo.stargazers_count}
8181
</div>
8282
<div className="text-xs text-neutral-300 lg:text-sm">Stars</div>
@@ -95,7 +95,7 @@ export function RepoCard({ repo }: RepoCardProps) {
9595
>
9696
<GoRepoForked className="text-2xl text-yellow-200" />
9797
<div className="flex flex-col">
98-
<div className="text-lg xl:text-2xl font-semibold mb-0.5">
98+
<div className="text-lg xl:text-2xl font-medium mb-0.5">
9999
{repo.forks}
100100
</div>
101101
<div className="text-xs text-neutral-300 lg:text-sm">Forks</div>
@@ -114,7 +114,7 @@ export function RepoCard({ repo }: RepoCardProps) {
114114
>
115115
<GoIssueOpened className="text-2xl text-yellow-200" />
116116
<div className="flex flex-col">
117-
<div className="text-lg xl:text-2xl font-semibold mb-0.5">
117+
<div className="text-lg xl:text-2xl font-medium mb-0.5">
118118
{repo.open_issues_count}
119119
</div>
120120
<div className="text-xs text-neutral-300 lg:text-sm">Issues</div>

src/app/(public)/repos/[language]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default async function ReposPage({
3232
<div className="min-h-screen pt-5">
3333
<div className="text-center">
3434
<div className="w-5/6 max-w-md mx-auto">
35-
<h1 className="mb-5 text-5xl font-bold uppercase text-neutral-100">
35+
<h1 className="mb-5 text-5xl font-medium uppercase text-neutral-100">
3636
{repos.total_count} repositories for{' '}
3737
<span className="font-mono text-2023-bavarian-gold-2">
3838
{searchParams.q

src/app/layout.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import '@/styles/globals.css';
22
import type { Metadata, Viewport } from 'next';
3-
import { Poppins } from 'next/font/google';
3+
import { Space_Grotesk } from 'next/font/google';
44
import { Toaster } from 'react-hot-toast';
55
import { SessionProvider } from 'next-auth/react';
66
import { Footer } from '@/components/footer';
77
import { ReportModal } from '@/components/report-modal';
88

9-
const poppins = Poppins({
9+
const spaceGrotesk = Space_Grotesk({
1010
subsets: ['latin'],
11-
weight: '500',
11+
weight: ['400', '500'],
1212
display: 'swap',
13-
variable: '--font-poppins'
13+
variable: '--font-space-grotesk'
1414
});
1515

1616
export default function RootLayout({ children }: React.PropsWithChildren) {
1717
return (
18-
<html className={poppins.variable}>
19-
<body className="font-sans">
18+
<html className={spaceGrotesk.variable}>
19+
<body className="font-sans font-normal">
2020
{children}
2121
<Footer />
2222
<SessionProvider>

src/components/report-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function ReportModal() {
5959
return (
6060
<dialog id="modal" className="modal modal-bottom sm:modal-middle">
6161
<div className="w-full max-w-2xl modal-box md:w-11/12">
62-
<h3 className="block mb-2 text-2xl font-bold text-center text-2023-manga-2">
62+
<h3 className="block mb-2 text-2xl font-medium text-center text-2023-manga-2">
6363
Report This Repository
6464
</h3>
6565
{session.data ? (

tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const config = {
99
theme: {
1010
extend: {
1111
fontFamily: {
12-
sans: ['var(--font-poppins)', 'ui-sans-serif', 'system-ui']
12+
sans: ['var(--font-space-grotesk)', 'ui-sans-serif', 'system-ui']
1313
},
1414
backgroundImage: {
1515
'gradient-radial':

0 commit comments

Comments
 (0)