Skip to content

Commit 134660e

Browse files
committed
feat : font family uipdate and repos btn updated
1 parent a97b76c commit 134660e

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,7 @@ export function Sorter() {
118118
return (
119119
<div className="flex items-center justify-center gap-4 mb-8">
120120
<div className="dropdown group dropdown-hover">
121-
<Button
122-
tabIndex={0}
123-
className="bg-hacktoberfest-blue border-hacktoberfest-light text-hacktoberfest-light hover:bg-primary-btn-hover-gradient transition-colors duration-200"
124-
>
121+
<Button tabIndex={0}>
125122
<Code className="w-6 h-6 mr-2" />
126123
Language
127124
</Button>
@@ -145,10 +142,7 @@ export function Sorter() {
145142
</div>
146143
</div>
147144
<div className="dropdown dropdown-hover group">
148-
<Button
149-
tabIndex={0}
150-
className="bg-hacktoberfest-blue border-hacktoberfest-light text-hacktoberfest-light hover:bg-primary-btn-hover-gradient transition-colors duration-200"
151-
>
145+
<Button tabIndex={0}>
152146
<ArrowUpAZ className="w-6 h-6 mr-2" />
153147
{selectedSort()}
154148
</Button>

src/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import '@/styles/globals.css';
22
import Script from 'next/script';
33
import type { Metadata, Viewport } from 'next';
4-
import { Space_Grotesk } from 'next/font/google';
4+
import { Atkinson_Hyperlegible_Mono } from 'next/font/google';
55
import { unstable_ViewTransition as ViewTransition } from 'react';
66
import { Toaster } from 'react-hot-toast';
77
import { SessionProvider } from 'next-auth/react';
88
import { Footer } from '@/components/footer';
99
import { ReportModal } from '@/components/report-modal';
1010
import { env } from '@/env.mjs';
1111

12-
const spaceGrotesk = Space_Grotesk({
12+
const atkinsonHyperlegibleMono = Atkinson_Hyperlegible_Mono({
1313
subsets: ['latin'],
1414
weight: ['400', '500'],
1515
display: 'swap',
@@ -18,7 +18,7 @@ const spaceGrotesk = Space_Grotesk({
1818

1919
export default function RootLayout({ children }: React.PropsWithChildren) {
2020
return (
21-
<html className={spaceGrotesk.variable}>
21+
<html className={atkinsonHyperlegibleMono.variable}>
2222
<body className="font-sans font-normal bg-hacktoberfest-blue">
2323
<ViewTransition>
2424
{children}

0 commit comments

Comments
 (0)