From 9c181a227703fbaf4032c9b6f4039da9f2b6a0d5 Mon Sep 17 00:00:00 2001 From: Dejan Dimic Date: Sat, 27 Nov 2021 23:49:18 +0100 Subject: [PATCH] fix: missing media links --- components/global/AppHeader.vue | 171 ++++++++++++++++++++++++++++ components/global/AppNav.vue | 143 +++++++++++++++++++++++ components/global/IconLinkendin.vue | 36 ++++++ components/global/IconYoutube.vue | 16 +++ content/settings.json | 2 + nuxt.config.js | 57 ++++++---- 6 files changed, 400 insertions(+), 25 deletions(-) create mode 100644 components/global/AppHeader.vue create mode 100644 components/global/AppNav.vue create mode 100644 components/global/IconLinkendin.vue create mode 100644 components/global/IconYoutube.vue diff --git a/components/global/AppHeader.vue b/components/global/AppHeader.vue new file mode 100644 index 0000000..64d2db6 --- /dev/null +++ b/components/global/AppHeader.vue @@ -0,0 +1,171 @@ + + + diff --git a/components/global/AppNav.vue b/components/global/AppNav.vue new file mode 100644 index 0000000..6708ef8 --- /dev/null +++ b/components/global/AppNav.vue @@ -0,0 +1,143 @@ + + + diff --git a/components/global/IconLinkendin.vue b/components/global/IconLinkendin.vue new file mode 100644 index 0000000..b561cef --- /dev/null +++ b/components/global/IconLinkendin.vue @@ -0,0 +1,36 @@ + diff --git a/components/global/IconYoutube.vue b/components/global/IconYoutube.vue new file mode 100644 index 0000000..1bdd2db --- /dev/null +++ b/components/global/IconYoutube.vue @@ -0,0 +1,16 @@ + diff --git a/content/settings.json b/content/settings.json index 5306b7f..a2e80b0 100644 --- a/content/settings.json +++ b/content/settings.json @@ -7,6 +7,8 @@ }, "github": "OpenMobileAlliance", "twitter": "OMASpecWorks", + "youtube": "OMASpecWorks", + "linkedin": "open-mobile-alliance", "algolia": { "appId": "BH4D9OD16A", "apiKey": "7cae46537bbb611c92ae53c73a567064", diff --git a/nuxt.config.js b/nuxt.config.js index 9835858..d71bf42 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,42 +1,49 @@ -import theme from '@nuxt/content-theme-docs' +import theme from "@nuxt/content-theme-docs"; export default theme({ + components: [ + { path: "./components/global" }, + { + path: "~~/node_modules/@nuxt/content-theme-docs/src/components/", + level: 1, + }, + ], modules: [ - ['nuxt-youtube-subscribe-module', { - tag: 'YoutubeSubscribeButton' - }] + [ + "nuxt-youtube-subscribe-module", + { + tag: "YoutubeSubscribeButton", + }, + ], ], - target: 'static', + target: "static", docs: { - primaryColor: '#E24F55' + primaryColor: "#E24F55", }, - router: { - base: '/dmse-documentation/' + router: { + base: "/dmse-documentation/", }, build: { - publicPath: '/_nuxt/', - babel:{ - plugins: [ - ['@babel/plugin-proposal-private-methods', { loose: true }] - ] - } + publicPath: "/_nuxt/", + babel: { + plugins: [["@babel/plugin-proposal-private-methods", { loose: true }]], + }, }, - + linkedin: { - partnerId: '3701497', - disabled: false + partnerId: "3701497", + disabled: false, }, - 'youtube-subscribe': { - tag: 'YoutubeSubscribeButton' + "youtube-subscribe": { + tag: "YoutubeSubscribeButton", }, - + generate: { - fallback: true + fallback: true, }, head: { title: "my first nuxt proj - main page", - link: [{ rel: 'icon', type: 'image/png', href: './oma-logo.png' }], - } - -}) + link: [{ rel: "icon", type: "image/png", href: "./oma-logo.png" }], + }, +});