Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaley committed Oct 20, 2023
1 parent c97158d commit d1b3200
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions web/app/components/project/tile.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@
...attributes
>
<div class="relative h-full pb-16">
{{! Want the max height to be around 150px }}
{{! TODO: max lines }}
<h3
data-test-title
class="title text-display-300 font-semibold text-color-foreground-strong"
>
{{@project.title}}
</h3>
{{! TODO: max lines }}
{{#if @project.description}}
<p
data-test-description
Expand All @@ -24,11 +21,9 @@
</p>
{{/if}}

{{! Approx 16px tall }}
<div
class="absolute bottom-0 left-0 flex w-full items-center justify-between"
>
{{! TODO: truncation }}
{{#if this.productAreas}}
<ul class="flex gap-px">
{{#each this.productAreas as |productArea|}}
Expand Down
1 change: 0 additions & 1 deletion web/app/components/project/tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default class ProjectTileComponent extends Component<ProjectTileComponent
}

protected get productAreas() {
// @ts-ignore
return this.documents?.map((doc) => doc.product).uniq();
}
}
Expand Down

0 comments on commit d1b3200

Please sign in to comment.