Titlecard Component (#56)

* feat(titlecard): initial titleCard

* fix(frontend): fix aspect ratio of titlecard

* style(frontend): title card styling - transition effect

* refactor(frontend): title card props - showDetail change

Co-authored-by: sct <sctsnipe@gmail.com>
This commit is contained in:
Alex Zoitos
2020-09-08 20:47:46 -04:00
committed by GitHub
parent c702c17cee
commit 432ad76b3b
3 changed files with 113 additions and 5 deletions

View File

@@ -6,3 +6,8 @@
@apply inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 transition ease-in-out duration-150;
background-color: #cc7b19;
}
.titleCard {
@apply relative bg-cover rounded-lg;
padding-bottom: 150%;
}