From 227076afeeaf452be72e9820a97ce3c928f2674e Mon Sep 17 00:00:00 2001 From: Ramin Farhadi Date: Mon, 1 Jul 2024 13:50:35 -0400 Subject: [PATCH 1/9] debugging. --- src/main.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.tsx b/src/main.tsx index fb53ba5..cdc53a1 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -18,6 +18,7 @@ const router = createBrowserRouter([ ReactDOM.createRoot(document.getElementById('root')!).render( - + {/* */} + ) From 2b326ebea331fc847557a9be3953c6ab21ba81a3 Mon Sep 17 00:00:00 2001 From: Ramin <83763883+Ramin-Farhadi@users.noreply.github.com> Date: Tue, 2 Jul 2024 09:53:30 -0400 Subject: [PATCH 2/9] Update azure-static-web-apps-delightful-moss-0832eaa0f.yml Debug test --- .../azure-static-web-apps-delightful-moss-0832eaa0f.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml index a81be97..600b26a 100644 --- a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml +++ b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml @@ -44,7 +44,7 @@ jobs: action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/" # App source code path + app_location: "/src" # App source code path api_location: "" # Api source code path - optional output_location: "dist" # Built app content directory - optional ###### End of Repository/Build Configurations ###### From 5c466dbfa60bc122b2b6033a44082763307215a7 Mon Sep 17 00:00:00 2001 From: Ramin <83763883+Ramin-Farhadi@users.noreply.github.com> Date: Tue, 2 Jul 2024 09:55:17 -0400 Subject: [PATCH 3/9] Update azure-static-web-apps-delightful-moss-0832eaa0f.yml --- .../azure-static-web-apps-delightful-moss-0832eaa0f.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml index 600b26a..b0e8edd 100644 --- a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml +++ b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml @@ -44,7 +44,7 @@ jobs: action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/src" # App source code path + app_location: "src" # App source code path api_location: "" # Api source code path - optional output_location: "dist" # Built app content directory - optional ###### End of Repository/Build Configurations ###### From d7772d1601fc1e7c03098f0d4fbbde3dad294bde Mon Sep 17 00:00:00 2001 From: Ramin <83763883+Ramin-Farhadi@users.noreply.github.com> Date: Tue, 2 Jul 2024 10:00:09 -0400 Subject: [PATCH 4/9] Update azure-static-web-apps-delightful-moss-0832eaa0f.yml Undo change to app_location --- .../azure-static-web-apps-delightful-moss-0832eaa0f.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml index b0e8edd..a81be97 100644 --- a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml +++ b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml @@ -44,7 +44,7 @@ jobs: action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "src" # App source code path + app_location: "/" # App source code path api_location: "" # Api source code path - optional output_location: "dist" # Built app content directory - optional ###### End of Repository/Build Configurations ###### From a0d428eb08ad637f6f7347435b695cd799a70eed Mon Sep 17 00:00:00 2001 From: Ramin Farhadi Date: Tue, 2 Jul 2024 10:03:05 -0400 Subject: [PATCH 5/9] revert main.tsx --- src/main.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index cdc53a1..7d7e844 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -18,7 +18,6 @@ const router = createBrowserRouter([ ReactDOM.createRoot(document.getElementById('root')!).render( - {/* */} - + ) From 6f4caef7696e49b779f6354466ccd2d0b56aa64a Mon Sep 17 00:00:00 2001 From: Ramin Farhadi Date: Tue, 2 Jul 2024 11:05:42 -0400 Subject: [PATCH 6/9] Alt tags added to the checkboxes. --- .env.template | 2 +- src/components/MapMenu.tsx | 41 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/.env.template b/.env.template index fceb7d3..786dc76 100644 --- a/.env.template +++ b/.env.template @@ -4,4 +4,4 @@ VITE_REMOTE_HEADER_MENU_ID=23 VITE_REMOTE_FOOTER_MENU_ID=24 VITE_REMOTE_SOCIAL_LINKS_ID=26 VITE_LOCATION_API_URL=https://www.ucf.edu/wp-json/wp/v2/locations/ -VITE_BASEURL=/ +VITE_BASEURL= /map/ diff --git a/src/components/MapMenu.tsx b/src/components/MapMenu.tsx index 971b323..e9829c1 100644 --- a/src/components/MapMenu.tsx +++ b/src/components/MapMenu.tsx @@ -35,7 +35,7 @@ export default function MapMenu(props: MapMenuProps) { 'buildings': !props.visibility.locations.buildings }}) }> -   Buildings + item   Buildings
  • @@ -48,7 +48,7 @@ export default function MapMenu(props: MapMenuProps) { ...props.visibility.locations, 'housing': !props.visibility.locations.housing }}) - }> + }>item   Housing @@ -63,7 +63,7 @@ export default function MapMenu(props: MapMenuProps) { ...props.visibility.locations, 'dining': !props.visibility.locations.dining }}) - }> + }>item   Dining @@ -78,7 +78,7 @@ export default function MapMenu(props: MapMenuProps) { ...props.visibility.locations, 'retail': !props.visibility.locations.retail }}) - }> + }>item   Retail @@ -93,13 +93,13 @@ export default function MapMenu(props: MapMenuProps) { ...props.visibility.locations, 'labs': !props.visibility.locations.labs }}) - }>  + }>item  Labs
  • - + }>item   Green Spaces @@ -134,7 +134,7 @@ export default function MapMenu(props: MapMenuProps) { ...props.visibility.outdoors, 'recreation': !props.visibility.outdoors.recreation }}) - }> + }>item   Recreation @@ -149,7 +149,7 @@ export default function MapMenu(props: MapMenuProps) { ...props.visibility.outdoors, 'wellBeing': !props.visibility.outdoors.wellBeing }}) - }> + }>item   Well-Being @@ -165,7 +165,7 @@ export default function MapMenu(props: MapMenuProps) { href='#bikeRack' id="bikeRacks" onClick={() => props.setVisibility({ ...props.visibility, 'bikeRacks': !props.visibility['bikeRacks'] })} - > + > item   Bike Racks @@ -176,7 +176,7 @@ export default function MapMenu(props: MapMenuProps) { id="family" href='#family' onClick={() => props.setVisibility({ ...props.visibility, 'family': !props.visibility['family'] })} - > + >item   Family Resources @@ -187,7 +187,7 @@ export default function MapMenu(props: MapMenuProps) { id="pantry" href='#pantry' onClick={() => props.setVisibility({ ...props.visibility, 'knightsPantry': !props.visibility['knightsPantry'] })} - > + > item   Knight's Pantry @@ -198,7 +198,7 @@ export default function MapMenu(props: MapMenuProps) { id="art" href='#art' onClick={() => props.setVisibility({ ...props.visibility, 'art': !props.visibility['art'] })} - > + >item   Art @@ -208,7 +208,7 @@ export default function MapMenu(props: MapMenuProps) { id="services" href='#services' onClick={() => props.setVisibility({ ...props.visibility, 'studentServices': !props.visibility['studentServices'] })} - > + > item   Student Services @@ -222,7 +222,7 @@ export default function MapMenu(props: MapMenuProps) {
      @@ -237,7 +237,7 @@ export default function MapMenu(props: MapMenuProps) { 'parking': !props.visibility.accessibility.parking }}) } - > + > item   Parking @@ -253,7 +253,7 @@ export default function MapMenu(props: MapMenuProps) { 'buildingRamps': !props.visibility.accessibility.buildingRamps }}) } - > + >item   Building Ramps @@ -269,7 +269,7 @@ export default function MapMenu(props: MapMenuProps) { 'curbRamps': !props.visibility.accessibility.curbRamps }}) } - > + > item   Parking Ramps @@ -285,19 +285,18 @@ export default function MapMenu(props: MapMenuProps) { 'autoDoors': !props.visibility.accessibility.autoDoors }}) } - > + >item   Automatic Doors
    - props.setVisibility({ ...props.visibility, 'shuttleStops': !props.visibility['shuttleStops'] })} > - bus logo + bus stop Date: Tue, 2 Jul 2024 14:52:20 -0400 Subject: [PATCH 7/9] added the site-improve analytics script --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index ff6d757..43397b1 100644 --- a/index.html +++ b/index.html @@ -26,5 +26,6 @@ + From b18550d117349202bfb280ecd6693f5013792b42 Mon Sep 17 00:00:00 2001 From: Ramin Farhadi Date: Tue, 2 Jul 2024 16:13:35 -0400 Subject: [PATCH 8/9] siteimprove script was removed since we are going to pull it by GA4 --- index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/index.html b/index.html index 43397b1..ff6d757 100644 --- a/index.html +++ b/index.html @@ -26,6 +26,5 @@ - From b04325906bb46c1f4d876d940105231cfae33154 Mon Sep 17 00:00:00 2001 From: Ramin Farhadi Date: Tue, 2 Jul 2024 16:23:55 -0400 Subject: [PATCH 9/9] redundant space was removed. --- src/components/MapMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MapMenu.tsx b/src/components/MapMenu.tsx index e9829c1..0d632cf 100644 --- a/src/components/MapMenu.tsx +++ b/src/components/MapMenu.tsx @@ -35,7 +35,7 @@ export default function MapMenu(props: MapMenuProps) { 'buildings': !props.visibility.locations.buildings }}) }> - item   Buildings + item  Buildings