Skip to content

Commit 458b125

Browse files
committed
chore: add style classes + fonts
1 parent 874743c commit 458b125

File tree

13 files changed

+194
-13
lines changed

13 files changed

+194
-13
lines changed

apps/web/app/(public)/_components/hero-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { AnimatedShinyText } from "@clikz/ui/components/ui/animated-shiny-text";
77
import { Button } from "@clikz/ui/components/ui/button";
88

99
import { APP_DOMAIN } from "~/lib/constants";
10-
import { inter } from "~/lib/utils/font";
1110
import { DEFAULT_LOGIN_REDIRECT } from "~/routes";
11+
import { inter } from "~/styles/font";
1212

1313
const HeroSection = () => {
1414
return (

apps/web/app/(public)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { PropsWithChildren } from "react";
33
import { cn } from "@clikz/ui/lib/utils";
44

55
import { auth } from "~/auth";
6-
import { urbanist } from "~/lib/utils/font";
6+
import { urbanist } from "~/styles/font";
77

88
import FooterSection from "./_components/footer-section";
99
import Navbar from "./_components/navbar";

apps/web/components/max-width-container.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ type MaxWidthContainerProps = PropsWithChildren<{
77
className?: string;
88
containerClassName?: string;
99
showPattern?: boolean;
10+
size?: number;
1011
}>;
1112

1213
const MaxWidthContainer: FC<MaxWidthContainerProps> = ({
1314
children,
1415
className,
1516
showPattern,
1617
containerClassName,
18+
size = 20,
1719
}) => {
1820
return (
1921
<section className={cn("relative overflow-hidden", containerClassName)}>
2022
{showPattern && (
2123
<GridPattern
22-
width={20}
23-
height={20}
24-
className={cn(
25-
"[mask-image:linear-gradient(to_bottom,white,white,transparent)] opacity-10 stroke-gray-950/40"
26-
)}
24+
width={size}
25+
height={size}
26+
className="[mask-image:linear-gradient(to_bottom,white,white,transparent)] opacity-10 stroke-gray-950/40"
2727
/>
2828
)}
2929
<div className={cn("max-w-screen-xl mx-auto px-4 z-20", className)}>

apps/web/lib/utils/font.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@vercel/functions": "^1.5.2",
2828
"@vercel/sdk": "^1.3.1",
2929
"bcryptjs": "^2.4.3",
30+
"geist": "^1.3.1",
3031
"hono": "^4.6.14",
3132
"imagekit": "^6.0.0",
3233
"imagekitio-next": "^1.0.1",

apps/web/public/logo-dark.png

-15.5 KB
Loading

apps/web/styles/Satoshi-Black.ttf

71.5 KB
Binary file not shown.

apps/web/styles/Satoshi-Bold.ttf

71.6 KB
Binary file not shown.
41.6 KB
Binary file not shown.

apps/web/styles/font.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { Inter, Urbanist } from "next/font/google";
2+
import localFont from "next/font/local";
3+
4+
import { GeistMono } from "geist/font/mono";
5+
6+
export const inter = Inter({ subsets: ["latin"] });
7+
export const urbanist = Urbanist({
8+
subsets: ["latin"],
9+
});
10+
11+
export const satoshi = localFont({
12+
src: "./Satoshi-Variable.woff2",
13+
variable: "--font-satoshi",
14+
weight: "300 900",
15+
display: "swap",
16+
style: "normal",
17+
});
18+
19+
// export const geistMono = Geist_Mono({
20+
// variable: "--font-geist-mono",
21+
// weight: "400",
22+
// display: "swap",
23+
// style: "normal",
24+
// subsets: ["latin"],
25+
// });
26+
27+
export const geistMono = GeistMono;

0 commit comments

Comments
 (0)