Skip to content

Commit

Permalink
Merge pull request #12 from ButterCMS/review_fixes
Browse files Browse the repository at this point in the history
Review fixes
LGTM - functional testing passed checklist
  • Loading branch information
ViolanteCodes authored Jun 3, 2022
2 parents 13fa7b2 + d4ee9d3 commit 689c46e
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 28 deletions.
2 changes: 1 addition & 1 deletion components/HomepageSections/BlogSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>

<script setup>
import BlogPostTile from "../BlogPostTile.vue";
import BlogPostTile from "@/components/BlogPostTile.vue";
defineProps(["blogPosts"]);
</script>
Expand Down
2 changes: 1 addition & 1 deletion components/HomepageSections/TestimonialsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<script setup>
import { onMounted } from "vue";
import Testimonial from "../Testimonial";
import Testimonial from "@/components/Testimonial";
import {useNuxtApp} from "#app";
defineProps(["fields"]);
Expand Down
2 changes: 1 addition & 1 deletion pages/blog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {useRoute} from "vue-router";
import BlogHeader from "@/components/BlogSections/BlogHeader.vue";
import {computed, provide, ref, watch} from "vue";
import Seo from "@/components/Seo.vue";
import BlogContentContainer from "../components/BlogSections/BlogContentContainer";
import BlogContentContainer from "@/components/BlogSections/BlogContentContainer";
import {useApiError} from "@/composables/hooks";
const { setError } = useApiError();
Expand Down
2 changes: 1 addition & 1 deletion pages/blog/[post].vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</template>

<script setup>
import SingleArticle from "../../components/BlogSections/SingleArticle";
import SingleArticle from "@/components/BlogSections/SingleArticle";
import {inject, onMounted} from 'vue'
const heading = inject('heading')
Expand Down
6 changes: 3 additions & 3 deletions pages/blog/category/[category].vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup>
import BlogPostsList from "../../../components/BlogSections/BlogPostsList";
import BlogPostsList from "@/components/BlogSections/BlogPostsList";
import {inject, nextTick, onMounted, watch} from "vue";
import {getBlogCategory} from "../../../utils/service";
import {useApiError} from "../../../composables/hooks";
import {getBlogCategory} from "@/utils/service";
import {useApiError} from "@/composables/hooks";
const props = defineProps(['params'])
const route = useRoute()
Expand Down
2 changes: 1 addition & 1 deletion pages/blog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script setup>
import BlogPostsList from "../../components/BlogSections/BlogPostsList";
import BlogPostsList from "@/components/BlogSections/BlogPostsList";
import {onMounted} from "vue";
const heading = inject('heading')
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
</template>

<script setup>
import {butterCMS} from "../../plugins/ButterCMS";
import BlogPostsList from "../../components/BlogSections/BlogPostsList";
import {butterCMS} from "@/plugins/ButterCMS";
import BlogPostsList from "@/components/BlogSections/BlogPostsList";
import {inject} from "vue";
const route = useRoute()
Expand Down
6 changes: 3 additions & 3 deletions pages/blog/tag/[tag].vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<script setup>
import BlogPostsList from "../../../components/BlogSections/BlogPostsList";
import BlogPostsList from "@/components/BlogSections/BlogPostsList";
import {inject, onMounted} from "vue";
import {useApiError} from "../../../composables/hooks";
import {getBlogTag} from "../../../utils/service";
import {useApiError} from "@/composables/hooks";
import {getBlogTag} from "@/utils/service";
const {$butterCMS} = useNuxtApp()
const route = useRoute()
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script setup>
import HomeView from "../views/HomeView";
import HomeView from "@/views/HomeView";
</script>

<style scoped>
Expand Down
14 changes: 0 additions & 14 deletions pages/test.vue

This file was deleted.

1 comment on commit 689c46e

@vercel
Copy link

@vercel vercel bot commented on 689c46e Jun 3, 2022

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.