diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1 @@ + diff --git a/components/BottomNav.vue b/components/BottomNav.vue index c0ef1fd..d116d4b 100644 --- a/components/BottomNav.vue +++ b/components/BottomNav.vue @@ -32,7 +32,7 @@ diff --git a/components/HeroSection.vue b/components/HeroSection.vue index 94d512c..6bf97d9 100644 --- a/components/HeroSection.vue +++ b/components/HeroSection.vue @@ -366,7 +366,7 @@ const getSearchResultLink = (result) => { result.name )}`; case "lab_test": - return `/labtest?location=${currentLocation}&query=${encodeURIComponent( + return `/LabTests/${currentLocation}&query=${encodeURIComponent( result.name )}`; case "medicine": diff --git a/components/LabCenterList.vue b/components/LabCenterList.vue index 914ec88..25c7199 100644 --- a/components/LabCenterList.vue +++ b/components/LabCenterList.vue @@ -22,21 +22,15 @@
- - Up to {{ lab.discount }}% OFF -
- -

- {{ labStore.info }} -

@@ -95,68 +85,105 @@ @@ -165,10 +192,9 @@ const handleImageError = (event) => { max-width: 1200px; } -/* Specific truncation for h3 within this component */ h3.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } - + \ No newline at end of file diff --git a/components/ServiceGrid.vue b/components/ServiceGrid.vue index e1efef0..c6c3816 100644 --- a/components/ServiceGrid.vue +++ b/components/ServiceGrid.vue @@ -28,7 +28,7 @@ + + + + + + \ No newline at end of file diff --git a/components/WebHeaderNav.vue b/components/WebHeaderNav.vue index 89a3c17..71dbc88 100644 --- a/components/WebHeaderNav.vue +++ b/components/WebHeaderNav.vue @@ -49,7 +49,7 @@ const services = computed(() => [ }, { name: "Lab Tests", - path: `/labtest?location=${locationStore.currentLocation}`, + path: `/LabTests/${locationStore.currentLocation}`, iconClass: "fas fa-vial", }, { diff --git a/pages/labtest.vue b/pages/LabTests/[location].vue similarity index 51% rename from pages/labtest.vue rename to pages/LabTests/[location].vue index 58bb216..e505e73 100644 --- a/pages/labtest.vue +++ b/pages/LabTests/[location].vue @@ -27,40 +27,39 @@