diff --git a/astro.config.mjs b/astro.config.mjs
index 62b7fa5..8648b71 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -13,7 +13,7 @@ export default defineConfig({
vite: {
plugins: [tailwindcss()],
},
- site: "https://mk8nrc8p-4321.brs.devtunnels.ms",
+ site: "https://centrodelreinodepazyjusticia.com/",
//base: '/mockup/',
integrations: [markdoc(), icon(), vue()],
diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro
index 141470d..51c3763 100644
--- a/src/components/BaseHead.astro
+++ b/src/components/BaseHead.astro
@@ -8,6 +8,8 @@ const {
image = null,
url = null,
} = Astro.props;
+
+const imageUrl = image ? new URL(image, Astro.site).toString() : null;
---
@@ -17,9 +19,29 @@ const {
+
{title}
+
+
+
+
{url && }
- {image && }
+
+
+
+
+ {imageUrl && }
+
+
+
+
+
+
+
+
+ {imageUrl && }
+ {url && }
+
\ No newline at end of file
diff --git a/src/components/ShareSticky.vue b/src/components/ShareSticky.vue
index 901be89..7903c9d 100644
--- a/src/components/ShareSticky.vue
+++ b/src/components/ShareSticky.vue
@@ -23,11 +23,6 @@
-
-
-
-
-
@@ -60,9 +55,6 @@
-
-
-
@@ -121,5 +113,4 @@ const twitterUrl = computed(() => `https://twitter.com/intent/tweet?url=${encode
const facebookUrl = computed(() => `https://www.facebook.com/sharer/sharer.php?u=${encodedUrl.value}`)
const whatsappUrl = computed(() => `https://api.whatsapp.com/send?text=${encodedUrl.value}`)
const linkedinUrl = computed(() => `https://www.linkedin.com/sharing/share-offsite/?url=${encodedUrl.value}`)
-const instagramUrl = computed(() => `https://www.instagram.com/centrodelreinodepazyjusticia`)
\ No newline at end of file
diff --git a/src/pages/[locale]/news/[id].astro b/src/pages/[locale]/news/[id].astro
index b4b2f8c..6da5629 100644
--- a/src/pages/[locale]/news/[id].astro
+++ b/src/pages/[locale]/news/[id].astro
@@ -41,8 +41,8 @@ const baseSlug = routeTranslations.news[locale] || routeTranslations.news.en;
0 ? new URL(post.data.gallery[0].image.src, Astro.site) : null}
- url={new URL(`/${locale}/${baseSlug}/${post.id}`, Astro.site)}
+ image={post.data.thumbnail}
+ url={new URL(`/${locale}/${"news"}/${post.id}`, Astro.site)}
>