diff --git a/apps/web/next-env.d.ts b/apps/web/next-env.d.ts index fd36f9494e..4f11a03dc6 100644 --- a/apps/web/next-env.d.ts +++ b/apps/web/next-env.d.ts @@ -1,6 +1,5 @@ /// /// -/// // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/apps/web/package.json b/apps/web/package.json index ce5b5e44ef..187b8815e9 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -18,8 +18,8 @@ "@openstatus/api": "workspace:*", "@openstatus/db": "workspace:*", "@openstatus/emails": "workspace:*", - "@openstatus/notification-emails": "workspace:*", "@openstatus/notification-discord": "workspace:*", + "@openstatus/notification-emails": "workspace:*", "@openstatus/notification-slack": "workspace:*", "@openstatus/plans": "workspace:*", "@openstatus/react": "workspace:*", @@ -47,6 +47,7 @@ "cmdk": "0.2.0", "contentlayer": "0.3.4", "date-fns": "2.30.0", + "geist": "^1.0.0", "lucide-react": "0.279.0", "luxon": "3.3.0", "micro": "10.0.1", diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index 9d9b003096..20651ce9e1 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -1,9 +1,8 @@ import "@/styles/globals.css"; import type { Metadata } from "next"; -import { Inter } from "next/font/google"; import LocalFont from "next/font/local"; -import { ClerkProvider } from "@clerk/nextjs"; +import { GeistMono, GeistSans } from "geist/font"; import PlausibleProvider from "next-plausible"; import { Toaster } from "@openstatus/ui"; @@ -16,8 +15,6 @@ import { import { TailwindIndicator } from "@/components/tailwind-indicator"; import Background from "./_components/background"; -const inter = Inter({ subsets: ["latin"] }); - const calSans = LocalFont({ src: "../public/fonts/CalSans-SemiBold.ttf", variable: "--font-calsans", @@ -38,12 +35,13 @@ export default function RootLayout({ }: { children: React.ReactNode; }) { - // If you want to develop locally without Clerk, Comment the provider below return ( {/* TODO: remove plausible from root layout (to avoid tracking subdomains) */} - + {children} diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index da708bd29a..9b5cf1eebf 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -1,5 +1,4 @@ import Link from "next/link"; -import { ClerkProvider } from "@clerk/nextjs"; import { ChevronRight } from "lucide-react"; import { Badge, Button } from "@openstatus/ui"; diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.ts index bea28c54b4..63b4019796 100644 --- a/apps/web/tailwind.config.ts +++ b/apps/web/tailwind.config.ts @@ -163,8 +163,9 @@ module.exports = { }, /* */ fontFamily: { - sans: ["var(--font-sans)", ...fontFamily.sans], - cal: ["var(--font-calsans)"], + sans: ["var(--font-geist-sans)", ...fontFamily.sans], + cal: ["var(--font-calsans)", ...fontFamily.sans], + mono: ["var(--font-geist-mono)", ...fontFamily.mono], }, keyframes: { "accordion-down": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 982d2a8a66..b84ca3ea25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -206,6 +206,9 @@ importers: date-fns: specifier: 2.30.0 version: 2.30.0 + geist: + specifier: ^1.0.0 + version: 1.0.0 lucide-react: specifier: 0.279.0 version: 0.279.0(react@18.2.0) @@ -2489,6 +2492,10 @@ packages: glob: 7.1.7 dev: false + /@next/font@13.5.6: + resolution: {integrity: sha512-urmUq05uCVJsBqAAJEV+xK5OTTodrSxdiG+351SOSjlWctywdBM6qX+K9pIe3K48RxjfnxlBbXjGyOJAji+pfw==} + dev: false + /@next/swc-darwin-arm64@13.5.3: resolution: {integrity: sha512-6hiYNJxJmyYvvKGrVThzo4nTcqvqUTA/JvKim7Auaj33NexDqSNwN5YrrQu+QhZJCIpv2tULSHt+lf+rUflLSw==} engines: {node: '>= 10'} @@ -7836,6 +7843,12 @@ packages: - supports-color dev: false + /geist@1.0.0: + resolution: {integrity: sha512-7hqXZqIdSiFbXjlMZ8Ag0fBAW8RzUjIXPkh160rT4m4ECMtsKdFX+06e0mK28oRCpU+lOB1C5Es8qxzvv7H2Hg==} + dependencies: + '@next/font': 13.5.6 + dev: false + /gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'}