diff --git a/build/App.js b/build/App.js index 2c9da4d..5c4b13f 100644 --- a/build/App.js +++ b/build/App.js @@ -8,8 +8,9 @@ import NuxtBuildIndicator from './components/nuxt-build-indicator' import '..\\src\\assets\\css\\tailwind.css' import _6f6c098b from '..\\src\\templates\\layouts\\default.vue' +import _1a3aec5f from '..\\src\\templates\\layouts\\dev.vue' -const layouts = { "_default": sanitizeComponent(_6f6c098b) } +const layouts = { "_default": sanitizeComponent(_6f6c098b),"_dev": sanitizeComponent(_1a3aec5f) } export default { render (h, props) { diff --git a/build/color-mode/color-scheme.js b/build/color-mode/color-scheme.js new file mode 100644 index 0000000..29144a5 --- /dev/null +++ b/build/color-mode/color-scheme.js @@ -0,0 +1,25 @@ +export default { + name: 'ColorScheme', + functional: true, + props: { + placeholder: String, + tag: { + type: String, + default: 'span' + } + }, + render (createElement, { parent, data, props, children }) { + const { $colorMode } = parent + + if (!$colorMode.unknown) { + return children + } + // transform props for + props = { + placeholder: props.placeholder, + placeholderTag: props.tag + } + + return createElement('client-only', { ...data, props }, children) + } +} diff --git a/build/color-mode/plugin.client.js b/build/color-mode/plugin.client.js new file mode 100644 index 0000000..abea4e8 --- /dev/null +++ b/build/color-mode/plugin.client.js @@ -0,0 +1,106 @@ +import Vue from 'vue' +import colorSchemeComponent from './color-scheme' + +Vue.component('ColorScheme', colorSchemeComponent) + +const storageKey = 'nuxt-color-mode' +const colorMode = window['__NUXT_COLOR_MODE__'] +const getForcedColorMode = route => route.matched[0] && route.matched[0].components.default.options.colorMode + +export default function (ctx, inject) { + let data = ctx.nuxtState.colorMode + // For SPA mode or fallback + if (!data) { + data = { + preference: colorMode.preference, + value: colorMode.value, + unknown: false + } + const pageColorMode = getForcedColorMode(ctx.route) + if (pageColorMode) { + data.value = pageColorMode + data.forced = true + colorMode.addClass(pageColorMode) + } + } + // Get current page component + const $colorMode = new Vue({ + data, + watch: { + preference (preference) { + if (this.forced) { + return + } + if (preference === 'system') { + this.value = colorMode.getColorScheme() + this._watchMedia() + } else { + this.value = preference + } + + this._storePreference(preference) + }, + value (newValue, oldValue) { + colorMode.removeClass(oldValue) + colorMode.addClass(newValue) + } + }, + created () { + if (this.preference === 'system') { + this._watchMedia() + } + if (window.localStorage) { + this._watchStorageChange() + } + }, + methods: { + _watchMedia () { + if (this._darkWatcher || !window.matchMedia) { + return + } + + this._darkWatcher = window.matchMedia('(prefers-color-scheme: dark)') + this._darkWatcher.addListener((e) => { + if (!this.forced && this.preference === 'system') { + this.value = colorMode.getColorScheme() + } + }) + }, + _watchStorageChange () { + window.addEventListener('storage', (e) => { + if (e.key === storageKey) { + this.preference = e.newValue + } + }) + }, + _storePreference (preference) { + // Local storage to sync with other tabs + window.localStorage.setItem(storageKey, preference) + } + } + }) + + window.onNuxtReady(() => { + if ($colorMode.unknown) { + $colorMode.preference = colorMode.preference + $colorMode.value = colorMode.value + $colorMode.unknown = false + } + ctx.app.router.beforeEach((route, from, next) => { + const forcedColorMode = getForcedColorMode(route) + + if (forcedColorMode && forcedColorMode !== 'system') { + $colorMode.value = forcedColorMode + $colorMode.forced = true + } else { + if (forcedColorMode === 'system') { + console.warn('You cannot force the colorMode to system at the page level.') + } + $colorMode.forced = false + $colorMode.value = $colorMode.preference === 'system' ? colorMode.getColorScheme() : $colorMode.preference + } + next() + }) + }) + inject('colorMode', $colorMode) +} diff --git a/build/color-mode/plugin.server.js b/build/color-mode/plugin.server.js new file mode 100644 index 0000000..1bd1caf --- /dev/null +++ b/build/color-mode/plugin.server.js @@ -0,0 +1,34 @@ +import Vue from 'vue' +import colorSchemeComponent from './color-scheme' + +Vue.component('ColorScheme', colorSchemeComponent) + +export default function (ctx, inject) { + const preference = 'system' + + const colorMode = { + preference, + value: preference, + unknown: true, + forced: false + } + + if (ctx.route.matched[0]) { + const pageColorMode = ctx.route.matched[0].components.default.options.colorMode + if (pageColorMode && pageColorMode !== 'system') { + colorMode.value = pageColorMode + colorMode.forced = true + + ctx.app.head.bodyAttrs = ctx.app.head.bodyAttrs || {} + ctx.app.head.bodyAttrs['data-color-mode-forced'] = pageColorMode + } else if (pageColorMode === 'system') { + console.warn('You cannot force the colorMode to system at the page level.') + } + } + + ctx.beforeNuxtRender(({ nuxtState }) => { + nuxtState.colorMode = colorMode + }) + + inject('colorMode', colorMode) +} diff --git a/build/components/index.js b/build/components/index.js index 23b46ad..3f4512c 100644 --- a/build/components/index.js +++ b/build/components/index.js @@ -1,9 +1,9 @@ export { default as Footer } from '../..\\src\\components\\Footer.vue' -export { default as GoToTop } from '../..\\src\\components\\GoToTop.vue' export { default as Header } from '../..\\src\\components\\Header.vue' -export { default as LangSwitcher } from '../..\\src\\components\\LangSwitcher.vue' +export { default as HomePost } from '../..\\src\\components\\HomePost.vue' +export { default as Post } from '../..\\src\\components\\Post.vue' export const LazyFooter = import('../..\\src\\components\\Footer.vue' /* webpackChunkName: "components_Footer" */).then(c => c.default || c) -export const LazyGoToTop = import('../..\\src\\components\\GoToTop.vue' /* webpackChunkName: "components_GoToTop" */).then(c => c.default || c) export const LazyHeader = import('../..\\src\\components\\Header.vue' /* webpackChunkName: "components_Header" */).then(c => c.default || c) -export const LazyLangSwitcher = import('../..\\src\\components\\LangSwitcher.vue' /* webpackChunkName: "components_LangSwitcher" */).then(c => c.default || c) +export const LazyHomePost = import('../..\\src\\components\\HomePost.vue' /* webpackChunkName: "components_HomePost" */).then(c => c.default || c) +export const LazyPost = import('../..\\src\\components\\Post.vue' /* webpackChunkName: "components_Post" */).then(c => c.default || c) diff --git a/build/index.js b/build/index.js index 8a36513..4f2ed2a 100644 --- a/build/index.js +++ b/build/index.js @@ -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: 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 () { diff --git a/build/router.js b/build/router.js index 346c9b6..28ffec2 100644 --- a/build/router.js +++ b/build/router.js @@ -4,6 +4,8 @@ import { interopDefault } from './utils' import scrollBehavior from './router.scrollBehavior.js' const _3829e6ee = () => interopDefault(import('..\\src\\templates\\pages\\about.vue' /* webpackChunkName: "templates/pages/about" */)) +const _35b3d65e = () => interopDefault(import('..\\src\\templates\\pages\\blog.vue' /* webpackChunkName: "templates/pages/blog" */)) +const _12f401b6 = () => interopDefault(import('..\\src\\templates\\pages\\dev.vue' /* webpackChunkName: "templates/pages/dev" */)) const _57e1c1b3 = () => interopDefault(import('..\\src\\templates\\pages\\index.vue' /* webpackChunkName: "templates/pages/index" */)) // TODO: remove in Nuxt 3 @@ -26,6 +28,14 @@ export const routerOptions = { path: "/about", component: _3829e6ee, name: "about" + }, { + path: "/blog", + component: _35b3d65e, + name: "blog" + }, { + path: "/dev", + component: _12f401b6, + name: "dev" }, { path: "/", component: _57e1c1b3, diff --git a/build/routes.json b/build/routes.json index 1df24dd..d08ec41 100644 --- a/build/routes.json +++ b/build/routes.json @@ -6,6 +6,20 @@ "chunkName": "templates/pages/about", "_name": "_3829e6ee" }, + { + "name": "blog", + "path": "/blog", + "component": "C:\\\\Users\\\\arthu\\\\Documents\\\\Workspace\\\\artsite\\\\src\\\\templates\\\\pages\\\\blog.vue", + "chunkName": "templates/pages/blog", + "_name": "_35b3d65e" + }, + { + "name": "dev", + "path": "/dev", + "component": "C:\\\\Users\\\\arthu\\\\Documents\\\\Workspace\\\\artsite\\\\src\\\\templates\\\\pages\\\\dev.vue", + "chunkName": "templates/pages/dev", + "_name": "_12f401b6" + }, { "name": "index", "path": "/", diff --git a/build/vetur/tags.json b/build/vetur/tags.json index b5e449d..e0a8be3 100644 --- a/build/vetur/tags.json +++ b/build/vetur/tags.json @@ -5,22 +5,22 @@ "LazyFooter": { "description": "Auto imported from components/Footer.vue" }, - "GoToTop": { - "description": "Auto imported from components/GoToTop.vue" - }, - "LazyGoToTop": { - "description": "Auto imported from components/GoToTop.vue" - }, "Header": { "description": "Auto imported from components/Header.vue" }, "LazyHeader": { "description": "Auto imported from components/Header.vue" }, - "LangSwitcher": { - "description": "Auto imported from components/LangSwitcher.vue" + "HomePost": { + "description": "Auto imported from components/HomePost.vue" }, - "LazyLangSwitcher": { - "description": "Auto imported from components/LangSwitcher.vue" + "LazyHomePost": { + "description": "Auto imported from components/HomePost.vue" + }, + "Post": { + "description": "Auto imported from components/Post.vue" + }, + "LazyPost": { + "description": "Auto imported from components/Post.vue" } } diff --git a/config/ColorMode.ts b/config/ColorMode.ts new file mode 100644 index 0000000..ab9524d --- /dev/null +++ b/config/ColorMode.ts @@ -0,0 +1,6 @@ +export default { + preference: 'system', + fallback: 'dark', + classPrefix: '', + classSuffix: '-mode', +} diff --git a/config/index.ts b/config/index.ts index daaf3e1..3d98f53 100644 --- a/config/index.ts +++ b/config/index.ts @@ -1,4 +1,5 @@ import Axios from './Axios' import Head from './Head' +import ColorMode from './ColorMode' -export { Axios, Head } +export { Axios, Head, ColorMode } diff --git a/nuxt.config.js b/nuxt.config.js index 2ecb73e..0d3a1da 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,4 +1,4 @@ -import { Axios, Head } from './config' +import { Axios, Head, ColorMode } from './config' export default { head: Head, @@ -19,16 +19,15 @@ export default { buildModules: [ '@nuxt/typescript-build', '@nuxtjs/tailwindcss', + ['@nuxtjs/color-mode', ColorMode], ], modules: [ - ['@nuxtjs/axios', Axios], + ['@nuxtjs/axios', Axios] ], buildDir: 'build', - srcDir: 'src', - dir: { assets: 'assets', layouts: 'templates/layouts', diff --git a/package.json b/package.json index 21f3165..96ca3ba 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,8 @@ "devDependencies": { "@nuxt/types": "^2.14.6", "@nuxt/typescript-build": "^2.0.3", - "@nuxtjs/tailwindcss": "^3.1.0" + "@nuxtjs/color-mode": "^2.0.0", + "@nuxtjs/tailwindcss": "^3.1.0", + "tailwindcss-dark-mode": "^1.1.7" } } diff --git a/src/assets/css/style.scss b/src/assets/css/style.scss new file mode 100644 index 0000000..ad75729 --- /dev/null +++ b/src/assets/css/style.scss @@ -0,0 +1,3 @@ +img { + z-index: 0; +} diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index 1e743e5..736ffb2 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -1,5 +1,7 @@ @import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap'); -@tailwind base; -@tailwind components; -@tailwind utilities; +@import "tailwindcss/base"; +@import "tailwindcss/components"; +@import "tailwindcss/utilities"; + +@import "./style.scss"; diff --git a/src/assets/img/Logo.jpg b/src/assets/img/Logo.jpg new file mode 100644 index 0000000..d9db127 Binary files /dev/null and b/src/assets/img/Logo.jpg differ diff --git a/src/assets/img/icons/airplane.svg b/src/assets/img/icons/airplane.svg new file mode 100644 index 0000000..4e46e4a --- /dev/null +++ b/src/assets/img/icons/airplane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/arrow-up.svg b/src/assets/img/icons/arrow-up.svg new file mode 100644 index 0000000..e8a4ef7 --- /dev/null +++ b/src/assets/img/icons/arrow-up.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/src/assets/img/icons/code.svg b/src/assets/img/icons/code.svg new file mode 100644 index 0000000..ee88d85 --- /dev/null +++ b/src/assets/img/icons/code.svg @@ -0,0 +1,21 @@ + + + + + + + + + diff --git a/src/assets/img/icons/cpu.svg b/src/assets/img/icons/cpu.svg new file mode 100644 index 0000000..3527b87 --- /dev/null +++ b/src/assets/img/icons/cpu.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/img/icons/cv.svg b/src/assets/img/icons/cv.svg new file mode 100644 index 0000000..9f72402 --- /dev/null +++ b/src/assets/img/icons/cv.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/img/icons/experience.svg b/src/assets/img/icons/experience.svg new file mode 100644 index 0000000..13b4635 --- /dev/null +++ b/src/assets/img/icons/experience.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/fire.svg b/src/assets/img/icons/fire.svg new file mode 100644 index 0000000..8be78f5 --- /dev/null +++ b/src/assets/img/icons/fire.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/formation.svg b/src/assets/img/icons/formation.svg new file mode 100644 index 0000000..56fd02a --- /dev/null +++ b/src/assets/img/icons/formation.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/src/assets/img/icons/home.svg b/src/assets/img/icons/home.svg new file mode 100644 index 0000000..a0385d2 --- /dev/null +++ b/src/assets/img/icons/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/infinite.svg b/src/assets/img/icons/infinite.svg new file mode 100644 index 0000000..221de32 --- /dev/null +++ b/src/assets/img/icons/infinite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/lamp.svg b/src/assets/img/icons/lamp.svg new file mode 100644 index 0000000..fbb8143 --- /dev/null +++ b/src/assets/img/icons/lamp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/moon.svg b/src/assets/img/icons/moon.svg new file mode 100644 index 0000000..00d2fb7 --- /dev/null +++ b/src/assets/img/icons/moon.svg @@ -0,0 +1,14 @@ + + + + + + + diff --git a/src/assets/img/icons/motorbike.svg b/src/assets/img/icons/motorbike.svg new file mode 100644 index 0000000..a77495c --- /dev/null +++ b/src/assets/img/icons/motorbike.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/quill.svg b/src/assets/img/icons/quill.svg index 709e084..f1558ad 100644 --- a/src/assets/img/icons/quill.svg +++ b/src/assets/img/icons/quill.svg @@ -1 +1,25 @@ - \ No newline at end of file + + + + + + + + + + + + diff --git a/src/assets/img/icons/rocket.svg b/src/assets/img/icons/rocket.svg new file mode 100644 index 0000000..6298218 --- /dev/null +++ b/src/assets/img/icons/rocket.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/server.svg b/src/assets/img/icons/server.svg new file mode 100644 index 0000000..7fd58d4 --- /dev/null +++ b/src/assets/img/icons/server.svg @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/img/icons/software.svg b/src/assets/img/icons/software.svg new file mode 100644 index 0000000..385da9d --- /dev/null +++ b/src/assets/img/icons/software.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/sun.svg b/src/assets/img/icons/sun.svg new file mode 100644 index 0000000..e71d50c --- /dev/null +++ b/src/assets/img/icons/sun.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/img/icons/translation.svg b/src/assets/img/icons/translation.svg new file mode 100644 index 0000000..36b9d11 --- /dev/null +++ b/src/assets/img/icons/translation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/icons/tree.svg b/src/assets/img/icons/tree.svg new file mode 100644 index 0000000..79064a6 --- /dev/null +++ b/src/assets/img/icons/tree.svg @@ -0,0 +1,17 @@ + + + + + + + diff --git a/src/assets/img/icons/wrench.svg b/src/assets/img/icons/wrench.svg new file mode 100644 index 0000000..76c45b2 --- /dev/null +++ b/src/assets/img/icons/wrench.svg @@ -0,0 +1,19 @@ + + + + + + + diff --git a/src/assets/img/logo-transparent.png b/src/assets/img/logo-transparent.png new file mode 100644 index 0000000..e974343 Binary files /dev/null and b/src/assets/img/logo-transparent.png differ diff --git a/src/assets/img/me-home.jpg b/src/assets/img/me-home.jpg deleted file mode 100644 index 90fe1c5..0000000 Binary files a/src/assets/img/me-home.jpg and /dev/null differ diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 919ff2e..9d3d091 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -1,55 +1,23 @@ diff --git a/src/components/Header.vue b/src/components/Header.vue index 826cf5b..3a693b4 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -1,54 +1,124 @@ diff --git a/src/components/HomePost.vue b/src/components/HomePost.vue new file mode 100644 index 0000000..0d49468 --- /dev/null +++ b/src/components/HomePost.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/components/LangSwitcher.vue b/src/components/LangSwitcher.vue deleted file mode 100644 index f104419..0000000 --- a/src/components/LangSwitcher.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/src/components/Post.vue b/src/components/Post.vue new file mode 100644 index 0000000..36e9213 --- /dev/null +++ b/src/components/Post.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/templates/layouts/default.vue b/src/templates/layouts/default.vue index 190bd3d..15d6179 100644 --- a/src/templates/layouts/default.vue +++ b/src/templates/layouts/default.vue @@ -1,7 +1,7 @@ @@ -14,6 +14,6 @@ export default { } - diff --git a/src/templates/layouts/dev.vue b/src/templates/layouts/dev.vue new file mode 100644 index 0000000..e2683f5 --- /dev/null +++ b/src/templates/layouts/dev.vue @@ -0,0 +1,16 @@ + + + + + diff --git a/src/templates/pages/about.vue b/src/templates/pages/about.vue index ba6b34b..a157253 100644 --- a/src/templates/pages/about.vue +++ b/src/templates/pages/about.vue @@ -1,10 +1,239 @@ @@ -16,5 +245,39 @@ name: "about" diff --git a/src/templates/pages/blog.vue b/src/templates/pages/blog.vue new file mode 100644 index 0000000..94f4455 --- /dev/null +++ b/src/templates/pages/blog.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/components/GoToTop.vue b/src/templates/pages/dev.vue similarity index 58% rename from src/components/GoToTop.vue rename to src/templates/pages/dev.vue index 0394c8e..df11342 100644 --- a/src/components/GoToTop.vue +++ b/src/templates/pages/dev.vue @@ -1,10 +1,13 @@ diff --git a/src/templates/pages/index.vue b/src/templates/pages/index.vue index dade506..d5b5bb5 100644 --- a/src/templates/pages/index.vue +++ b/src/templates/pages/index.vue @@ -1,31 +1,31 @@