mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
270920111a
|
|||
d91feb8de4
|
|||
e68cb08a6f
|
|||
09d677bd37
|
|||
db1159f20c
|
@ -32,7 +32,7 @@ The commit message guidelines adheres to [Conventional Commits](https://www.conv
|
||||
### Prerequisites
|
||||
|
||||
- [Node.js](https://nodejs.org/) >= 22.0.0
|
||||
- [pnpm](https://pnpm.io/) >= 9.14.4 [(`corepack enable`)](https://nodejs.org/docs/latest-v22.x/api/corepack.html)
|
||||
- [pnpm](https://pnpm.io/) >= 9.15.0 [(`corepack enable`)](https://nodejs.org/docs/latest-v22.x/api/corepack.html)
|
||||
- [Docker](https://www.docker.com/)
|
||||
|
||||
### Installation
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/storybook",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:22.12.0-slim AS node-pnpm
|
||||
FROM node:22.13.1-slim AS node-pnpm
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
|
@ -9,6 +9,9 @@ import {
|
||||
getTranslations,
|
||||
setRequestLocale,
|
||||
} from "next-intl/server"
|
||||
import Script from "next/script"
|
||||
|
||||
const DOMAIN = "theoludwig.fr"
|
||||
|
||||
export const generateMetadata = async ({
|
||||
params,
|
||||
@ -18,7 +21,7 @@ export const generateMetadata = async ({
|
||||
const title = t("meta.title")
|
||||
const description = `${title} - ${t("meta.description")}`
|
||||
const image = "/images/logo.webp"
|
||||
const url = new URL("https://theoludwig.fr")
|
||||
const url = new URL(`https://${DOMAIN}`)
|
||||
const locales = LOCALES.join(", ")
|
||||
|
||||
return {
|
||||
@ -74,6 +77,12 @@ const LocaleLayout: React.FC<LocaleLayoutProps> = async (props) => {
|
||||
<NextIntlClientProvider messages={messages}>
|
||||
{children}
|
||||
</NextIntlClientProvider>
|
||||
|
||||
<Script
|
||||
defer
|
||||
data-domain={DOMAIN}
|
||||
src="https://plausible.theoludwig.fr/js/script.js"
|
||||
/>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/website",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"imports": {
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "repo",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.14.4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab",
|
||||
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c",
|
||||
"engines": {
|
||||
"node": ">=22.0.0",
|
||||
"pnpm": ">=9.14.4"
|
||||
"pnpm": ">=9.15.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "turbo run build",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/blog",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/eslint-config",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/config-tailwind",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./tailwind.config.js",
|
||||
|
@ -1,5 +1,4 @@
|
||||
import typographyPlugin from "@tailwindcss/typography"
|
||||
import { fontFamily } from "tailwindcss/defaultTheme"
|
||||
|
||||
/** @type {Omit<import('tailwindcss').Config, "content">} */
|
||||
const config = {
|
||||
@ -29,7 +28,7 @@ const config = {
|
||||
lightFlag: "0px 1px 10px rgba(0, 0, 0, 0.25)",
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ["'Montserrat'", ...fontFamily.sans],
|
||||
sans: ["Montserrat", "sans-serif"],
|
||||
},
|
||||
typography: {
|
||||
DEFAULT: {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/config-typescript",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"files": [
|
||||
"tsconfig.json"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/i18n",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/react-hooks",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/ui",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@repo/utils",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
462
pnpm-lock.yaml
generated
462
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -21,8 +21,8 @@ catalog:
|
||||
"react": "19.0.0"
|
||||
"react-dom": "19.0.0"
|
||||
"react-icons": "5.4.0"
|
||||
"@types/react": "19.0.0"
|
||||
"@types/react-dom": "19.0.0"
|
||||
"@types/react": "19.0.1"
|
||||
"@types/react-dom": "19.0.1"
|
||||
|
||||
# Blog
|
||||
"@giscus/react": "3.0.0"
|
||||
|
Reference in New Issue
Block a user