Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/Cart/AddToCartButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export default {
.then(({ data }) => {
this.loading = false
this.$apollo.queries.cart.refetch()
this.$router.push('/cart')
})
} catch (e) {
this.error = e
Expand All @@ -64,6 +63,7 @@ export default {
addProductToCart(product) {
this.loading = true
this.addProductToWooCart(product)
this.$router.push('/cart')
},
},
}
Expand Down
16 changes: 7 additions & 9 deletions components/Header/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
<div>
<header
role="banner"
class="container flex flex-col justify-center px-0 pt-6 mx-0 mx-auto mb-6"
class="container flex flex-col justify-center px-0 pt-6 mx-auto mb-6"
>
<div class="flex flex-wrap lg:px-4">
<div class="w-9/12 pr-2 my-2 overflow-hidden lg:w-3/12 md:w-10/12">
<div class="ml-4 lg:ml-0">
<NuxtLink to="/">
<img
alt="Logo"
class="h-24"
aria-label="Nettbutikk logo"
src="~/assets/Logo.svg"
/>
</NuxtLink>
<img
alt="Logo"
class="h-20 lg:h-24"
aria-label="Nettbutikk logo"
src="~/assets/Logo.svg"
/>
</div>
</div>
<MobileMenu />
Expand Down
2 changes: 1 addition & 1 deletion components/Index/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export default {
#hero {
background-image: url('~assets/Hero.jpg');
height: 24rem;
max-width: 1376px;
max-width: 1350px;
}
</style>
Loading