Skip to content

Commit

Permalink
fix favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Jul 12, 2024
1 parent c19591c commit b3bba2b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
6 changes: 5 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,13 @@ pg_dump *ARGS:
pg_dump {{ ARGS }} {{ quote(DATABASE_URL) }}

# Perform cargo clean to delete all build files
clean: clean-test stop
clean: clean-test stop && clean-martin-ui
cargo clean

clean-martin-ui:
rm -rf martin-ui/dist martin-ui/node_modules
cargo clean -p static-files

# Delete test output files
[private]
clean-test:
Expand Down
2 changes: 1 addition & 1 deletion martin-ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ node_modules
dist
dist-ssr
*.local
_
#_

# Editor directories and files
.vscode/*
Expand Down
40 changes: 16 additions & 24 deletions martin-ui/index.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<meta property="og:url" content="https://maplibre.org" />
<meta property="og:title" content="Martin — vector tiles server" />
<meta property="og:description" content="Vector Tiles from Large Databases on the Fly" />
<meta property="og:image" content="%PUBLIC_URL%/martin.png" />
<link rel="icon" type="image/x-icon" href="/_/assets/favicon.ico">
<meta property="og:url" content="https://maplibre.org"/>
<meta property="og:title" content="Martin — vector tiles server"/>
<meta property="og:description"
content="Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling."/>
<meta property="og:image" content="/martin.png"/>
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="%PUBLIC_URL%/favicons/ms-icon-144x144.png">
<meta name="msapplication-TileImage" content="/_/assets/favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `yarn run build`.
-->
<title>Martin — vector tiles server</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
File renamed without changes.

0 comments on commit b3bba2b

Please sign in to comment.