Skip to content

Commit

Permalink
Merge pull request #16 from protomaps/favicon
Browse files Browse the repository at this point in the history
add favicon
  • Loading branch information
bdon authored Dec 26, 2023
2 parents 8e49093 + 17b462b commit 83f1f36
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 45 deletions.
95 changes: 50 additions & 45 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,84 +1,89 @@
import { defineConfig } from 'vitepress'
import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Protomaps Docs",
head: [["link", { rel: "icon", type: "image/png", href: "/favicon.png" }]],
description: "Technical Documentation for Protomaps",
cleanUrls: true,
themeConfig: {
logo: '/logo.svg',
logo: "/logo.svg",
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Guides', link: '/' },
{ text: 'protomaps.com', link: 'https://protomaps.com' },
{ text: 'Sponsor on GitHub', link: 'https://github.com/sponsors/protomaps' }
{ text: "Guides", link: "/" },
{ text: "protomaps.com", link: "https://protomaps.com" },
{
text: "Sponsor on GitHub",
link: "https://github.com/sponsors/protomaps",
},
],
sidebar: [
{
text: 'Introduction',
text: "Introduction",
collapsed: true,
items: [
{ text: 'What is Protomaps?', link: '/' },
{ text: 'Getting Started', link: '/guide/getting-started' }
]
{ text: "What is Protomaps?", link: "/" },
{ text: "Getting Started", link: "/guide/getting-started" },
],
},
{
text: 'PMTiles',
text: "PMTiles",
collapsed: true,
items: [
{ text: 'Concepts', link: '/pmtiles/' },
{ text: 'Creating PMTiles', link: '/pmtiles/create' },
{ text: 'Cloud Storage', link: '/pmtiles/cloud-storage' },
{ text: 'pmtiles CLI', link: '/pmtiles/cli' }
]
{ text: "Concepts", link: "/pmtiles/" },
{ text: "Creating PMTiles", link: "/pmtiles/create" },
{ text: "Cloud Storage", link: "/pmtiles/cloud-storage" },
{ text: "pmtiles CLI", link: "/pmtiles/cli" },
],
},
{
text: 'PMTiles in the browser',
text: "PMTiles in the browser",
collapsed: true,
items: [
{ text: 'MapLibre GL', link: '/pmtiles/maplibre' },
{ text: 'Leaflet', link: '/pmtiles/leaflet' },
{ text: 'OpenLayers', link: '/pmtiles/openlayers' },
]
{ text: "MapLibre GL", link: "/pmtiles/maplibre" },
{ text: "Leaflet", link: "/pmtiles/leaflet" },
{ text: "OpenLayers", link: "/pmtiles/openlayers" },
],
},
{
text: 'Accelerating PMTiles',
text: "Accelerating PMTiles",
collapsed: true,
items: [
{ text: 'Overview', link: '/deploy/' },
{ text: 'Cost Calculator', link: '/deploy/cost' },
{ text: 'AWS', link: '/deploy/aws' },
{ text: 'Cloudflare', link: '/deploy/cloudflare' },
{ text: 'Server (Caddy)', link: '/deploy/server' }
]
{ text: "Overview", link: "/deploy/" },
{ text: "Cost Calculator", link: "/deploy/cost" },
{ text: "AWS", link: "/deploy/aws" },
{ text: "Cloudflare", link: "/deploy/cloudflare" },
{ text: "Server (Caddy)", link: "/deploy/server" },
],
},
{
text: 'OSM Basemaps',
text: "OSM Basemaps",
collapsed: true,
items: [
{ text: 'Downloads', link: '/basemaps/downloads' },
{ text: 'Basemap Layers', link: '/basemaps/layers' },
{ text: 'Basemap Styles', link: '/basemaps/styles' },
{ text: 'MapLibre GL', link: '/basemaps/maplibre' },
{ text: 'Leaflet', link: '/basemaps/leaflet' },
{ text: 'OpenLayers', link: '/basemaps/openlayers' }
]
}
{ text: "Downloads", link: "/basemaps/downloads" },
{ text: "Basemap Layers", link: "/basemaps/layers" },
{ text: "Basemap Styles", link: "/basemaps/styles" },
{ text: "MapLibre GL", link: "/basemaps/maplibre" },
{ text: "Leaflet", link: "/basemaps/leaflet" },
{ text: "OpenLayers", link: "/basemaps/openlayers" },
],
},
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/protomaps' },
{ icon: 'mastodon', link: 'https://mapstodon.space/@protomaps' },
{ icon: 'twitter', link: 'https://twitter.com/protomaps' },
{ icon: "github", link: "https://github.com/protomaps" },
{ icon: "mastodon", link: "https://mapstodon.space/@protomaps" },
{ icon: "twitter", link: "https://twitter.com/protomaps" },
],

search: {
provider: 'local'
provider: "local",
},

footer: {
message: 'An open source mapping system released under the BSD and ODbL licenses.',
copyright: '© 2019-present Protomaps LLC'
}
}
})
message:
"An open source mapping system released under the BSD and ODbL licenses.",
copyright: "© 2019-present Protomaps LLC",
},
},
});
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83f1f36

Please sign in to comment.