update package and fix title error
This commit is contained in:
parent
75cad786b4
commit
9e1d3ddeba
|
|
@ -10,10 +10,10 @@ const config = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
/* If trying out the experimental appDir, comment the i18n config out
|
/* If trying out the experimental appDir, comment the i18n config out
|
||||||
* @see https://github.com/vercel/next.js/issues/41980 */
|
* @see https://github.com/vercel/next.js/issues/41980 */
|
||||||
i18n: {
|
// i18n: {
|
||||||
locales: ["fr"],
|
// locales: ["fr"],
|
||||||
defaultLocale: "fr",
|
// defaultLocale: "fr",
|
||||||
},
|
// },
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
52
package.json
52
package.json
|
|
@ -10,41 +10,41 @@
|
||||||
"start": "next start"
|
"start": "next start"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.10.5",
|
"@emotion/react": "^11.10.8",
|
||||||
"@emotion/styled": "^11.10.5",
|
"@emotion/styled": "^11.10.8",
|
||||||
"@prisma/client": "^4.8.0",
|
"@prisma/client": "^4.13.0",
|
||||||
"@react-page/editor": "^5.3.11",
|
"@react-page/editor": "^5.4.4",
|
||||||
"@react-page/plugins-image": "^5.3.11",
|
"@react-page/plugins-image": "^5.4.4",
|
||||||
"@react-page/plugins-slate": "^5.3.11",
|
"@react-page/plugins-slate": "^5.4.4",
|
||||||
"@tanstack/react-query": "^4.20.0",
|
"@tanstack/react-query": "^4.29.5",
|
||||||
"@trpc/client": "^10.8.1",
|
"@trpc/client": "^10.24.0",
|
||||||
"@trpc/next": "^10.8.1",
|
"@trpc/next": "^10.24.0",
|
||||||
"@trpc/react-query": "^10.8.1",
|
"@trpc/react-query": "^10.24.0",
|
||||||
"@trpc/server": "^10.8.1",
|
"@trpc/server": "^10.24.0",
|
||||||
"add": "^2.0.6",
|
"add": "^2.0.6",
|
||||||
"next": "13.1.2",
|
"next": "13.1.2",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"react-icons": "^4.7.1",
|
"react-icons": "^4.8.0",
|
||||||
"superjson": "1.9.1",
|
"superjson": "1.9.1",
|
||||||
"zod": "^3.20.2"
|
"zod": "^3.21.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.11.18",
|
"@types/node": "^18.16.3",
|
||||||
"@types/prettier": "^2.7.2",
|
"@types/prettier": "^2.7.2",
|
||||||
"@types/react": "^18.0.26",
|
"@types/react": "^18.2.1",
|
||||||
"@types/react-dom": "^18.0.10",
|
"@types/react-dom": "^18.2.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.47.1",
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
||||||
"@typescript-eslint/parser": "^5.47.1",
|
"@typescript-eslint/parser": "^5.59.2",
|
||||||
"autoprefixer": "^10.4.7",
|
"autoprefixer": "^10.4.14",
|
||||||
"eslint": "^8.30.0",
|
"eslint": "^8.39.0",
|
||||||
"eslint-config-next": "13.1.2",
|
"eslint-config-next": "13.1.2",
|
||||||
"postcss": "^8.4.14",
|
"postcss": "^8.4.23",
|
||||||
"prettier": "^2.8.1",
|
"prettier": "^2.8.8",
|
||||||
"prettier-plugin-tailwindcss": "^0.2.1",
|
"prettier-plugin-tailwindcss": "^0.2.8",
|
||||||
"prisma": "^4.8.0",
|
"prisma": "^4.13.0",
|
||||||
"tailwindcss": "^3.2.0",
|
"tailwindcss": "^3.3.2",
|
||||||
"typescript": "^4.9.4"
|
"typescript": "^4.9.5"
|
||||||
},
|
},
|
||||||
"ct3aMetadata": {
|
"ct3aMetadata": {
|
||||||
"initVersion": "7.3.2"
|
"initVersion": "7.3.2"
|
||||||
|
|
|
||||||
2436
pnpm-lock.yaml
2436
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -78,10 +78,11 @@ function Footer() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function Layout({ children, title }: { children: React.ReactNode, title?: string }) {
|
function Layout({ children, title }: { children: React.ReactNode, title?: string }) {
|
||||||
|
const newTitle = title ? title + " | " : "";
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Head>
|
<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" />
|
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<meta name="description" content="Site du photo club de Haute Lozère" />
|
<meta name="description" content="Site du photo club de Haute Lozère" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue