Skip to content

Commit 23c2541

Browse files
committed
feat: test adding hotosm/ui header
1 parent ea43068 commit 23c2541

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

frontend/app/main.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import '@hotosm/ui/dist/components/header/header.js';
12
import { allDefined } from '@awesome.me/webawesome/dist/webawesome.js';
23

34
import Detail from '$components/detail';
@@ -35,6 +36,13 @@ function AppContent() {
3536
const [showDetailPane, setShowDetailPane] = useState(false);
3637
return (
3738
<StacProvider>
39+
<hot-header
40+
title="OpenAerialMap"
41+
logo="https://data.humdata.org/image/2018-05-02-135324.187483Hot_logo_with_text_300x125.png"
42+
showLogin
43+
osm-oauth-client-id="9qmECyRwBNFyqNl9LszwHX1WOxKFKeBsA5ofAS1GJGY"
44+
osm-oauth-redirect-uri="https://hotosm.github.io/openaerialmap/"
45+
></hot-header>
3846
<Sidebar
3947
isDetailPaneShown={showDetailPane}
4048
setShowDetailPane={setShowDetailPane}

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
},
6464
"dependencies": {
6565
"@awesome.me/webawesome": "3.0.0-beta.1",
66-
"@hotosm/ui": "0.3.1-b1",
66+
"@hotosm/ui": "0.3.1-b4",
6767
"@tanstack/react-query": "^5.81.5",
6868
"maplibre-gl": "^5.6.1",
6969
"next-themes": "^0.4.6",

frontend/pnpm-lock.yaml

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)