Skip to content

Commit

Permalink
updates font
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelp committed Sep 17, 2024
1 parent b4f506a commit 753e720
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apps/web/src/components/shared/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { Button } from "../shadcn/ui/button";
import ProfileButton from "./ProfileButton";
import { auth, currentUser } from "@clerk/nextjs";
import NavBarLinksGrouper from "./NavBarLinksGrouper";
import { Oswald } from "next/font/google";
import { Open_Sans } from "next/font/google";
import { cn } from "@/lib/utils/client/cn";

const oswald = Oswald({
variable: "--font-oswald",
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});

Expand All @@ -23,7 +23,7 @@ export default async function Navbar({ className }: NavbarProps) {
<div className="z-50 w-screen">
<div
className={cn(
`relative top-0 z-50 h-16 w-screen border-b border-b-border bg-nav bg-white dark:bg-black ${oswald.variable}`,
`relative top-0 z-50 h-16 w-screen border-b border-b-border bg-nav bg-white dark:bg-black ${openSans.variable}`,
className,
)}
>
Expand All @@ -40,7 +40,9 @@ export default async function Navbar({ className }: NavbarProps) {
height={32}
/>
{/* <div className="bg-muted-foreground h-[45%] rotate-[25deg] w-[2px]" /> */}
<h2 className="font-oswald text-lg font-bold text-[#A7866A] dark:text-[#FEF2E6]">
<h2
className={`text-lg font-bold text-[#A7866A] dark:text-[#FEF2E6] ${openSans.variable}`}
>
{c.hackathonName}
</h2>
</Link>
Expand Down

0 comments on commit 753e720

Please sign in to comment.