Skip to content

Commit

Permalink
fix(error): use fluid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Dec 4, 2019
1 parent 1f2bfab commit d29a105
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions components/error/404.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
</template>

<script>
/* global cloudinary */
import cloudinary from 'cloudinary-core';
export default {
props: {
error: {
Expand All @@ -27,9 +28,10 @@ export default {
},
},
mounted() {
// Initialize
const cl = cloudinary.Cloudinary.new({ cloud_name: '<Cloud Name>' });
// Call
const cl = cloudinary.Cloudinary.new({
cloud_name: 'pocketpasta',
secure: true,
});
cl.responsive();
},
head() {
Expand All @@ -56,12 +58,6 @@ export default {
crossorigin: 'anonymous',
},
],
script: [
{
src:
'https://cdnjs.cloudflare.com/ajax/libs/cloudinary-core/2.3.0/cloudinary-core-shrinkwrap.min.js',
},
],
};
},
};
Expand Down
2 changes: 1 addition & 1 deletion layouts/error.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="nuxt-error container">
<div class="nuxt-error container-fluid">
<component :is="errorPage" :error="error" />
</div>
</template>
Expand Down

1 comment on commit d29a105

@vercel
Copy link

@vercel vercel bot commented on d29a105 Dec 4, 2019

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.