Skip to content

Commit

Permalink
Merge pull request #1174 from w3bdesign/dev
Browse files Browse the repository at this point in the history
Fix Nuxt Hero image size
  • Loading branch information
w3bdesign authored Sep 28, 2023
2 parents bb5de6d + 829f6a6 commit 18d01c4
Show file tree
Hide file tree
Showing 3 changed files with 470 additions and 708 deletions.
6 changes: 3 additions & 3 deletions components/Index/IndexHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="swiper-wrapper">
<div class="swiper-slide">
<nuxt-img
class="mx-auto"
class="mx-auto w-full"
alt="Image slider slide #1"
src="/images/Hero.jpg"
/>
Expand All @@ -21,7 +21,7 @@

<div class="swiper-slide">
<nuxt-img
class="mx-auto"
class="mx-auto w-full"
alt="Image slider slide #1"
src="/images/Hero2.jpg"
/>
Expand All @@ -37,7 +37,7 @@
</div>
<div class="swiper-slide">
<nuxt-img
class="mx-auto"
class="mx-auto w-full"
alt="Image slider slide #1"
src="/images/Hero3.jpg"
/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"format": "prettier --write \"**/*.{js,ts,vue}\"",
"refresh": "rm -rf node_modules && rm package-lock.json && npm i && npm run format"
"refresh": "rm -rf node_modules && rm pnpm-lock.yaml && pnpm i && npm run format"
},
"devDependencies": {
"@nuxt/image": "1.0.0-rc.2",
Expand Down
Loading

1 comment on commit 18d01c4

@vercel
Copy link

@vercel vercel bot commented on 18d01c4 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.