mirror of
https://github.com/theoludwig/theoludwig.git
synced 2026-02-28 16:01:00 +01:00
chore: explicit docker.io + deps update latest
This commit is contained in:
@@ -84,7 +84,7 @@ export const BlogPostContent: React.FC<BlogPostContentProps> = async (props) =>
|
||||
},
|
||||
img: (properties) => {
|
||||
const { src = "", alt = "Blog Image" } = properties
|
||||
const source = src.replace("../../../apps/website/public/", "/")
|
||||
const source = (src as string).replace("../../../apps/website/public/", "/")
|
||||
return (
|
||||
<span className="flex flex-col items-center justify-center">
|
||||
<Image src={source} alt={alt} width={1000} height={1000} className="size-auto" />
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import type { AbstractIntlMessages } from "next-intl"
|
||||
import { hasLocale } from "next-intl"
|
||||
import { getRequestConfig } from "next-intl/server"
|
||||
import { routing } from "./routing.ts"
|
||||
@@ -12,7 +11,7 @@ export default getRequestConfig(async ({ requestLocale }) => {
|
||||
|
||||
const userMessages = (await import(`./translations/${locale}.json`)).default
|
||||
const defaultMessages = (await import(`./translations/${LOCALE_DEFAULT}.json`)).default
|
||||
const messages = deepMerge<AbstractIntlMessages>(defaultMessages, userMessages)
|
||||
const messages = deepMerge(defaultMessages, userMessages)
|
||||
|
||||
return {
|
||||
locale,
|
||||
|
||||
@@ -20,6 +20,7 @@ const typographyVariants = (options?: { variant?: TypographyVariant }): string =
|
||||
export type TypographyProps<Component extends React.ElementType = "p"> = {
|
||||
as?: Component
|
||||
} & React.ComponentPropsWithoutRef<Component> & {
|
||||
className?: string
|
||||
variant?: TypographyVariant
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user