Skip to content

Commit

Permalink
suggested updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jendiamond committed Sep 25, 2024
1 parent fdc51c4 commit 51a9394
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
8 changes: 3 additions & 5 deletions error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const isDevelopment = computed(() => process.env.NODE_ENV === 'development')
class="actual-error"
>
Error Mesage
</h2>
</h2 v-if="isDevelopment">
<h3 class="actual-error">
<pre>{{ error?.message }}</pre>
<br>
Expand All @@ -51,10 +51,8 @@ const isDevelopment = computed(() => process.env.NODE_ENV === 'development')

<divider-way-finder />

<rich-text
class="
error-text"
>
<rich-text class="
error-text">
<h1
v-if="error?.statusCode === 404"
class="error-title"
Expand Down
12 changes: 5 additions & 7 deletions pages/blog/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// COMPONENT RE-IMPORTS
// TODO: remove when we have implemented component library as a module
// https://nuxt.com/docs/guide/directory-structure/components#library-authors
// import { BlockTag, CardMeta, DividerWayFinder, FlexibleMediaGalleryNewLightbox, NavBreadcrumb, ResponsiveImage, RichText, SectionTeaserCard, SectionWrapper } from 'ucla-library-website-components'
import { BlockTag, CardMeta, DividerWayFinder, FlexibleMediaGalleryNewLightbox, FlexibleBlocks, NavBreadcrumb, ResponsiveImage, RichText, SectionTeaserCard, SectionWrapper } from 'ucla-library-website-components'
// HELPERS
import _get from 'lodash/get'
Expand Down Expand Up @@ -144,12 +144,10 @@ const parsedArticleCategories = computed(() => {
<DividerWayFinder />
</SectionWrapper>
<SectionWrapper>
<FlexibleBlocks
class="flexible-content"
:blocks="page.blocks"
/>
</SectionWrapper>
<FlexibleBlocks
class="flexible-content"
:blocks="page.blocks"
/>
<SectionWrapper section-title="Read our most recent posts">
<h2>ftvaRecentPosts</h2>
Expand Down

0 comments on commit 51a9394

Please sign in to comment.