From 3a0b3b3c8f3d846a467a628ea2e695e71dbc1d12 Mon Sep 17 00:00:00 2001 From: Sk Date: Mon, 9 Sep 2024 18:52:37 +0600 Subject: [PATCH 1/2] add all custom streetviews --- src/components/custom-streetviews.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/components/custom-streetviews.ts b/src/components/custom-streetviews.ts index e17db7e..8ab9e8d 100644 --- a/src/components/custom-streetviews.ts +++ b/src/components/custom-streetviews.ts @@ -46,6 +46,17 @@ const customStreetViews: Record = { "40.7139134,-73.9837604&heading=138&fov=75", "the-door-soho": "40.7242914,-74.0048353", "callenlorde-harlem": "40.8092049,-73.9488999&fov=75&heading=27.56", + "utopia-resource-center-greater-new-york-inc-longwood": "40.8257204,-73.9066956&fov=75&heading=217", + "new-york-legal-assistance-group-nylag-financial-district": "40.704378,-74.0092833&fov=75&heading=245", + "the-immigrant-defense-project-idp-midtown": "40.7523927,-73.9841574&fov=34&heading=195&pano=2zib_spaRRMUC4nQuzBm9g", + "morris-heights-health-center-mhhc-fordham": "40.858515,-73.9030968&fov=75&heading=29", + "community-counseling-and-mediation-ccm-clinton-hill": "40.6825612,-73.9666928&fov=75&heading=76", + "xavier-mission-chelsea": "40.737738,-73.9955903&fov=75&heading=19", + "community-access-inc-harlem": "40.8086959,-73.9486068&fov=68.8&heading=279&pano=6-F9iLESnScNeF1zjPVXpw", + "the-door-mott-haven": "40.8191353,-73.9139016&fov=75&heading=319", + "kings-county-family-court-downtown-brooklyn": "40.7019938,-73.8050714&fov=75&heading=343&pano=Hyc69FGf9s2axmODEP0wZQ", + "urban-justice-center-ujc-financial-district-40-rector-st-9th-fl": "40.7083989,-74.0148744&fov=75&heading=17&pano=9MWNrKcXa9qCGDKfVmBeBA", + "osborne-association-brooklyn-heights": "40.693314,-73.9916768&fov=37.6&heading=25&pano=z5BOLIiqkCg0tgO-i_ZugQ", }; export default customStreetViews; From a1a68176ef68a64fd7c55ef5c736eb24e00009a0 Mon Sep 17 00:00:00 2001 From: Sk Date: Mon, 9 Sep 2024 21:43:18 +0600 Subject: [PATCH 2/2] format --- src/components/custom-streetviews.ts | 27 +++++++++++++------- src/components/location-detail-component.tsx | 8 +++--- src/components/locations-container.tsx | 9 ++++--- 3 files changed, 29 insertions(+), 15 deletions(-) diff --git a/src/components/custom-streetviews.ts b/src/components/custom-streetviews.ts index 8ab9e8d..ebe9697 100644 --- a/src/components/custom-streetviews.ts +++ b/src/components/custom-streetviews.ts @@ -46,17 +46,26 @@ const customStreetViews: Record = { "40.7139134,-73.9837604&heading=138&fov=75", "the-door-soho": "40.7242914,-74.0048353", "callenlorde-harlem": "40.8092049,-73.9488999&fov=75&heading=27.56", - "utopia-resource-center-greater-new-york-inc-longwood": "40.8257204,-73.9066956&fov=75&heading=217", - "new-york-legal-assistance-group-nylag-financial-district": "40.704378,-74.0092833&fov=75&heading=245", - "the-immigrant-defense-project-idp-midtown": "40.7523927,-73.9841574&fov=34&heading=195&pano=2zib_spaRRMUC4nQuzBm9g", - "morris-heights-health-center-mhhc-fordham": "40.858515,-73.9030968&fov=75&heading=29", - "community-counseling-and-mediation-ccm-clinton-hill": "40.6825612,-73.9666928&fov=75&heading=76", + "utopia-resource-center-greater-new-york-inc-longwood": + "40.8257204,-73.9066956&fov=75&heading=217", + "new-york-legal-assistance-group-nylag-financial-district": + "40.704378,-74.0092833&fov=75&heading=245", + "the-immigrant-defense-project-idp-midtown": + "40.7523927,-73.9841574&fov=34&heading=195&pano=2zib_spaRRMUC4nQuzBm9g", + "morris-heights-health-center-mhhc-fordham": + "40.858515,-73.9030968&fov=75&heading=29", + "community-counseling-and-mediation-ccm-clinton-hill": + "40.6825612,-73.9666928&fov=75&heading=76", "xavier-mission-chelsea": "40.737738,-73.9955903&fov=75&heading=19", - "community-access-inc-harlem": "40.8086959,-73.9486068&fov=68.8&heading=279&pano=6-F9iLESnScNeF1zjPVXpw", + "community-access-inc-harlem": + "40.8086959,-73.9486068&fov=68.8&heading=279&pano=6-F9iLESnScNeF1zjPVXpw", "the-door-mott-haven": "40.8191353,-73.9139016&fov=75&heading=319", - "kings-county-family-court-downtown-brooklyn": "40.7019938,-73.8050714&fov=75&heading=343&pano=Hyc69FGf9s2axmODEP0wZQ", - "urban-justice-center-ujc-financial-district-40-rector-st-9th-fl": "40.7083989,-74.0148744&fov=75&heading=17&pano=9MWNrKcXa9qCGDKfVmBeBA", - "osborne-association-brooklyn-heights": "40.693314,-73.9916768&fov=37.6&heading=25&pano=z5BOLIiqkCg0tgO-i_ZugQ", + "kings-county-family-court-downtown-brooklyn": + "40.7019938,-73.8050714&fov=75&heading=343&pano=Hyc69FGf9s2axmODEP0wZQ", + "urban-justice-center-ujc-financial-district-40-rector-st-9th-fl": + "40.7083989,-74.0148744&fov=75&heading=17&pano=9MWNrKcXa9qCGDKfVmBeBA", + "osborne-association-brooklyn-heights": + "40.693314,-73.9916768&fov=37.6&heading=25&pano=z5BOLIiqkCg0tgO-i_ZugQ", }; export default customStreetViews; diff --git a/src/components/location-detail-component.tsx b/src/components/location-detail-component.tsx index a43f277..9ca4f4b 100644 --- a/src/components/location-detail-component.tsx +++ b/src/components/location-detail-component.tsx @@ -342,9 +342,11 @@ export default function LocationDetailComponent({ Closed

{location.info?.map((info) => ( -

- {info} -

+

))} diff --git a/src/components/locations-container.tsx b/src/components/locations-container.tsx index 0d093d4..06cf745 100644 --- a/src/components/locations-container.tsx +++ b/src/components/locations-container.tsx @@ -217,9 +217,12 @@ export default function LocationsContainer({ Closed

{location.info ? ( -

- {location.info[0]} -

+

) : undefined}