Skip to content

Commit

Permalink
Bug fix (#20)
Browse files Browse the repository at this point in the history
* tweaked compression

* removed nuxt image
  • Loading branch information
angusgoody authored Dec 25, 2023
1 parent 52d588b commit 8f4690d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/education/EducationRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Logo -->
<div class="">
<div class="rounded-full w-10 h-10 border relative overflow-hidden">
<NuxtImg v-if="education.icon"
<img v-if="education.icon"
class="w-full h-full object-cover"
width="100"
height="100"
Expand Down
2 changes: 1 addition & 1 deletion components/employment/EmploymentRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Logo -->
<div class="">
<div class="rounded-full w-10 h-10 border relative overflow-hidden">
<NuxtImg v-if="employment.icon"
<img v-if="employment.icon"
width="100"
height="100"
class="w-full h-full object-cover bg-white"
Expand Down
6 changes: 4 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxtjs/color-mode", "nuxt-simple-sitemap", 'nuxt-simple-robots', '@nuxt/image',],
modules: ["@nuxtjs/color-mode", "nuxt-simple-sitemap", 'nuxt-simple-robots'],
css: ["~/assets/css/main.css"],
postcss: {
plugins: {
Expand All @@ -10,7 +10,9 @@ export default defineNuxtConfig({
},
},
nitro: {
compressPublicAssets: true,
compressPublicAssets: {
brotli: true
}
},
runtimeConfig: {
public: {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"dependencies": {
"@headlessui/vue": "^1.7.16",
"@heroicons/vue": "latest",
"@nuxt/image": "^1.1.0",
"postcss-loader": "^7.3.3",
"tailwind-dracula": "^1.1.0",
"vue-spinner": "^1.0.4"
Expand Down

0 comments on commit 8f4690d

Please sign in to comment.