diff --git a/app/i18n/settings.ts b/app/i18n/settings.ts index 17d59700..f081fc78 100644 --- a/app/i18n/settings.ts +++ b/app/i18n/settings.ts @@ -53,7 +53,7 @@ export const languageList: Language[] = [ { key: "fr", label: "Français", - enabled: false, + enabled: true, }, { key: "de", diff --git a/components/project/project-card.tsx b/components/project/project-card.tsx index 3163e9ea..c9fe9947 100644 --- a/components/project/project-card.tsx +++ b/components/project/project-card.tsx @@ -2,7 +2,7 @@ import React from "react" import Image from "next/image" -import { useRouter } from "next/navigation" +import Link from "next/link" import { VariantProps, cva } from "class-variance-authority" import { ProjectInterface, ProjectLinkWebsite } from "@/lib/types" @@ -53,7 +53,6 @@ export default function ProjectCard({ lang, }: ProjectCardProps & { lang: LocaleTypes }) { const { t } = useTranslation(lang, "common") - const router = useRouter() const { id, image, links, name, tldr, tags, imageAlt, projectStatus } = project @@ -61,8 +60,8 @@ export default function ProjectCard({ const projectNotActive = projectStatus !== "active" return ( -
router.push(`/projects/${id}`)} + {showBanner && ( @@ -124,6 +123,6 @@ export default function ProjectCard({ )}
- + ) } diff --git a/config/site.ts b/config/site.ts index 8aef3e50..22f41f2d 100644 --- a/config/site.ts +++ b/config/site.ts @@ -19,7 +19,7 @@ export const siteConfig = { activity: "https://pse-team.notion.site/50dcf22c5191485e93406a902ae9e93b?v=453023f8227646dd949abc34a7a4a138&pvs=4", report: "https://reports.pse.dev/", - firstGoodIssue: "https://pse-gfis.vercel.app", + firstGoodIssue: "https://gfi.pse.dev/", discordAnnouncementChannel: "https://discord.com/channels/943612659163602974/969614451089227876", acceleratorProgram: diff --git a/hooks/useAppSettings.ts b/hooks/useAppSettings.ts index f01abfdd..af35c3a4 100644 --- a/hooks/useAppSettings.ts +++ b/hooks/useAppSettings.ts @@ -1,4 +1,3 @@ -import { siteConfig } from "@/config/site" import { MainNavProps } from "@/components/main-nav" import { useTranslation } from "@/app/i18n/client" import { LocaleTypes, fallbackLng, languageList } from "@/app/i18n/settings" diff --git a/lib/fonts.ts b/lib/fonts.ts index 4408b803..2d6c3c66 100644 --- a/lib/fonts.ts +++ b/lib/fonts.ts @@ -1,6 +1,5 @@ import { Space_Grotesk as FontDisplay, - JetBrains_Mono as FontMono, DM_Sans as FontSans, } from "next/font/google" @@ -8,15 +7,12 @@ export const fontSans = FontSans({ subsets: ["latin"], variable: "--font-sans", weight: ["400", "500", "700"], + display: "swap", }) export const fontDisplay = FontDisplay({ subsets: ["latin"], variable: "--font-display", weight: ["400", "500", "700"], -}) - -export const fontMono = FontMono({ - subsets: ["latin"], - variable: "--font-mono", + display: "swap", }) diff --git a/styles/globals.css b/styles/globals.css index 7aa5d193..a924f9c5 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -77,6 +77,7 @@ } html{ @apply font-sans; + text-rendering: geometricPrecision; } body { @apply font-sans bg-background text-foreground;