chore: 🤖 Use rose/card/link component in projects overview page

This commit is contained in:
Susmitha Girumala committed 2020-05-29 15:31:28 -04:00
1 parent c8bca555dd
commit 6007198ad7
4 files changed
+8 -14

No files matched your search

@@ -36,5 +36,6 @@
.rose-card-link-description {
margin: 0;
color: var(--ui-gray);
}
}
@@ -2,6 +2,7 @@
<LinkTo
title={{@title}}
@route={{if @route @route "index"}}
@model={{@model}}
>
{{#if @title}}
+1 -11
View File
@@ -12,17 +12,7 @@
.project {
display: flex;
flex-direction: row;
margin-bottom: 10px;
a {
text-decoration: none;
text-transform: capitalize;
color: #000;
cursor: pointer;
padding: 20px 30px 20px 20px;
border: 1px solid #bac1cc;
margin-right: 10px;
}
padding: 10px;
}
}
}
@@ -12,9 +12,11 @@
<ul class="projects">
{{#each @model as |project|}}
<li class="project">
<LinkTo @route="orgs.org.projects.project" @model={{project}}>
{{project.name}}
</LinkTo>
<Rose::Card::Link @title={{project.name}}
@description={{project.description}}
@route="orgs.org.projects.project"
@model={{project}}
/>
</li>
{{/each}}
</ul>