Skip to content

Commit

Permalink
fix: APPS-2338 && APPS-2319 add section-summary update (#719)
Browse files Browse the repository at this point in the history
* fix: add section-summary update to collections/explore/_slug & locations/_slug

* update component library

* update policies &index & collections/explore/_slug page

* update help/_slug page

* delete extra empty line
  • Loading branch information
jendiamond authored Aug 15, 2023
1 parent 02a8016 commit 97ea472
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 32 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"sass": "^1.45.2",
"sass-loader": "^10.1.1",
"ucla-library-design-tokens": "^5.5.0",
"ucla-library-website-components": "^2.38.2",
"ucla-library-website-components": "^2.38.5",
"vue-svg-loader": "^0.16.0",
"vue-template-compiler": "^2.6.12"
}
Expand Down
1 change: 0 additions & 1 deletion pages/about/policies/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<section-wrapper theme="divider">
<divider-way-finder
class="divider"
color="about"
/>
</section-wrapper>
</div>
Expand Down
5 changes: 1 addition & 4 deletions pages/collections/explore/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,8 @@
<section-wrapper
v-if="page.richTextSimplified"
section-title="Using the Collection"
:section-summary="page.richTextSimplified"
>
<div class="section-header">
<rich-text :rich-text-content="page.richTextSimplified" />
</div>

<divider-way-finder
v-if="page.blocks.length > 0"
class="divider-way-finder"
Expand Down
2 changes: 1 addition & 1 deletion pages/help/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/>

<section-wrapper v-if="page.richText">
<RichText :rich-text-content="page.richText" />
<rich-text :rich-text-content="page.richText" />
</section-wrapper>

<div
Expand Down
25 changes: 7 additions & 18 deletions pages/visit/locations/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,13 @@
:section-titles= h2Array
/>

<section-wrapper>
<div class="section-header">
<div
v-if="
page.libcalLocationIdForHours ||
page.amenitiesIcons.length ||
parsedSpaces.length
"
class="section-title"
>
Using the Library
</div>
<div
v-if="page.howToGetHere"
class="section-summary"
v-html="page.howToGetHere"
/>
</div>
<section-wrapper
v-if="page.libcalLocationIdForHours ||
page.amenitiesIcons.length ||
parsedSpaces.length"
section-title="Using the Library"
:section-summary="page.howToGetHere"
>

<block-hours
v-if="page.libcalLocationIdForHours"
Expand Down

6 comments on commit 97ea472

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://www.library.ucla.edu as production
πŸš€ Deployed on https://64dbbbfbcb9ad61117bf8e56--uclalibrary.netlify.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://www.library.ucla.edu as production
πŸš€ Deployed on https://64dbdcd05541aa2ecd7b18f1--uclalibrary.netlify.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://www.library.ucla.edu as production
πŸš€ Deployed on https://64dc85cfa19a4840bc8ebbc3--uclalibrary.netlify.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://www.library.ucla.edu as production
πŸš€ Deployed on https://64dd2e757ede2e0b23138a67--uclalibrary.netlify.app

Please sign in to comment.