mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-27 02:10:36 +01:00
Fix footer + Add Posts preview + fix header + about + blog + index page
This commit is contained in:
@@ -14,6 +14,8 @@ import { setContext, getLocation, getRouteData, normalizeError } from './utils'
|
||||
|
||||
import nuxt_plugin_plugin_030ac950 from 'nuxt_plugin_plugin_030ac950' // Source: .\\components\\plugin.js (mode: 'all')
|
||||
import nuxt_plugin_axios_63fe537b from 'nuxt_plugin_axios_63fe537b' // Source: .\\axios.js (mode: 'all')
|
||||
import nuxt_plugin_pluginserver_7dcd890e from 'nuxt_plugin_pluginserver_7dcd890e' // Source: .\\color-mode\\plugin.server.js (mode: 'server')
|
||||
import nuxt_plugin_pluginclient_18141786 from 'nuxt_plugin_pluginclient_18141786' // Source: .\\color-mode\\plugin.client.js (mode: 'client')
|
||||
|
||||
// Component: <ClientOnly>
|
||||
Vue.component(ClientOnly.name, ClientOnly)
|
||||
@@ -59,7 +61,7 @@ async function createApp(ssrContext, config = {}) {
|
||||
// here we inject the router and store to all child components,
|
||||
// making them available everywhere as `this.$router` and `this.$store`.
|
||||
const app = {
|
||||
head: {"title":"artsite","meta":[{"charset":"utf-8"},{"name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"description","name":"description","content":""}],"link":[{"rel":"icon","type":"image\u002Fx-icon","href":"\u002Ffavicon.ico"}],"style":[],"script":[]},
|
||||
head: {"title":"artsite","meta":[{"charset":"utf-8"},{"name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"description","name":"description","content":""}],"link":[{"rel":"icon","type":"image\u002Fx-icon","href":"\u002Ffavicon.ico"}],"style":[],"script":[{"hid":"nuxt-color-mode-script","innerHTML":"!function (){\"use strict\";var e=window,s=document,o=s.documentElement,a=[\"dark\",\"light\"],t=window.localStorage.getItem(\"nuxt-color-mode\")||\"system\",c=\"system\"===t?l():t,i=s.body.getAttribute(\"data-color-mode-forced\");function r(e){var s=\"\"+e+\"-mode\";o.classList?o.classList.add(s):o.className+=\" \"+s}function n(s){return e.matchMedia(\"(prefers-color-scheme\"+s+\")\")}function l(){if(e.matchMedia&&\"not all\"!==n(\"\").media)for(var s of a)if(n(\":\"+s).matches)return s;return\"dark\"}i&&(c=i),r(c),e[\"__NUXT_COLOR_MODE__\"]={preference:t,value:c,getColorScheme:l,addClass:r,removeClass:function(e){var s=\"\"+e+\"-mode\";o.classList?o.classList.remove(s):o.className=o.className.replace(new RegExp(s,\"g\"),\"\")}}}();\n","pbody":true}],"__dangerouslyDisableSanitizersByTagID":{"nuxt-color-mode-script":["innerHTML"]}},
|
||||
|
||||
router,
|
||||
nuxt: {
|
||||
@@ -181,6 +183,14 @@ async function createApp(ssrContext, config = {}) {
|
||||
await nuxt_plugin_axios_63fe537b(app.context, inject)
|
||||
}
|
||||
|
||||
if (process.server && typeof nuxt_plugin_pluginserver_7dcd890e === 'function') {
|
||||
await nuxt_plugin_pluginserver_7dcd890e(app.context, inject)
|
||||
}
|
||||
|
||||
if (process.client && typeof nuxt_plugin_pluginclient_18141786 === 'function') {
|
||||
await nuxt_plugin_pluginclient_18141786(app.context, inject)
|
||||
}
|
||||
|
||||
// Lock enablePreview in context
|
||||
if (process.static && process.client) {
|
||||
app.context.enablePreview = function () {
|
||||
|
||||
Reference in New Issue
Block a user