Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 20, 2024
1 parent 11d7ce4 commit 80033fc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
1 change: 0 additions & 1 deletion packages/vue/src/docs/utils/ComponentItem.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable prettier/prettier */
/* Custom react component for rendering TOC of components
* docs: https://storybook.js.org/docs/react/writing-docs/docs-page#custom-inline-rendering
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div v-if="data" class="-nav-offset">
<div
v-if="data"
class="-nav-offset"
>
<HeroLarge
eyebrow="Robotics at JPL"
:title="data.title"
Expand All @@ -23,7 +26,9 @@
<!-- Introduction -->
<div class="lg:BaseGrid lg:my-24 mt-18 container mx-auto mb-10">
<div class="lg:px-0 relative col-span-8 col-start-2 px-4">
<BaseHeading level="h2" class="mb-5"
<BaseHeading
level="h2"
class="mb-5"
>About {{ data.title }}
</BaseHeading>
<p class="text-body-lg">
Expand Down Expand Up @@ -84,13 +89,13 @@ export default defineComponent({
BlockRelatedLinks,
BlockLinkCarousel,
LayoutHelper,
BlockStreamfield,
BlockStreamfield
},
props: {
data: {
type: Object,
required: false,
},
},
required: false
}
}
})
</script>
24 changes: 17 additions & 7 deletions packages/vue/src/templates/www/PageTopicDetail/PageTopicDetail.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div v-if="data" class="-nav-offset">
<div
v-if="data"
class="-nav-offset"
>
<div class="lg:mb-24 mb-12">
<HeroLarge
class="relative z-10"
Expand All @@ -21,7 +24,11 @@
indent="col-3"
class="description lg:my-18 my-10"
>
<BaseHeading v-if="data.descriptionHeading" level="h2" class="mb-5">
<BaseHeading
v-if="data.descriptionHeading"
level="h2"
class="mb-5"
>
{{ data.descriptionHeading }}
</BaseHeading>
<BlockText :text="data.description" />
Expand All @@ -42,7 +49,10 @@
/>
</LayoutHelper>

<TopicDetailStreamfield :data="data.body" :topic="data.title" />
<TopicDetailStreamfield
:data="data.body"
:topic="data.title"
/>

<TopicDetailMore
v-if="
Expand Down Expand Up @@ -99,13 +109,13 @@ export default defineComponent({
BlockText,
BlockTeaser,
TopicDetailStreamfield,
BlockLinkCarousel,
BlockLinkCarousel
},
props: {
data: {
type: Object,
required: false,
},
},
required: false
}
}
})
</script>

0 comments on commit 80033fc

Please sign in to comment.