update package and fix title error

This commit is contained in:
Guillaume Dorce 2023-05-03 22:13:01 +02:00
parent 75cad786b4
commit 9e1d3ddeba
4 changed files with 1383 additions and 1116 deletions

View File

@ -10,10 +10,10 @@ const config = {
reactStrictMode: true,
/* If trying out the experimental appDir, comment the i18n config out
* @see https://github.com/vercel/next.js/issues/41980 */
i18n: {
locales: ["fr"],
defaultLocale: "fr",
},
// i18n: {
// locales: ["fr"],
// defaultLocale: "fr",
// },
images: {
remotePatterns: [
{

View File

@ -10,41 +10,41 @@
"start": "next start"
},
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@prisma/client": "^4.8.0",
"@react-page/editor": "^5.3.11",
"@react-page/plugins-image": "^5.3.11",
"@react-page/plugins-slate": "^5.3.11",
"@tanstack/react-query": "^4.20.0",
"@trpc/client": "^10.8.1",
"@trpc/next": "^10.8.1",
"@trpc/react-query": "^10.8.1",
"@trpc/server": "^10.8.1",
"@emotion/react": "^11.10.8",
"@emotion/styled": "^11.10.8",
"@prisma/client": "^4.13.0",
"@react-page/editor": "^5.4.4",
"@react-page/plugins-image": "^5.4.4",
"@react-page/plugins-slate": "^5.4.4",
"@tanstack/react-query": "^4.29.5",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"add": "^2.0.6",
"next": "13.1.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-icons": "^4.7.1",
"react-icons": "^4.8.0",
"superjson": "1.9.1",
"zod": "^3.20.2"
"zod": "^3.21.4"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@types/node": "^18.16.3",
"@types/prettier": "^2.7.2",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"autoprefixer": "^10.4.7",
"eslint": "^8.30.0",
"@types/react": "^18.2.1",
"@types/react-dom": "^18.2.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"autoprefixer": "^10.4.14",
"eslint": "^8.39.0",
"eslint-config-next": "13.1.2",
"postcss": "^8.4.14",
"prettier": "^2.8.1",
"prettier-plugin-tailwindcss": "^0.2.1",
"prisma": "^4.8.0",
"tailwindcss": "^3.2.0",
"typescript": "^4.9.4"
"postcss": "^8.4.23",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.2.8",
"prisma": "^4.13.0",
"tailwindcss": "^3.3.2",
"typescript": "^4.9.5"
},
"ct3aMetadata": {
"initVersion": "7.3.2"

File diff suppressed because it is too large Load Diff

View File

@ -78,10 +78,11 @@ function Footer() {
}
function Layout({ children, title }: { children: React.ReactNode, title?: string }) {
const newTitle = title ? title + " | " : "";
return (
<div>
<Head>
<title>{title ? title + " | " : ""} Photo Club Haute Lozère</title>
<title>{newTitle + "Photo Club Haute Lozère"}</title>
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<link rel="icon" href="/favicon.ico" />
<meta name="description" content="Site du photo club de Haute Lozère" />