diff --git a/public/locales/en/account.json b/public/locales/en/account.json
index 95f7e2f..edbf616 100644
--- a/public/locales/en/account.json
+++ b/public/locales/en/account.json
@@ -122,11 +122,5 @@
"consentToAnonymizedCompanyData": {
"label": "Consent to be included in employer statistics",
"description": "Consent to be included in anonymized company statistics"
- },
- "analysisResults": {
- "pageTitle": "My analysis results",
- "description": "Super, you've already done your analysis. Here are your important results:",
- "descriptionEmpty": "If you've already done your analysis, your results will appear here soon.",
- "orderNewAnalysis": "Order new analyses"
}
}
diff --git a/public/locales/en/analysis-results.json b/public/locales/en/analysis-results.json
new file mode 100644
index 0000000..3d53e6b
--- /dev/null
+++ b/public/locales/en/analysis-results.json
@@ -0,0 +1,12 @@
+{
+ "pageTitle": "My analysis results",
+ "description": "All analysis results will appear here within 1-3 business days after they have been done.",
+ "descriptionEmpty": "If you've already done your analysis, your results will appear here soon.",
+ "orderNewAnalysis": "Order new analyses",
+ "waitingForResults": "Waiting for results",
+ "results": {
+ "range": {
+ "normal": "Normal range"
+ }
+ }
+}
\ No newline at end of file
diff --git a/public/locales/et/account.json b/public/locales/et/account.json
index 836c5e4..ade6520 100644
--- a/public/locales/et/account.json
+++ b/public/locales/et/account.json
@@ -145,11 +145,5 @@
"successTitle": "Tere, {{firstName}} {{lastName}}",
"successDescription": "Teie tervisekonto on aktiveeritud ja kasutamiseks valmis!",
"successButton": "Jätka"
- },
- "analysisResults": {
- "pageTitle": "Minu analüüside vastused",
- "description": "Super, oled käinud tervist kontrollimas. Siin on sinule olulised näitajad:",
- "descriptionEmpty": "Kui oled juba käinud analüüse andmas, siis varsti jõuavad siia sinu analüüside vastused.",
- "orderNewAnalysis": "Telli uued analüüsid"
}
}
diff --git a/public/locales/et/analysis-results.json b/public/locales/et/analysis-results.json
new file mode 100644
index 0000000..59cfcaa
--- /dev/null
+++ b/public/locales/et/analysis-results.json
@@ -0,0 +1,12 @@
+{
+ "pageTitle": "Minu analüüside vastused",
+ "description": "Kõikide analüüside tulemused ilmuvad 1-3 tööpäeva jooksul peale nende andmist.",
+ "descriptionEmpty": "Kui oled juba käinud analüüse andmas, siis varsti jõuavad siia sinu analüüside vastused.",
+ "orderNewAnalysis": "Telli uued analüüsid",
+ "waitingForResults": "Tulemuse ootel",
+ "results": {
+ "range": {
+ "normal": "Normaalne vahemik"
+ }
+ }
+}
\ No newline at end of file
diff --git a/styles/theme.css b/styles/theme.css
index 2b766a7..46641c3 100644
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -135,8 +135,8 @@
--animate-accordion-down: accordion-down 0.2s ease-out;
--animate-accordion-up: accordion-up 0.2s ease-out;
- --breakpoint-xs: 30rem;
- --breakpoint-sm: 48rem;
+ --breakpoint-xs: 48rem;
+ --breakpoint-sm: 64rem;
--breakpoint-md: 70rem;
--breakpoint-lg: 80rem;
--breakpoint-xl: 96rem;
diff --git a/utils/medusa-product.ts b/utils/medusa-product.ts
index a93669b..ef4384f 100644
--- a/utils/medusa-product.ts
+++ b/utils/medusa-product.ts
@@ -5,7 +5,7 @@ export const getAnalysisElementMedusaProductIds = (products: ({ metadata?: { ana
const mapped = products
.flatMap((product) => {
- const value = product?.metadata?.analysisElementMedusaProductIds;
+ const value = product?.metadata?.analysisElementMedusaProductIds?.replaceAll("'", '"');
try {
return JSON.parse(value as string);
} catch (e) {