From 4a20fa8b27e50d59a8180458fcaf60178bf8180c Mon Sep 17 00:00:00 2001 From: juls0730 Date: Sun, 18 Dec 2022 00:08:34 -0600 Subject: [PATCH] accesibility and performance improvements --- components/ProjectCard.vue | 6 +++--- nuxt.config.ts | 7 +++++-- pages/index.vue | 13 +++++++++---- {assets => public}/images/juls07.png | Bin 4 files changed, 17 insertions(+), 9 deletions(-) rename {assets => public}/images/juls07.png (100%) diff --git a/components/ProjectCard.vue b/components/ProjectCard.vue index a0ab8e3..7200395 100644 --- a/components/ProjectCard.vue +++ b/components/ProjectCard.vue @@ -12,10 +12,10 @@ export default { - -

{{ name }}

+

{{ name }}

diff --git a/nuxt.config.ts b/nuxt.config.ts index 7ef72d5..9b63e18 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -12,7 +12,10 @@ export default defineNuxtConfig({ // hid is used as unique identifier. Do not use `vmid` for it as it will not work { hid: 'description', name: 'description', content: 'Juls07 is a fullstack web developer' } - ] + ], + htmlAttrs: { + lang: 'en' + } }, }, @@ -37,7 +40,7 @@ export default defineNuxtConfig({ } }, - content: { + content: { highlight: { theme: { default: 'github-dark' diff --git a/pages/index.vue b/pages/index.vue index 78b80a2..84d1b32 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -6,19 +6,24 @@ class="p-6 bg-[#12121233] justify-center grid sm:grid-cols-12 gap-5 items-center sm:justify-start w-full h-full blur-background">
- juls07 profile picture

Juls07

- {{ tagLine }} + + {{ tagLine }} +

-
+

About me

diff --git a/assets/images/juls07.png b/public/images/juls07.png similarity index 100% rename from assets/images/juls07.png rename to public/images/juls07.png