From 75571f72a106239f51d0eeb502765456cf881b78 Mon Sep 17 00:00:00 2001 From: Ola Adebayo Date: Tue, 31 Mar 2026 11:04:07 +0100 Subject: [PATCH 1/2] fix: update Open Graph image metadata and improve configuration readability --- docs/astro.config.mjs | 61 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index a739118..c5e0cf6 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -1,8 +1,14 @@ import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; +const siteUrl = 'https://rep-protocol.dev'; +const ogImagePath = '/og-image.png'; +const ogImageUrl = `${siteUrl}${ogImagePath}`; +const ogImageAlt = + 'REP social card showing Runtime Environment Protocol for secure runtime environment variables in browser apps'; + export default defineConfig({ - site: 'https://rep-protocol.dev', + site: siteUrl, integrations: [ starlight({ title: 'REP', @@ -46,7 +52,42 @@ export default defineConfig({ tag: 'meta', attrs: { property: 'og:image', - content: 'https://rep-protocol.dev/og-image.png', + content: ogImageUrl, + }, + }, + { + tag: 'meta', + attrs: { + property: 'og:image:secure_url', + content: ogImageUrl, + }, + }, + { + tag: 'meta', + attrs: { + property: 'og:image:type', + content: 'image/png', + }, + }, + { + tag: 'meta', + attrs: { + property: 'og:image:width', + content: '1200', + }, + }, + { + tag: 'meta', + attrs: { + property: 'og:image:height', + content: '630', + }, + }, + { + tag: 'meta', + attrs: { + property: 'og:image:alt', + content: ogImageAlt, }, }, { @@ -60,7 +101,21 @@ export default defineConfig({ tag: 'meta', attrs: { name: 'twitter:image', - content: 'https://rep-protocol.dev/og-image.png', + content: ogImageUrl, + }, + }, + { + tag: 'meta', + attrs: { + name: 'twitter:image:alt', + content: ogImageAlt, + }, + }, + { + tag: 'link', + attrs: { + rel: 'image_src', + href: ogImageUrl, }, }, { From 58ff864318bbec00943e1661d025606b945a38d3 Mon Sep 17 00:00:00 2001 From: Ola Adebayo Date: Tue, 31 Mar 2026 13:18:19 +0100 Subject: [PATCH 2/2] fix: remove author information from integration and security model documents --- spec/INTEGRATION-GUIDE.md | 1 - spec/SECURITY-MODEL.md | 1 - 2 files changed, 2 deletions(-) diff --git a/spec/INTEGRATION-GUIDE.md b/spec/INTEGRATION-GUIDE.md index c45c5c5..b2af324 100644 --- a/spec/INTEGRATION-GUIDE.md +++ b/spec/INTEGRATION-GUIDE.md @@ -4,7 +4,6 @@ Document: REP Integration Guide Version: 0.1.0 Status: Active -Authors: Olamide Adebayo (Ruach Tech) Created: 2026-02-18 ``` diff --git a/spec/SECURITY-MODEL.md b/spec/SECURITY-MODEL.md index f2de12c..b450f2d 100644 --- a/spec/SECURITY-MODEL.md +++ b/spec/SECURITY-MODEL.md @@ -4,7 +4,6 @@ Document: REP Security Model Version: 0.1.0 Status: Active -Authors: Olamide Olayinka (Ruach Tech) Created: 2026-02-18 ```