diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs
index e5f555a..38dbeba 100644
--- a/docs/astro.config.mjs
+++ b/docs/astro.config.mjs
@@ -3,4 +3,6 @@ import { defineConfig } from "astro/config";
export default defineConfig({
integrations: [react()],
+ site: "https://behoney.github.io",
+ base: process.env.NODE_ENV === "production" ? "/react-geojson-map" : "/",
});
diff --git a/docs/src/examples/DataSourceExample.tsx b/docs/src/examples/DataSourceExample.tsx
index aa6dde8..7558330 100644
--- a/docs/src/examples/DataSourceExample.tsx
+++ b/docs/src/examples/DataSourceExample.tsx
@@ -4,7 +4,7 @@ import { GeoDataSource, GeoMap } from '../../../src/lib';
const DataSourceExample: React.FC = () => {
return (
-
+
diff --git a/docs/src/examples/DefaultMapExample.tsx b/docs/src/examples/DefaultMapExample.tsx
index eaa3dd7..15ed61d 100644
--- a/docs/src/examples/DefaultMapExample.tsx
+++ b/docs/src/examples/DefaultMapExample.tsx
@@ -4,8 +4,8 @@ import { GeoDataSource, GeoMap } from '../../../src/lib';
const DefaultMapExample: React.FC = () => {
return (
-
-
+
+
);
diff --git a/docs/src/layouts/Layout.astro b/docs/src/layouts/Layout.astro
index 3ad14f7..b41a48d 100644
--- a/docs/src/layouts/Layout.astro
+++ b/docs/src/layouts/Layout.astro
@@ -11,7 +11,6 @@ const { title } = Astro.props;
-
{title}
diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro
index 8a08f0f..9a56254 100644
--- a/docs/src/pages/index.astro
+++ b/docs/src/pages/index.astro
@@ -26,14 +26,16 @@ import { GeoMap } from 'react-geojson-map';
function App() {
return (
-
+
+
+
);
}
`}
-
+
Try it live on StackBlitz