Skip to content

Commit

Permalink
Adding join
Browse files Browse the repository at this point in the history
remove console.log
  • Loading branch information
mdyoung3 committed Mar 16, 2024
1 parent da5d446 commit a9a52f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/node/sul-study-place/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const SulStudyPlaceCard = ({node}: { node: NodeSulStudyPlace }) => {

const imageUrl = node.sulStudyImage?.mediaImage.url || node.sulStudyBranch.suLibraryContactImg?.mediaImage.url
const imageAlt = node.sulStudyImage?.mediaImage.alt || node.sulStudyBranch.suLibraryContactImg?.mediaImage.alt|| '';

return (
<>
<div className="@container flex w-full leading-display shadow-md border-0 rounded flex-col">
Expand Down Expand Up @@ -52,7 +51,7 @@ const SulStudyPlaceCard = ({node}: { node: NodeSulStudyPlace }) => {

<div className={"card-body items-start rs-px-2 rs-py-3 "}>
<div className="leading-display text-18 pt-0 font-normal">
<h2 className="type-3 rs-mb-1">{node.sulStudyRoomDonorName ? `${node.sulStudyRoomDonorName} ${node.sulStudyType.name}` : node.sulStudyType.name}</h2>
<h2 className="type-3 rs-mb-1">{[node.sulStudyRoomDonorName, node.sulStudyType.name].filter(item => !!item).join(" ")}</h2>

<div className="leading-tight">
{node.sulStudyBranch?.suLibraryHours &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const StudyPlaceFeatures = ({branchHours, branchTitle, branchUrl, capacity, cont

<div className="card-body items-start rs-px-3 rs-pb-3 rs-pt-7 md:rs-pt-3 w-full">
<div className="leading-display text-18 pt-0 font-normal ">
<h2 id={headingId} className="type-3 rs-mb-1">{node.sulStudyRoomDonorName ? `${node.sulStudyRoomDonorName} ${node.sulStudyType.name}` : node.sulStudyType.name}</h2>
<h2 id={headingId} className="type-3 rs-mb-1">{[roomDonorName, type].filter(item => !!item).join(" ")}</h2>
<div className="leading-tight">

{branchHours &&
Expand Down

0 comments on commit a9a52f6

Please sign in to comment.