eny.space Landingpage
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'feature/fonts' into develop

+15 -6
+1 -1
app/components/heading.tsx
··· 9 9 } 10 10 11 11 export function Heading({ as: Tag = "h1", children, className }: HeadingProps) { 12 - return <Tag className={cn(className)}>{children}</Tag>; 12 + return <Tag className={cn("font-heading", className)}>{children}</Tag>; 13 13 }
+1 -1
app/components/hero/hero-left.tsx
··· 8 8 <div className="flex max-w-xl flex-col gap-6"> 9 9 <Heading 10 10 as="h1" 11 - className="text-4xl leading-tight tracking-tight text-white sm:text-5xl md:text-6xl" 11 + className="font-heading text-4xl leading-tight tracking-tight text-white sm:text-5xl md:text-6xl" 12 12 > 13 13 Managed PDS hosting with a real UI. 14 14 </Heading>
+1 -1
app/globals.css
··· 74 74 } 75 75 76 76 @theme inline { 77 - --font-sans: var(--font-sans); 77 + --font-heading: var(--font-heading); 78 78 --color-sidebar-ring: var(--sidebar-ring); 79 79 --color-sidebar-border: var(--sidebar-border); 80 80 --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
+12 -3
app/layout.tsx
··· 6 6 import { Footer } from "@/components/footer"; 7 7 8 8 import "./globals.css"; 9 - import { Noto_Sans } from "next/font/google"; 9 + import { Doto, Fira_Mono } from "next/font/google"; 10 + 11 + const firaMono = Fira_Mono({ 12 + subsets: ["latin"], 13 + weight: ["400", "500", "700"], 14 + variable: "--font-sans", 15 + }); 10 16 11 - const notoSans = Noto_Sans({ variable: "--font-sans" }); 17 + const doto = Doto({ 18 + subsets: ["latin"], 19 + variable: "--font-heading", 20 + }); 12 21 13 22 interface LayoutProps { 14 23 children: React.ReactNode; ··· 32 41 } = await supabase.auth.getUser(); 33 42 34 43 return ( 35 - <html lang="en" className={notoSans.variable}> 44 + <html lang="en" className={`${firaMono.variable} ${doto.variable}`}> 36 45 <body> 37 46 <SiteHeader user={user} /> 38 47 {children}