Skip to content

Commit

Permalink
komp-338-title (#605)
Browse files Browse the repository at this point in the history
* Endrer title på storybook og legger til meta tags

* Legger til og:image

* Removing image
  • Loading branch information
adrianflatner authored Nov 2, 2023
1 parent fd72705 commit 8709816
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
5 changes: 2 additions & 3 deletions apps/storybook/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ module.exports = {
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-a11y",
{
name: '@storybook/addon-storysource',
{
name: "@storybook/addon-storysource",
options: {
loaderOptions: {
injectStoryParameters: true,
},
},
},

],
framework: {
name: "@storybook/react-webpack5",
Expand Down
21 changes: 20 additions & 1 deletion apps/storybook/.storybook/manager-head.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="icon" type="image/png" href="/favicon.png" sizes="192x192" />
<meta name="description" content="Kartverkets Designsystem" />

<script>
document.title = "Kartverkets Designsystem";
</script>

<meta name="author" content="Kartverket" />
<meta
name="description"
content="En samling av ressurser som hjelper oss å skape intuitive, tilgjengelige og knallbra opplevelser for brukere av Kartverkets tjenester."
/>
<meta name="keywords" content="Kartverkets Designsystem" />
<meta name="news_keywords" content="Kartverkets Designsystem" />

<meta property="og:title" content="Kartverkets Designsystem" />
<meta
property="og:description"
content="En samling av ressurser som hjelper oss å skape intuitive, tilgjengelige og knallbra opplevelser for brukere av Kartverkets tjenester."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://design.kartverket.no" />
7 changes: 3 additions & 4 deletions apps/storybook/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<meta charset="utf-8" />
<title>KVIB</title>
<link rel="icon" href=".storybook/kvib_logo.svg" />
<link rel="canonical" href="https://kartverket.github.io/kvib/" />
<title>Kartverkets Designsystem</title>
<link rel="canonical" href="https://design.kartverket.no" />
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8709816

Please sign in to comment.