Skip to content

Commit

Permalink
Fonts and colors
Browse files Browse the repository at this point in the history
  • Loading branch information
DCRepublic committed Oct 28, 2024
1 parent 924ddcc commit b36813b
Show file tree
Hide file tree
Showing 6 changed files with 9,965 additions and 9,974 deletions.
31 changes: 14 additions & 17 deletions components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export const Navbar = () => {
);

return (
<>
<NextUINavbar className="mt-10" maxWidth="xl" position="sticky">
<div className="bg-background_navbar">
<NextUINavbar className="mt-2 bg-inherit" maxWidth="xl" position="sticky">
<NavbarContent className="basis-1/5 sm:basis-full" justify="start">
<NavbarBrand as="li" className="gap-3 max-w-fit">
<NextLink
Expand All @@ -70,19 +70,17 @@ export const Navbar = () => {
<Spacer x={24} />
<ul className="hidden lg:flex gap-4 justify-start ml-2">
{siteConfig.navItems.map((item) => (
<>
<Link
key={item.href}
className={buttonStyles({
color: "primary",
radius: "full",
variant: pathname == item.href ? "shadow" : "ghost",
})}
href={item.href}
>
{item.label}
</Link>
</>
<Link
key={item.href}
className={buttonStyles({
color: "primary",
radius: "full",
variant: pathname == item.href ? "shadow" : "ghost",
})}
href={item.href}
>
{item.label}
</Link>
))}
</ul>
</NavbarContent>
Expand Down Expand Up @@ -137,7 +135,6 @@ export const Navbar = () => {
</div>
</NavbarMenu>
</NextUINavbar>
<Divider className="my-4" />
</>
</div>
);
};
2 changes: 1 addition & 1 deletion components/primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const title = tv({
cyan: "from-[#00b7fa] to-[#01cfea]",
green: "from-[#6FEE8D] to-[#17c964]",
pink: "from-[#FF72E1] to-[#F54C7A]",
logo: "from-[#333C44] to-[#9FADBC]",
logo: "from-[#F46523] to-[#9FADBC]",
foreground: "dark:from-[#FFFFFF] dark:to-[#4B4B4B]",
},
size: {
Expand Down
4 changes: 2 additions & 2 deletions config/fonts.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
//import { Fira_Code as FontMono, Inter as FontSans } from "next/font/google";
import { Open_Sans as FontSans } from "next/font/google";
//import { Open_Sans as FontSans } from "next/font/google";
import { Raleway as FontSans } from "next/font/google";

export const fontSans = FontSans({
subsets: ["latin"],
variable: "--font-sans",
});

/*
export const fontSans = FontSans({
subsets: ["latin"],
Expand Down
Loading

0 comments on commit b36813b

Please sign in to comment.