feat: Add Source Serif 4 and Fractul font families, new message and requests icons, and update agent dashboard and layout.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono, Source_Serif_4, Nunito_Sans } from "next/font/google";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import localFont from "next/font/local";
|
||||
import { SessionProvider } from "@/components/providers/session-provider";
|
||||
import "./globals.css";
|
||||
|
||||
@@ -13,17 +14,108 @@ const geistMono = Geist_Mono({
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const sourceSerif4 = Source_Serif_4({
|
||||
variable: "--font-source-serif-4",
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500", "600", "700"],
|
||||
// Local Fractul font
|
||||
const fractul = localFont({
|
||||
src: [
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-Regular.ttf",
|
||||
weight: "400",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-Italic.ttf",
|
||||
weight: "400",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-Medium.ttf",
|
||||
weight: "500",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-MediumItalic.ttf",
|
||||
weight: "500",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-SemiBold.ttf",
|
||||
weight: "600",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-SemiBoldItalic.ttf",
|
||||
weight: "600",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-Bold.ttf",
|
||||
weight: "700",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-BoldItalic.ttf",
|
||||
weight: "700",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-ExtraBold.ttf",
|
||||
weight: "800",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/fractul/Fractul-ExtraBoldItalic.ttf",
|
||||
weight: "800",
|
||||
style: "italic",
|
||||
},
|
||||
],
|
||||
variable: "--font-fractul",
|
||||
});
|
||||
|
||||
// Using Nunito Sans as a close alternative to Fractul (similar geometric sans-serif style)
|
||||
const nunitoSans = Nunito_Sans({
|
||||
variable: "--font-fractul",
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500", "600", "700", "800"],
|
||||
// Local Source Serif 4 font
|
||||
const sourceSerif4 = localFont({
|
||||
src: [
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-Regular.ttf",
|
||||
weight: "400",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-Italic.ttf",
|
||||
weight: "400",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-Medium.ttf",
|
||||
weight: "500",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-MediumItalic.ttf",
|
||||
weight: "500",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-SemiBold.ttf",
|
||||
weight: "600",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-SemiBoldItalic.ttf",
|
||||
weight: "600",
|
||||
style: "italic",
|
||||
},
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-Bold.ttf",
|
||||
weight: "700",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "../fonts/Source_Serif_4/static/SourceSerif4-BoldItalic.ttf",
|
||||
weight: "700",
|
||||
style: "italic",
|
||||
},
|
||||
],
|
||||
variable: "--font-source-serif-4",
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -39,7 +131,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en">
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} ${sourceSerif4.variable} ${nunitoSans.variable} antialiased`}
|
||||
className={`${geistSans.variable} ${geistMono.variable} ${sourceSerif4.variable} ${fractul.variable} antialiased`}
|
||||
>
|
||||
<SessionProvider>{children}</SessionProvider>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user