delete instagram
This commit is contained in:
parent
9dc30c9299
commit
da847533fe
|
|
@ -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()],
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ const {
|
|||
image = null,
|
||||
url = null,
|
||||
} = Astro.props;
|
||||
|
||||
const imageUrl = image ? new URL(image, Astro.site).toString() : null;
|
||||
---
|
||||
|
||||
<head>
|
||||
|
|
@ -17,9 +19,29 @@ const {
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<GoogleAnalytics id="G-26KM3HWW9J" />
|
||||
|
||||
<title>{title}</title>
|
||||
<meta property="og:site_name" content={title} />
|
||||
<meta name="description" content={description} />
|
||||
|
||||
<!-- Open Graph -->
|
||||
|
||||
{url && <meta property="og:url" content={url} />}
|
||||
{image && <meta property="og:image" content={image} />}
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:description" content={description} />
|
||||
|
||||
{imageUrl && <meta property="og:image" content={imageUrl} />}
|
||||
<meta property="og:image:width" content="1200">
|
||||
<meta property="og:image:height" content="630">
|
||||
|
||||
<!-- Twitter -->
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content={title} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
{imageUrl && <meta name="twitter:image" content={imageUrl} />}
|
||||
{url && <meta name="twitter:url" content={url} />}
|
||||
|
||||
</head>
|
||||
<ClientRouter />
|
||||
|
|
@ -23,11 +23,6 @@
|
|||
<Icon icon="ph:facebook-logo-thin" class="text-2xl" />
|
||||
</a>
|
||||
</li>
|
||||
<li class="border-b pb-3">
|
||||
<a :href="instagramUrl" target="_blank">
|
||||
<Icon icon="ph:instagram-logo-thin" class="text-2xl" />
|
||||
</a>
|
||||
</li>
|
||||
<li class="border-b pb-3">
|
||||
<a :href="whatsappUrl" target="_blank">
|
||||
<Icon icon="ph:whatsapp-logo-thin" class="text-2xl" />
|
||||
|
|
@ -60,9 +55,6 @@
|
|||
<a :href="facebookUrl" target="_blank" class="text-gray-600 hover:text-blue-600 transition border-b pb-3">
|
||||
<Icon icon="ph:facebook-logo-thin" class="text-2xl" />
|
||||
</a>
|
||||
<a :href="instagramUrl" target="_blank" class="text-gray-600 hover:text-pink-600 transition border-b pb-3">
|
||||
<Icon icon="ph:instagram-logo-thin" class="text-2xl" />
|
||||
</a>
|
||||
<a :href="whatsappUrl" target="_blank" class="text-gray-600 hover:text-green-600 transition border-b pb-3">
|
||||
<Icon icon="ph:whatsapp-logo-thin" class="text-2xl" />
|
||||
</a>
|
||||
|
|
@ -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`)
|
||||
</script>
|
||||
|
|
@ -41,8 +41,8 @@ const baseSlug = routeTranslations.news[locale] || routeTranslations.news.en;
|
|||
<MainLayout
|
||||
title={post.data.title}
|
||||
description={`${post.data.title} - ${post.data.city ?? ""} ${post.data.country ?? ""}`}
|
||||
image={post.data.gallery && post.data.gallery.length > 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)}
|
||||
>
|
||||
<div class="container mx-auto md:py-16 py-8">
|
||||
<Header />
|
||||
|
|
|
|||
Loading…
Reference in New Issue