diff --git a/wannameal/package-lock.json b/wannameal/package-lock.json index a2c3491..e9c9bf7 100644 --- a/wannameal/package-lock.json +++ b/wannameal/package-lock.json @@ -22,6 +22,7 @@ "jwt-decode": "^4.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-helmet": "^6.1.0", "react-i18next": "^14.1.2", "react-icons": "^5.1.0", "react-input-emoji": "^5.9.0", @@ -15582,6 +15583,25 @@ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.11.tgz", "integrity": "sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg==" }, + "node_modules/react-fast-compare": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz", + "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==" + }, + "node_modules/react-helmet": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/react-helmet/-/react-helmet-6.1.0.tgz", + "integrity": "sha512-4uMzEY9nlDlgxr61NL3XbKRy1hEkXmKNXhjbAIOVw5vcFrsdYbH2FEwcNyWvWinl103nXgzYNlns9ca+8kFiWw==", + "dependencies": { + "object-assign": "^4.1.1", + "prop-types": "^15.7.2", + "react-fast-compare": "^3.1.1", + "react-side-effect": "^2.1.0" + }, + "peerDependencies": { + "react": ">=16.3.0" + } + }, "node_modules/react-i18next": { "version": "14.1.2", "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-14.1.2.tgz", @@ -15771,6 +15791,14 @@ } } }, + "node_modules/react-side-effect": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.2.tgz", + "integrity": "sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw==", + "peerDependencies": { + "react": "^16.3.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/react-smooth": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-4.0.1.tgz", diff --git a/wannameal/package.json b/wannameal/package.json index 477c39f..fbbcc9e 100644 --- a/wannameal/package.json +++ b/wannameal/package.json @@ -17,6 +17,7 @@ "jwt-decode": "^4.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-helmet": "^6.1.0", "react-i18next": "^14.1.2", "react-icons": "^5.1.0", "react-input-emoji": "^5.9.0", diff --git a/wannameal/public/index.html b/wannameal/public/index.html index fa9ffd9..d860711 100644 --- a/wannameal/public/index.html +++ b/wannameal/public/index.html @@ -24,7 +24,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> -
+ {mealsError}
+
+ Post your first recipe and you'll find it here. +
- Post your first recipe and you'll find it here. -
-share recipes with your friends and discover new ones
-- Know the parts of the meal and what it consists of and the - components that each molecule contains. -
+{t('intro_p1')}
+{t('intro_p2')}
- Total users :98 -
+Total {who} :{totalUsers}