Skip to content

Commit

Permalink
chore: remove /finder page and related components (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnugent committed Jun 11, 2024
1 parent 5fc955b commit 022295a
Show file tree
Hide file tree
Showing 23 changed files with 19 additions and 985 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ NEXT_PUBLIC_TYPESENSE_NODES=lj2nqsybtrcxp5kmp-1.a1.typesense.net
NEXT_PUBLIC_TYPESENSE_API_KEY=nBvjNVojLn792SX9sOLhLlpQ7BQJo5ok

# Mapbox Geocoder token
NEXT_PUBLIC_MAPBOX_API_KEY=pk.eyJ1IjoibWFwcGFuZGFzIiwiYSI6ImNsZG1wcnBhZTA5eXozb3FnZTY1bHg4bHcifQ.7LJGRLFeLUbntAt5twiDiw
NEXT_PUBLIC_MAPBOX_API_KEY=pk.eyJ1Ijoib3BlbmJldGFwcm9qZWN0IiwiYSI6ImNsdThtb2kzMDAwbmcya3Fubmk4cXI1MXEifQ.b1UScIUV2CFR1oX0MD2goQ

# Maptiler API Key
NEXT_PUBLIC_MAPTILER_API_KEY=ejjLkz58mUNz9TgNs0Ed
Expand Down
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,12 @@
"@radix-ui/react-popover": "^1.0.3",
"@radix-ui/react-portal": "^1.0.1",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-tabs": "^1.0.1",
"@radix-ui/react-toggle": "^1.0.1",
"@turf/bbox": "^6.5.0",
"@turf/line-to-polygon": "^6.5.0",
"@udecode/zustood": "^1.1.3",
"@vercel/edge": "^1.1.1",
"auth0": "^2.42.0",
"awesome-debounce-promise": "^2.1.0",
"aws-sdk": "^2.1265.0",
"axios": "^0.24.0",
"classnames": "^2.3.1",
"csvtojson": "^2.0.10",
Expand All @@ -56,7 +53,6 @@
"nprogress": "^0.2.0",
"paper": "^0.12.17",
"paperjs-offset": "^1.0.8",
"pmtiles": "^3.0.3",
"rc-slider": "^10.0.0-alpha.5",
"react": "^18.2.0",
"react-content-loader": "^6.2.0",
Expand All @@ -67,7 +63,6 @@
"react-infinite-scroll-component": "^6.1.0",
"react-map-gl": "^7.1.7",
"react-markdown": "^9.0.1",
"react-paginate": "^8.1.3",
"react-responsive": "^9.0.0-beta.6",
"react-swipeable": "^7.0.0",
"react-toastify": "^9.1.1",
Expand Down
3 changes: 3 additions & 0 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ interface HeaderProps {
showFilterBar?: boolean
}

/**
* @deprecated
*/
export default function Header (props: HeaderProps): JSX.Element {
const { isTablet, isMobile } = useResponsive()
const includeFilters = Boolean(props.showFilterBar)
Expand Down
48 changes: 0 additions & 48 deletions src/components/finder/CragHighlightPopover.tsx

This file was deleted.

46 changes: 0 additions & 46 deletions src/components/finder/CragRow.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions src/components/finder/CragTable.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions src/components/finder/MobileMainView.tsx

This file was deleted.

54 changes: 0 additions & 54 deletions src/components/finder/Pagination.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions src/components/finder/Preface.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions src/components/finder/TwoColumnLayout.tsx

This file was deleted.

3 changes: 3 additions & 0 deletions src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ function Layout ({
)
}

/**
* @deprecated
*/
export default Layout
Loading

0 comments on commit 022295a

Please sign in to comment.