From 2cad287c09f7608ae4ce7c5bab303baba53fb9f1 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Wed, 12 Jun 2024 16:29:10 +0200 Subject: [PATCH] astro --- website_astro/src/components/Logo.astro | 12 ++++++++++++ website_astro/src/components/Map.astro | 11 ++++++----- website_astro/src/pages/_howto_use.astro | 3 +++ website_astro/src/pages/index.astro | 11 ++--------- 4 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 website_astro/src/components/Logo.astro diff --git a/website_astro/src/components/Logo.astro b/website_astro/src/components/Logo.astro new file mode 100644 index 0000000..13dfc1a --- /dev/null +++ b/website_astro/src/components/Logo.astro @@ -0,0 +1,12 @@ +--- + +--- + + +

OpenFreeMap

+
+ github + x +
diff --git a/website_astro/src/components/Map.astro b/website_astro/src/components/Map.astro index 02a38f6..d7b6853 100644 --- a/website_astro/src/components/Map.astro +++ b/website_astro/src/components/Map.astro @@ -2,9 +2,6 @@ --- -

Use the following style in a MapLibre map:

-
https://tiles.openfreemap.org/styles/liberty
-

How can I use it?

@@ -25,8 +22,12 @@ -

You use OpenFreeMap by adding it to a website or mobile app.

-

How to use in detail

+

+ Have a look at the default styles and read more about how to integrate it to your website or app + here: +

+ +

How to use OpenFreeMap

diff --git a/website_astro/src/pages/_howto_use.astro b/website_astro/src/pages/_howto_use.astro index 0a8787d..682ae3b 100644 --- a/website_astro/src/pages/_howto_use.astro +++ b/website_astro/src/pages/_howto_use.astro @@ -1,3 +1,6 @@ +

How to use OpenFreeMap in my website or app

+ +
diff --git a/website_astro/src/pages/index.astro b/website_astro/src/pages/index.astro index 36d4e2b..77c9daa 100644 --- a/website_astro/src/pages/index.astro +++ b/website_astro/src/pages/index.astro @@ -1,6 +1,7 @@ --- import Layout from '../layouts/Layout.astro' import Map from '../components/Map.astro' +import Logo from '../components/Logo.astro' import { Content as WhatIs } from '../content/index/whatis.md' import { Content as Pricing } from '../content/index/pricing.md' @@ -8,15 +9,7 @@ import { Content as Rest } from '../content/index/rest.md' --- - -

OpenFreeMap

-
- github - x -
- +