Update business card photo

* clay/PageComponents.hs: Better fit most images
* images/business-card.png: Replace business card image
This commit is contained in:
Collin J. Doering 2019-12-15 21:21:26 -05:00
parent d9fc946d33
commit 6e3e9bf5e1
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
2 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,8 @@ businessCard = do
".photo" ? do ".photo" ? do
backgroundImage $ url "/images/business-card.png" backgroundImage $ url "/images/business-card.png"
backgroundSize cover
backgroundPosition $ placed sideCenter sideCenter
border solid (px 1) black border solid (px 1) black
sym borderRadius (px 10) sym borderRadius (px 10)
minHeight (px 215) minHeight (px 215)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 231 KiB