From d3d11034958f36baec19805fa4aaa28501e4dd8f Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Fri, 13 Mar 2026 13:58:21 +0100 Subject: [PATCH] =?UTF-8?q?Legg=20til=20OpenGraph=20og=20Twitter=20Card=20?= =?UTF-8?q?meta-tags=20p=C3=A5=20alle=20sider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gir fine forhåndsvisninger ved deling av lenker til forskjeller.naiv.no. Foreløpig uten og:image. Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 4 ++++ public/arv/index.html | 7 +++++++ public/bolig/index.html | 7 +++++++ public/index.html | 7 +++++++ public/lonn/index.html | 7 +++++++ public/sparing/index.html | 7 +++++++ 6 files changed, 39 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 701acc8..7ac6b9b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -29,6 +29,10 @@ Each calculator directory contains two files following the same pattern: **External dependencies** (loaded via CDN, no install needed): Chart.js 4.4.1, Google Fonts (Fraunces + DM Sans). +### OpenGraph + +All pages must include OG meta tags (`og:type`, `og:locale`, `og:site_name`, `og:title`, `og:description`, `og:url`) and `twitter:card`. No `og:image` for now. Base URL: `https://forskjeller.naiv.no/`. + ### Key Design Decisions - Color palette: Blue (#1a4a8a) = A, Red (#c0392b) = B, Purple (#4a3a8a) = gap diff --git a/public/arv/index.html b/public/arv/index.html index 0b18bf7..fe70384 100644 --- a/public/arv/index.html +++ b/public/arv/index.html @@ -4,6 +4,13 @@ Arvens forsprang — interaktiv kalkulator + + + + + + + diff --git a/public/bolig/index.html b/public/bolig/index.html index 2bd8d7f..6eb1fbd 100644 --- a/public/bolig/index.html +++ b/public/bolig/index.html @@ -4,6 +4,13 @@ Boligforskjellen vokser — interaktiv kalkulator + + + + + + + diff --git a/public/index.html b/public/index.html index eb35b5f..f20aa3e 100644 --- a/public/index.html +++ b/public/index.html @@ -4,6 +4,13 @@ Forskjeller — interaktive visualiseringer + + + + + + +